py-neuromodulation 0.0.3__py3-none-any.whl → 0.0.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. py_neuromodulation/ConnectivityDecoding/Automated Anatomical Labeling 3 (Rolls 2020).nii +0 -0
  2. py_neuromodulation/ConnectivityDecoding/_get_grid_hull.m +34 -0
  3. py_neuromodulation/ConnectivityDecoding/_get_grid_whole_brain.py +106 -0
  4. py_neuromodulation/ConnectivityDecoding/_helper_write_connectome.py +119 -0
  5. py_neuromodulation/ConnectivityDecoding/mni_coords_cortical_surface.mat +0 -0
  6. py_neuromodulation/ConnectivityDecoding/mni_coords_whole_brain.mat +0 -0
  7. py_neuromodulation/ConnectivityDecoding/rmap_func_all.nii +0 -0
  8. py_neuromodulation/ConnectivityDecoding/rmap_struc.nii +0 -0
  9. py_neuromodulation/data/README +6 -0
  10. py_neuromodulation/data/dataset_description.json +8 -0
  11. py_neuromodulation/data/participants.json +32 -0
  12. py_neuromodulation/data/participants.tsv +2 -0
  13. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_space-mni_coordsystem.json +5 -0
  14. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_space-mni_electrodes.tsv +11 -0
  15. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_channels.tsv +11 -0
  16. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.eeg +0 -0
  17. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.json +18 -0
  18. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.vhdr +35 -0
  19. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.vmrk +13 -0
  20. py_neuromodulation/data/sub-testsub/ses-EphysMedOff/sub-testsub_ses-EphysMedOff_scans.tsv +2 -0
  21. py_neuromodulation/grid_cortex.tsv +40 -0
  22. py_neuromodulation/grid_subcortex.tsv +1429 -0
  23. py_neuromodulation/nm_settings.json +338 -0
  24. py_neuromodulation/nm_stream_offline.py +7 -6
  25. py_neuromodulation/plots/STN_surf.mat +0 -0
  26. py_neuromodulation/plots/Vertices.mat +0 -0
  27. py_neuromodulation/plots/faces.mat +0 -0
  28. py_neuromodulation/plots/grid.mat +0 -0
  29. {py_neuromodulation-0.0.3.dist-info → py_neuromodulation-0.0.4.dist-info}/METADATA +182 -182
  30. py_neuromodulation-0.0.4.dist-info/RECORD +72 -0
  31. {py_neuromodulation-0.0.3.dist-info → py_neuromodulation-0.0.4.dist-info}/WHEEL +1 -2
  32. docs/build/_downloads/09df217f95985497f45d69e2d4bdc5b1/plot_2_example_add_feature.py +0 -68
  33. docs/build/_downloads/3b4900a2b2818ff30362215b76f7d5eb/plot_1_example_BIDS.py +0 -233
  34. docs/build/_downloads/7e92dd2e6cc86b239d14cafad972ae4f/plot_3_example_sharpwave_analysis.py +0 -219
  35. docs/build/_downloads/c2db0bf2b334d541b00662b991682256/plot_6_real_time_demo.py +0 -97
  36. docs/build/_downloads/ce3914826f782cbd1ea8fd024eaf0ac3/plot_5_example_rmap_computing.py +0 -64
  37. docs/build/_downloads/da36848a41e6a3235d91fb7cfb6d59b4/plot_0_first_demo.py +0 -192
  38. docs/build/_downloads/eaa4305c75b19a1e2eea941f742a6331/plot_4_example_gridPointProjection.py +0 -210
  39. docs/build/html/_downloads/09df217f95985497f45d69e2d4bdc5b1/plot_2_example_add_feature.py +0 -68
  40. docs/build/html/_downloads/3b4900a2b2818ff30362215b76f7d5eb/plot_1_example_BIDS.py +0 -239
  41. docs/build/html/_downloads/7e92dd2e6cc86b239d14cafad972ae4f/plot_3_example_sharpwave_analysis.py +0 -219
  42. docs/build/html/_downloads/c2db0bf2b334d541b00662b991682256/plot_6_real_time_demo.py +0 -97
  43. docs/build/html/_downloads/ce3914826f782cbd1ea8fd024eaf0ac3/plot_5_example_rmap_computing.py +0 -64
  44. docs/build/html/_downloads/da36848a41e6a3235d91fb7cfb6d59b4/plot_0_first_demo.py +0 -192
  45. docs/build/html/_downloads/eaa4305c75b19a1e2eea941f742a6331/plot_4_example_gridPointProjection.py +0 -210
  46. docs/source/_build/html/_downloads/09df217f95985497f45d69e2d4bdc5b1/plot_2_example_add_feature.py +0 -76
  47. docs/source/_build/html/_downloads/0d0d0a76e8f648d5d3cbc47da6351932/plot_real_time_demo.py +0 -97
  48. docs/source/_build/html/_downloads/3b4900a2b2818ff30362215b76f7d5eb/plot_1_example_BIDS.py +0 -240
  49. docs/source/_build/html/_downloads/5d73cadc59a8805c47e3b84063afc157/plot_example_BIDS.py +0 -233
  50. docs/source/_build/html/_downloads/7660317fa5a6bfbd12fcca9961457fc4/plot_example_rmap_computing.py +0 -63
  51. docs/source/_build/html/_downloads/7e92dd2e6cc86b239d14cafad972ae4f/plot_3_example_sharpwave_analysis.py +0 -219
  52. docs/source/_build/html/_downloads/839e5b319379f7fd9e867deb00fd797f/plot_example_gridPointProjection.py +0 -210
  53. docs/source/_build/html/_downloads/ae8be19afe5e559f011fc9b138968ba0/plot_first_demo.py +0 -192
  54. docs/source/_build/html/_downloads/b8b06cacc17969d3725a0b6f1d7741c5/plot_example_sharpwave_analysis.py +0 -219
  55. docs/source/_build/html/_downloads/c2db0bf2b334d541b00662b991682256/plot_6_real_time_demo.py +0 -121
  56. docs/source/_build/html/_downloads/c31a86c0b68cb4167d968091ace8080d/plot_example_add_feature.py +0 -68
  57. docs/source/_build/html/_downloads/ce3914826f782cbd1ea8fd024eaf0ac3/plot_5_example_rmap_computing.py +0 -64
  58. docs/source/_build/html/_downloads/da36848a41e6a3235d91fb7cfb6d59b4/plot_0_first_demo.py +0 -189
  59. docs/source/_build/html/_downloads/eaa4305c75b19a1e2eea941f742a6331/plot_4_example_gridPointProjection.py +0 -210
  60. docs/source/auto_examples/plot_0_first_demo.py +0 -189
  61. docs/source/auto_examples/plot_1_example_BIDS.py +0 -240
  62. docs/source/auto_examples/plot_2_example_add_feature.py +0 -76
  63. docs/source/auto_examples/plot_3_example_sharpwave_analysis.py +0 -219
  64. docs/source/auto_examples/plot_4_example_gridPointProjection.py +0 -210
  65. docs/source/auto_examples/plot_5_example_rmap_computing.py +0 -64
  66. docs/source/auto_examples/plot_6_real_time_demo.py +0 -121
  67. docs/source/conf.py +0 -105
  68. examples/plot_0_first_demo.py +0 -189
  69. examples/plot_1_example_BIDS.py +0 -240
  70. examples/plot_2_example_add_feature.py +0 -76
  71. examples/plot_3_example_sharpwave_analysis.py +0 -219
  72. examples/plot_4_example_gridPointProjection.py +0 -210
  73. examples/plot_5_example_rmap_computing.py +0 -64
  74. examples/plot_6_real_time_demo.py +0 -121
  75. packages/realtime_decoding/build/lib/realtime_decoding/__init__.py +0 -4
  76. packages/realtime_decoding/build/lib/realtime_decoding/decoder.py +0 -104
  77. packages/realtime_decoding/build/lib/realtime_decoding/features.py +0 -163
  78. packages/realtime_decoding/build/lib/realtime_decoding/helpers.py +0 -15
  79. packages/realtime_decoding/build/lib/realtime_decoding/run_decoding.py +0 -345
  80. packages/realtime_decoding/build/lib/realtime_decoding/trainer.py +0 -54
  81. packages/tmsi/build/lib/TMSiFileFormats/__init__.py +0 -37
  82. packages/tmsi/build/lib/TMSiFileFormats/file_formats/__init__.py +0 -36
  83. packages/tmsi/build/lib/TMSiFileFormats/file_formats/lsl_stream_writer.py +0 -200
  84. packages/tmsi/build/lib/TMSiFileFormats/file_formats/poly5_file_writer.py +0 -496
  85. packages/tmsi/build/lib/TMSiFileFormats/file_formats/poly5_to_edf_converter.py +0 -236
  86. packages/tmsi/build/lib/TMSiFileFormats/file_formats/xdf_file_writer.py +0 -977
  87. packages/tmsi/build/lib/TMSiFileFormats/file_readers/__init__.py +0 -35
  88. packages/tmsi/build/lib/TMSiFileFormats/file_readers/edf_reader.py +0 -116
  89. packages/tmsi/build/lib/TMSiFileFormats/file_readers/poly5reader.py +0 -294
  90. packages/tmsi/build/lib/TMSiFileFormats/file_readers/xdf_reader.py +0 -229
  91. packages/tmsi/build/lib/TMSiFileFormats/file_writer.py +0 -102
  92. packages/tmsi/build/lib/TMSiPlotters/__init__.py +0 -2
  93. packages/tmsi/build/lib/TMSiPlotters/gui/__init__.py +0 -39
  94. packages/tmsi/build/lib/TMSiPlotters/gui/_plotter_gui.py +0 -234
  95. packages/tmsi/build/lib/TMSiPlotters/gui/plotting_gui.py +0 -440
  96. packages/tmsi/build/lib/TMSiPlotters/plotters/__init__.py +0 -44
  97. packages/tmsi/build/lib/TMSiPlotters/plotters/hd_emg_plotter.py +0 -446
  98. packages/tmsi/build/lib/TMSiPlotters/plotters/impedance_plotter.py +0 -589
  99. packages/tmsi/build/lib/TMSiPlotters/plotters/signal_plotter.py +0 -1326
  100. packages/tmsi/build/lib/TMSiSDK/__init__.py +0 -54
  101. packages/tmsi/build/lib/TMSiSDK/device.py +0 -588
  102. packages/tmsi/build/lib/TMSiSDK/devices/__init__.py +0 -34
  103. packages/tmsi/build/lib/TMSiSDK/devices/saga/TMSi_Device_API.py +0 -1764
  104. packages/tmsi/build/lib/TMSiSDK/devices/saga/__init__.py +0 -34
  105. packages/tmsi/build/lib/TMSiSDK/devices/saga/saga_device.py +0 -1366
  106. packages/tmsi/build/lib/TMSiSDK/devices/saga/saga_types.py +0 -520
  107. packages/tmsi/build/lib/TMSiSDK/devices/saga/xml_saga_config.py +0 -165
  108. packages/tmsi/build/lib/TMSiSDK/error.py +0 -95
  109. packages/tmsi/build/lib/TMSiSDK/sample_data.py +0 -63
  110. packages/tmsi/build/lib/TMSiSDK/sample_data_server.py +0 -99
  111. packages/tmsi/build/lib/TMSiSDK/settings.py +0 -45
  112. packages/tmsi/build/lib/TMSiSDK/tmsi_device.py +0 -111
  113. packages/tmsi/build/lib/__init__.py +0 -4
  114. packages/tmsi/build/lib/apex_sdk/__init__.py +0 -34
  115. packages/tmsi/build/lib/apex_sdk/device/__init__.py +0 -41
  116. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_API.py +0 -1009
  117. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_API_enums.py +0 -239
  118. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_API_structures.py +0 -668
  119. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_device.py +0 -1611
  120. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_dongle.py +0 -38
  121. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_event_reader.py +0 -57
  122. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_channel.py +0 -44
  123. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_config.py +0 -150
  124. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_const.py +0 -36
  125. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_impedance_channel.py +0 -48
  126. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_info.py +0 -108
  127. packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/dongle_info.py +0 -39
  128. packages/tmsi/build/lib/apex_sdk/device/devices/apex/measurements/download_measurement.py +0 -77
  129. packages/tmsi/build/lib/apex_sdk/device/devices/apex/measurements/eeg_measurement.py +0 -150
  130. packages/tmsi/build/lib/apex_sdk/device/devices/apex/measurements/impedance_measurement.py +0 -129
  131. packages/tmsi/build/lib/apex_sdk/device/threads/conversion_thread.py +0 -59
  132. packages/tmsi/build/lib/apex_sdk/device/threads/sampling_thread.py +0 -57
  133. packages/tmsi/build/lib/apex_sdk/device/tmsi_channel.py +0 -83
  134. packages/tmsi/build/lib/apex_sdk/device/tmsi_device.py +0 -201
  135. packages/tmsi/build/lib/apex_sdk/device/tmsi_device_enums.py +0 -103
  136. packages/tmsi/build/lib/apex_sdk/device/tmsi_dongle.py +0 -43
  137. packages/tmsi/build/lib/apex_sdk/device/tmsi_event_reader.py +0 -50
  138. packages/tmsi/build/lib/apex_sdk/device/tmsi_measurement.py +0 -118
  139. packages/tmsi/build/lib/apex_sdk/sample_data_server/__init__.py +0 -33
  140. packages/tmsi/build/lib/apex_sdk/sample_data_server/event_data.py +0 -44
  141. packages/tmsi/build/lib/apex_sdk/sample_data_server/sample_data.py +0 -50
  142. packages/tmsi/build/lib/apex_sdk/sample_data_server/sample_data_server.py +0 -136
  143. packages/tmsi/build/lib/apex_sdk/tmsi_errors/error.py +0 -126
  144. packages/tmsi/build/lib/apex_sdk/tmsi_sdk.py +0 -113
  145. packages/tmsi/build/lib/apex_sdk/tmsi_utilities/apex/apex_structure_generator.py +0 -134
  146. packages/tmsi/build/lib/apex_sdk/tmsi_utilities/decorators.py +0 -60
  147. packages/tmsi/build/lib/apex_sdk/tmsi_utilities/logger_filter.py +0 -42
  148. packages/tmsi/build/lib/apex_sdk/tmsi_utilities/singleton.py +0 -42
  149. packages/tmsi/build/lib/apex_sdk/tmsi_utilities/support_functions.py +0 -72
  150. packages/tmsi/build/lib/apex_sdk/tmsi_utilities/tmsi_logger.py +0 -98
  151. py_neuromodulation-0.0.3.dist-info/RECORD +0 -188
  152. py_neuromodulation-0.0.3.dist-info/top_level.txt +0 -5
  153. tests/__init__.py +0 -0
  154. tests/conftest.py +0 -117
  155. tests/test_all_examples.py +0 -10
  156. tests/test_all_features.py +0 -63
  157. tests/test_bispectra.py +0 -70
  158. tests/test_bursts.py +0 -105
  159. tests/test_feature_sampling_rates.py +0 -143
  160. tests/test_fooof.py +0 -16
  161. tests/test_initalization_offline_stream.py +0 -41
  162. tests/test_multiprocessing.py +0 -58
  163. tests/test_nan_values.py +0 -29
  164. tests/test_nm_filter.py +0 -95
  165. tests/test_nm_resample.py +0 -63
  166. tests/test_normalization_settings.py +0 -146
  167. tests/test_notch_filter.py +0 -31
  168. tests/test_osc_features.py +0 -424
  169. tests/test_preprocessing_filter.py +0 -151
  170. tests/test_rereference.py +0 -171
  171. tests/test_sampling.py +0 -57
  172. tests/test_settings_change_after_init.py +0 -76
  173. tests/test_sharpwave.py +0 -165
  174. tests/test_target_channel_add.py +0 -100
  175. tests/test_timing.py +0 -80
  176. {py_neuromodulation-0.0.3.dist-info → py_neuromodulation-0.0.4.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,338 @@
1
+ {
2
+ "sampling_rate_features_hz": 10,
3
+ "segment_length_features_ms": 1000,
4
+ "preprocessing": [
5
+ "raw_resampling",
6
+ "notch_filter",
7
+ "re_referencing"
8
+ ],
9
+ "documentation_preprocessing_options": [
10
+ "raw_resampling",
11
+ "notch_filter",
12
+ "re_referencing",
13
+ "raw_normalization",
14
+ "preprocessing_filter"
15
+ ],
16
+ "features": {
17
+ "raw_hjorth": true,
18
+ "return_raw": true,
19
+ "bandpass_filter": false,
20
+ "stft": false,
21
+ "fft": true,
22
+ "welch": true,
23
+ "sharpwave_analysis": true,
24
+ "fooof": false,
25
+ "bursts": true,
26
+ "linelength": true,
27
+ "coherence": false,
28
+ "nolds": false,
29
+ "mne_connectivity": false,
30
+ "bispectrum": false
31
+ },
32
+ "postprocessing": {
33
+ "feature_normalization": true,
34
+ "project_cortex": false,
35
+ "project_subcortex": false
36
+ },
37
+ "raw_resampling_settings": {
38
+ "resample_freq_hz": 1000
39
+ },
40
+ "preprocessing_filter": {
41
+ "bandstop_filter": true,
42
+ "lowpass_filter": true,
43
+ "highpass_filter": true,
44
+ "bandpass_filter": true,
45
+ "bandstop_filter_settings": {
46
+ "frequency_low_hz": 100,
47
+ "frequency_high_hz": 160
48
+ },
49
+ "lowpass_filter_settings": {
50
+ "frequency_cutoff_hz": 200
51
+ },
52
+ "highpass_filter_settings": {
53
+ "frequency_cutoff_hz": 3
54
+ },
55
+ "bandpass_filter_settings": {
56
+ "frequency_low_hz": 3,
57
+ "frequency_high_hz": 200
58
+ }
59
+ },
60
+ "re_referencing_settings": {
61
+ "reference": "common"
62
+ },
63
+ "documentation_normalization_options": [
64
+ "mean",
65
+ "median",
66
+ "zscore",
67
+ "zscore-median",
68
+ "quantile",
69
+ "power",
70
+ "robust",
71
+ "minmax"
72
+ ],
73
+ "raw_normalization_settings": {
74
+ "normalization_time_s": 30,
75
+ "normalization_method": "zscore",
76
+ "clip": 3
77
+ },
78
+ "feature_normalization_settings": {
79
+ "normalization_time_s": 30,
80
+ "normalization_method": "zscore",
81
+ "clip": 3
82
+ },
83
+ "frequency_ranges_hz": {
84
+ "theta": [
85
+ 4,
86
+ 8
87
+ ],
88
+ "alpha": [
89
+ 8,
90
+ 12
91
+ ],
92
+ "low beta": [
93
+ 13,
94
+ 20
95
+ ],
96
+ "high beta": [
97
+ 20,
98
+ 35
99
+ ],
100
+ "low gamma": [
101
+ 60,
102
+ 80
103
+ ],
104
+ "high gamma": [
105
+ 90,
106
+ 200
107
+ ],
108
+ "HFA": [
109
+ 200,
110
+ 400
111
+ ]
112
+ },
113
+ "fft_settings": {
114
+ "windowlength_ms": 1000,
115
+ "log_transform": true,
116
+ "features": {
117
+ "mean": true,
118
+ "median": false,
119
+ "std": false,
120
+ "max": false
121
+ },
122
+ "return_spectrum": false
123
+ },
124
+ "welch_settings": {
125
+ "windowlength_ms": 1000,
126
+ "log_transform": true,
127
+ "features": {
128
+ "mean": true,
129
+ "median": false,
130
+ "std": false,
131
+ "max": false
132
+ },
133
+ "return_spectrum": false
134
+ },
135
+ "stft_settings": {
136
+ "windowlength_ms": 500,
137
+ "log_transform": true,
138
+ "features": {
139
+ "mean": true,
140
+ "median": false,
141
+ "std": false,
142
+ "max": false
143
+ },
144
+ "return_spectrum": false
145
+ },
146
+ "bandpass_filter_settings": {
147
+ "segment_lengths_ms": {
148
+ "theta": 1000,
149
+ "alpha": 500,
150
+ "low beta": 333,
151
+ "high beta": 333,
152
+ "low gamma": 100,
153
+ "high gamma": 100,
154
+ "HFA": 100
155
+ },
156
+ "bandpower_features": {
157
+ "activity": true,
158
+ "mobility": false,
159
+ "complexity": false
160
+ },
161
+ "log_transform": true,
162
+ "kalman_filter": false
163
+ },
164
+ "kalman_filter_settings": {
165
+ "Tp": 0.1,
166
+ "sigma_w": 0.7,
167
+ "sigma_v": 1,
168
+ "frequency_bands": [
169
+ "theta",
170
+ "alpha",
171
+ "low beta",
172
+ "high beta",
173
+ "low gamma",
174
+ "high gamma",
175
+ "HFA"
176
+ ]
177
+ },
178
+ "burst_settings": {
179
+ "threshold": 75,
180
+ "time_duration_s": 30,
181
+ "frequency_bands": [
182
+ "low beta",
183
+ "high beta",
184
+ "low gamma"
185
+ ],
186
+ "burst_features": {
187
+ "duration": true,
188
+ "amplitude": true,
189
+ "burst_rate_per_s": true,
190
+ "in_burst": true
191
+ }
192
+ },
193
+ "sharpwave_analysis_settings": {
194
+ "sharpwave_features": {
195
+ "peak_left": false,
196
+ "peak_right": false,
197
+ "trough": false,
198
+ "width": false,
199
+ "prominence": true,
200
+ "interval": true,
201
+ "decay_time": false,
202
+ "rise_time": false,
203
+ "sharpness": true,
204
+ "rise_steepness": false,
205
+ "decay_steepness": false,
206
+ "slope_ratio": false
207
+ },
208
+ "filter_ranges_hz": [
209
+ [
210
+ 5,
211
+ 80
212
+ ],
213
+ [
214
+ 5,
215
+ 30
216
+ ]
217
+ ],
218
+ "detect_troughs": {
219
+ "estimate": true,
220
+ "distance_troughs_ms": 10,
221
+ "distance_peaks_ms": 5
222
+ },
223
+ "detect_peaks": {
224
+ "estimate": true,
225
+ "distance_troughs_ms": 5,
226
+ "distance_peaks_ms": 10
227
+ },
228
+ "estimator": {
229
+ "mean": [
230
+ "interval"
231
+ ],
232
+ "median": null,
233
+ "max": [
234
+ "prominence",
235
+ "sharpness"
236
+ ],
237
+ "min": null,
238
+ "var": null
239
+ },
240
+ "apply_estimator_between_peaks_and_troughs": true
241
+ },
242
+ "project_cortex_settings": {
243
+ "max_dist_mm": 20
244
+ },
245
+ "project_subcortex_settings": {
246
+ "max_dist_mm": 5
247
+ },
248
+ "coherence": {
249
+ "channels": [
250
+ [
251
+ "STN_RIGHT_0",
252
+ "ECOG_RIGHT_0"
253
+ ]
254
+ ],
255
+ "frequency_bands": [
256
+ "high beta"
257
+ ],
258
+ "features": {
259
+ "mean_fband": true,
260
+ "max_fband": true,
261
+ "max_allfbands": true
262
+ },
263
+ "method": {
264
+ "coh": true,
265
+ "icoh": true
266
+ }
267
+ },
268
+ "fooof": {
269
+ "aperiodic": {
270
+ "exponent": true,
271
+ "offset": true,
272
+ "knee": true
273
+ },
274
+ "periodic": {
275
+ "center_frequency": false,
276
+ "band_width": false,
277
+ "height_over_ap": false
278
+ },
279
+ "windowlength_ms": 800,
280
+ "peak_width_limits": [
281
+ 0.5,
282
+ 12
283
+ ],
284
+ "max_n_peaks": 3,
285
+ "min_peak_height": 0,
286
+ "peak_threshold": 2,
287
+ "freq_range_hz": [
288
+ 2,
289
+ 40
290
+ ],
291
+ "knee": true
292
+ },
293
+ "nolds_features": {
294
+ "sample_entropy": false,
295
+ "correlation_dimension": false,
296
+ "lyapunov_exponent": true,
297
+ "hurst_exponent": false,
298
+ "detrended_fluctutaion_analysis": false,
299
+ "data": {
300
+ "raw": true,
301
+ "frequency_bands": [
302
+ "low beta"
303
+ ]
304
+ }
305
+ },
306
+ "mne_connectiviy": {
307
+ "method": "plv",
308
+ "mode": "multitaper"
309
+ },
310
+ "bispectrum": {
311
+ "f1s": [
312
+ 5,
313
+ 35
314
+ ],
315
+ "f2s": [
316
+ 5,
317
+ 35
318
+ ],
319
+ "compute_features_for_whole_fband_range": true,
320
+ "frequency_bands": [
321
+ "theta",
322
+ "alpha",
323
+ "low beta",
324
+ "high beta"
325
+ ],
326
+ "components": {
327
+ "absolute": true,
328
+ "real": true,
329
+ "imag": true,
330
+ "phase": true
331
+ },
332
+ "bispectrum_features": {
333
+ "mean": true,
334
+ "sum": true,
335
+ "var": true
336
+ }
337
+ }
338
+ }
@@ -88,9 +88,9 @@ class _OfflineStream(nm_stream_abc.PNStream):
88
88
  if not len(names_expected) == data.shape[0]:
89
89
  raise ValueError(
90
90
  "If data is passed as an array, the first dimension must"
91
- " match the number of channel names in `nm_channels`. Got:"
92
- f" Data columns: {data.shape[0]}, nm_channels.name:"
93
- f" {len(names_expected)}."
91
+ " match the number of channel names in `nm_channels`.\n"
92
+ f" Number of data channels (data.shape[0]): {data.shape[0]}\n"
93
+ f" Length of nm_channels[\"name\"]: {len(names_expected)}."
94
94
  )
95
95
  return data
96
96
  names_data = data.columns.to_list()
@@ -100,10 +100,11 @@ class _OfflineStream(nm_stream_abc.PNStream):
100
100
  ):
101
101
  raise ValueError(
102
102
  "If data is passed as a DataFrame, the"
103
- "columns must match the channel names in `nm_channels`. Got:"
104
- f"Data columns: {names_data}, nm_channels.name: {names_data}."
103
+ "column names must match the channel names in `nm_channels`.\n"
104
+ f"Input dataframe column names: {names_data}\n"
105
+ f"Expected (from nm_channels[\"name\"]): : {names_expected}."
105
106
  )
106
- return data.to_numpy()
107
+ return data.to_numpy().transpose()
107
108
 
108
109
  def _check_settings_for_parallel(self):
109
110
  """Check specified settings and raise error if parallel processing is not possible.
Binary file
Binary file
Binary file
Binary file