You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Disclaimer:** The project mostly consists of development code, although some modules and functions are already working. Bugs and performance problems are to be expected, so use at your own risk. More tests and improvements will be added in the future. Comments and suggestions are welcome.
14
+
> **Disclaimer:** The project mostly consists of development code, although some modules
15
+
and functions are already working. Bugs and performance problems are to be expected, so
16
+
use at your own risk. More tests and improvements will be added in the future. Comments
17
+
and suggestions are welcome.
15
18
16
19
## Documentation
17
20
18
21
Automatic documentation is [available online](https://nbara.github.io/python-meegkit/).
19
22
20
-
This code can also be tested directly from your browser using [Binder](https://mybinder.org), by clicking on the binder badge above.
23
+
This code can also be tested directly from your browser using
24
+
[Binder](https://mybinder.org), by clicking on the binder badge above.
21
25
22
26
## Installation
23
27
@@ -27,18 +31,21 @@ This package can be installed easily using `pip`:
27
31
pip install meegkit
28
32
```
29
33
30
-
Or you can clone this repository and run the following commands inside the `python-meegkit` directory:
34
+
Or you can clone this repository and run the following commands inside the
35
+
`python-meegkit` directory:
31
36
32
37
```bash
33
38
pip install -r requirements.txt
34
39
pip install .
35
40
```
36
41
37
-
*Note* : Use developer mode with the `-e` flag (`pip install -e .`) to be able to modify the sources even after install.
42
+
*Note* : Use developer mode with the `-e` flag (`pip install -e .`) to be able to modify
43
+
the sources even after install.
38
44
39
45
### Advanced installation instructions
40
46
41
-
Some ASR variants require additional dependencies such as `pymanopt`. To install meegkit with these optional packages, use:
47
+
Some ASR variants require additional dependencies such as `pymanopt`. To install meegkit
48
+
with these optional packages, use:
42
49
43
50
```bash
44
51
pip install -e '.[extra]'
@@ -50,90 +57,95 @@ or:
50
57
pip install meegkit[extra]
51
58
```
52
59
53
-
Other available options are `[docs]` (which installs dependencies required to build the documentation), or `[tests]` (which install dependencies to run unit tests).
60
+
Other available options are `[docs]` (which installs dependencies required to build the
61
+
documentation), or `[tests]` (which install dependencies to run unit tests).
54
62
55
63
## References
56
64
57
-
### 1. CCA, STAR, SNS, DSS, ZapLine, and Robust Detrending
65
+
If you use this code, you should cite the relevant methods from the original articles.
58
66
59
-
This is mostly a translation of Matlab code from the [NoiseTools toolbox](http://audition.ens.fr/adc/NoiseTools/) by Alain de Cheveigné. It builds on an initial python implementation by [Pedro Alcocer](https://github.com/pealco).
67
+
### 1. CCA, STAR, SNS, DSS, ZapLine, and Robust Detrending
60
68
61
-
Only CCA, SNS, DSS, STAR, ZapLine and robust detrending have been properly tested so far. TSCPA may give inaccurate results due to insufficient testing (contributions welcome!)
69
+
This is mostly a translation of Matlab code from the
70
+
[NoiseTools toolbox](http://audition.ens.fr/adc/NoiseTools/) by Alain de Cheveigné.
[10] de Cheveigné, A., & Simon, J. Z. (2007). Denoising based ontime-shift PCA.
85
-
Journal of Neuroscience Methods, 165(2), 297–305. https://doi.org/10.1016/j.jneumeth.2007.06.003
99
+
Journal of Neuroscience Methods, 165(2), 297–305.
100
+
https://doi.org/10.1016/j.jneumeth.2007.06.003
86
101
```
87
102
88
103
### 2. Artifact Subspace Reconstruction (ASR)
89
104
90
-
The base code is inspired from the original [EEGLAB inplementation](https://github.com/sccn/clean_rawdata)[1], while the riemannian variant [2] was adapted from the [rASR toolbox](https://github.com/s4rify/rASRMatlab) by Sarah Blum.
91
-
92
-
If you use this code, you should cite the relevant methods from the original articles:
105
+
The base code is inspired from the original
106
+
[EEGLAB inplementation](https://github.com/sccn/clean_rawdata)[1], while the Riemannian
107
+
variant [2] was adapted from the [rASR toolbox](https://github.com/s4rify/rASRMatlab) by
108
+
Sarah Blum.
93
109
94
110
```sql
95
-
[1] Mullen, T. R., Kothe, C. A. E., Chi, Y. M., Ojeda, A., Kerth, T., Makeig, S., et al. (2015).
96
-
Real-time neuroimaging and cognitive monitoring using wearable dry EEG. IEEE Trans. Bio-Med.
The code is based on [Matlab code from Mike X. Cohen](https://mikexcohen.com/data/)[1]
106
123
107
-
If you use this, you should cite the following article:
108
-
109
124
```sql
110
-
[1] Cohen, M. X., & Gulbinaite, R. (2017). Rhythmic entrainment source separation: Optimizing analyses
111
-
of neural responses to rhythmic sensory stimulation. Neuroimage, 147, 43-56.
125
+
[1] Cohen, M. X., & Gulbinaite, R. (2017). Rhythmic entrainment source separation:
126
+
Optimizing analyses of neural responses to rhythmic sensory stimulation. Neuroimage,
127
+
147, 43-56.
112
128
```
113
129
114
130
### 4. Task-Related Component Analysis (TRCA)
115
131
116
-
This code is based on the [Matlab implementation from Masaki Nakanishi](https://github.com/mnakanishi/TRCA-SSVEP), and was adapted to python by [Giuseppe Ferraro](mailto:[email protected])
117
-
118
-
If you use this, you should cite the following articles:
132
+
This code is based on the [Matlab implementation from Masaki Nakanishi](https://github.com/mnakanishi/TRCA-SSVEP),
133
+
and was adapted to python by [Giuseppe Ferraro](mailto:[email protected])
119
134
120
135
```sql
121
136
[1] M. Nakanishi, Y. Wang, X. Chen, Y.-T. Wang, X. Gao, and T.-P. Jung,
122
-
"Enhancing detection of SSVEPs for a high-speed brain speller using
0 commit comments