# Chronux

**Chronux** 是一款用于分析神经数据的开源软件：其核心是一个处理神经时间序列信号的 MATLAB 工具箱，同时还捆绑了一些小型辅助模块，用于锋电位分类、局部回归、音频分割以及神经科学家经常面临的其他各类数据分析任务。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup> 它最初由冷泉港实验室 Mitra 实验室牵头的一项合作研究开发而成，从 chronux.org 免费分发，附带教程、示例数据和文档。<sup>[2](https://www.chronux.org/cell-type/rnaseq)</sup><sup> • </sup><sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup>

| 关键事实 | 详情 |
|---|---|
| 性质 | 用于神经时间序列数据信号处理的开源 MATLAB 软件包（含部分通过 mex 函数集成的编译 C 代码）<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup> |
| 核心方法 | 使用多锥度谱估计方法进行时频分析，适用于 LFP/EEG 等连续过程和锋电位时刻等点过程<sup>[3](https://chronux.org/chronuxFiles/Documentation/chronux/spectral_analysis/chronux.html)</sup> |
| 起源 | 冷泉港实验室 Mitra 实验室牵头的一项合作研究；最初在美国国家精神卫生研究所的资助下开发（资助号 R01MH071744，授予 Partha P. Mitra）<sup>[2](https://www.chronux.org/cell-type/rnaseq)</sup><sup> • </sup><sup>[4](https://www.chronux.org/chronuxFiles/filesReleases/manual.pdf)</sup> |
| 运行要求 | MATLAB 及信号处理工具箱；specscope 工具还需要数据采集工具箱<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup> |
| 许可与发布 | GNU 通用公共许可证 v2；最新发布版本 2.12 v03（2018 年 10 月 25 日）<sup>[4](https://www.chronux.org/chronuxFiles/filesReleases/manual.pdf)</sup><sup> • </sup><sup>[2](https://www.chronux.org/cell-type/rnaseq)</sup> |
| 引用方式 | Chronux 网站及 Partha Mitra 与 Hemant Bokil 合著的《观察脑动力学》（牛津大学出版社，2008 年）<sup>[2](https://www.chronux.org/cell-type/rnaseq)</sup> |
| 参考论文 | Bokil 等（2010），《Chronux：一个分析神经信号的平台》<sup>[5](https://www.frontiersin.org/journals/neuroinformatics/articles/10.3389/fninf.2019.00057/full)</sup> |

## 目的与范围

神经科学家以多通道电生理记录、EEG、MEG、fMRI 和光学图像时间序列等形式采集大量时间序列数据。统计学和信号处理领域已发展出复杂的多通道时间序列方法，但缺乏一个统一、易用的平台来实施这些方法，作者认为这是挖掘大规模神经科学数据集时的瓶颈，该软件包正是为解决这一问题而创建。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup> 它借鉴了若干先前的研究项目，包括 Fee、Llinas、Mitra 与 Pesaran、Tchernichovski、Pesaran 以及 Bokil 的工作。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup>

大部分代码用 MATLAB 脚本语言编写，部分编译 C 代码通过 mex 函数集成。参考论文中描述的版本已在 Windows、Macintosh 和 Linux 下的 MATLAB R13 至 2007a 版本中测试过。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup>

## 谱分析工具箱

谱分析工具箱是 Chronux 的核心，也是其使用最广泛的组件。它使用多锥度谱估计方法计算一个或多个时间序列的谱、两个同时测量序列之间的相干性、交叉谱矩阵、谱导数，并进行用于识别周期成分的谐波分析。置信区间通过基于概率模型的渐近公式和基于刀切法的非参数带给出，软件包还包含针对谱和相干性的两组检验，以及基于二次逆理论的非平稳性检验。<sup>[4](https://www.chronux.org/chronuxFiles/filesReleases/manual.pdf)</sup>

例程按三种基本输入类型运作，以后缀标识：c 表示连续数据，pb 表示分箱点过程，pt 表示以时刻形式给出的点过程。例如，多锥度谱由 `mtspectrumc` 对连续数据计算，`mtspectrumpt` 对锋电位时刻计算，`mtspectrumpb` 对分箱计数计算；诸如 `coherencycpb` 之类的混合量则结合连续输入和分箱点过程输入。<sup>[3](https://chronux.org/chronuxFiles/Documentation/chronux/spectral_analysis/chronux.html)</sup>

谱参数通过一个名为 `params` 的 MATLAB 结构体传入，可选字段包括 `tapers`、`Fs`、`fpass`、`pad`、`err` 和 `trialave`。`tapers` 字段以数组 [NW K] 给出，其中 NW 是时间-带宽积，K 是锥度数；默认值为 [3 5]，对于给定的 NW，锥度数最多为 2NW−1，因为更高阶的锥度在频率上集中不足，可能增加宽带偏差。<sup>[3](https://chronux.org/chronuxFiles/Documentation/chronux/spectral_analysis/chronux.html)</sup>

## 小型软件包与组织结构

除谱分析外，发行版还包含用于锋电位分类、局部回归（LOCFIT 子包）、音频分割及其他任务的小型软件包，以及 specscope 和波形浏览器等实用工具，还有一个图形用户界面，其早期版本包含专为 EEG 分析设计的功能。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup><sup> • </sup><sup>[4](https://www.chronux.org/chronuxFiles/filesReleases/manual.pdf)</sup> LOCFIT 和 spikesort 子包使用为常见架构预编译的 mex 函数；在 Macintosh 上必须重新编译。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup>

安装过程包括解压归档文件，将 Chronux 目录及其所有子目录添加到 MATLAB 路径中，之后所有函数均可从命令行使用。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)</sup>

## 在神经分析工具箱中的位置

Chronux 属于电生理数据开源工具箱家族，该家族还包括 Brainstorm、Elephant、FieldTrip、Spike Viewer 和 SPIKY。与 Brainstorm、FieldTrip、gramm 以及 MATLAB 版 SPIKY 一样，它需要安装 MATLAB 并将工具箱添加到路径中。<sup>[5](https://www.frontiersin.org/journals/neuroinformatics/articles/10.3389/fninf.2019.00057/full)</sup> 在一项针对锋电位和局部场电位工具箱的比较综述中，Brainstorm、Chronux 和 FieldTrip 在一个简单的 MATLAB 示例上表现出相似的处理时间和趋势去除精度，Chronux 因提供内置的两组检验而受到关注，该检验用于比较两种条件下的相干性值，而 Elephant 缺少这一功能。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6682703/)</sup><sup> • </sup><sup>[5](https://www.frontiersin.org/journals/neuroinformatics/articles/10.3389/fninf.2019.00057/full)</sup>

## 发布与引用惯例

Chronux 网站列出 2.12 v03 版为最新发布版本（2018 年 10 月 25 日），此前有 2.11 版（2014 年 12 月 17 日）和 2.10 版，后者也在 GitHub 上作为神经数据分析的开源仓库镜像。<sup>[2](https://www.chronux.org/cell-type/rnaseq)</sup><sup> • </sup><sup>[8](https://github.com/jsiegle/chronux)</sup> 手册报告称，截至撰写时该软件包已被下载超过 10,000 次，并欢迎在 GPL v2 许可证下贡献代码、报告错误和参与讨论。<sup>[4](https://www.chronux.org/chronuxFiles/filesReleases/manual.pdf)</sup> 用户被要求引用 Chronux 网站和《观察脑动力学》一书（Partha Mitra 与 Hemant Bokil，牛津大学出版社，纽约，2008 年），该软件包的大部分方法论都基于此书。<sup>[2](https://www.chronux.org/cell-type/rnaseq)</sup>

## References

1. [Bokil, H., Mehta, S., and Mitra, P. (2010). Chronux: A Platform for Analyzing Neural Signals. PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC2934871/)
2. [Chronux Home: downloads, citing Chronux, and project description. chronux.org.](https://www.chronux.org/cell-type/rnaseq)
3. [Description of chronux (chronux.m documentation). chronux.org.](https://chronux.org/chronuxFiles/Documentation/chronux/spectral_analysis/chronux.html)
4. [The Chronux Manual (Peter Andrews, Hemant Bokil, Samar Mehta, Partha Mitra, et al.). chronux.org.](https://www.chronux.org/chronuxFiles/filesReleases/manual.pdf)
5. [Comparing Open-Source Toolboxes for Processing and Analysis of Spike and Local Field Potentials Data. Frontiers in Neuroinformatics (2019).](https://www.frontiersin.org/journals/neuroinformatics/articles/10.3389/fninf.2019.00057/full)
6. [Comparing Open-Source Toolboxes for Processing and Analysis of Spike and Local Field Potentials Data. PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC6682703/)
7. [EEGLAB and FieldTrip. EEGLAB Wiki.](https://eeglab.org/others/EEGLAB_and_FieldTrip.html)
8. [jsiegle/chronux: Open-source software for neural data analysis (v2.10). GitHub.](https://github.com/jsiegle/chronux)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 21, 2026 · Edited: Oct 15, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

Topic: 物质世界与数学 › 物理学 › 物理学方法、实践与学术共同体 › Applied and interdisciplinary physics › Biophysics and cross-disciplinary physics › Neurophysics › Neural signal processing and analysis methods

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/chronux

English original: https://www.edgepedia.org/chronux
