vbi 0.1.3__cp310-cp310-manylinux2014_x86_64.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.
- vbi/__init__.py +37 -0
- vbi/_version.py +17 -0
- vbi/dataset/__init__.py +0 -0
- vbi/dataset/connectivity_84/centers.txt +84 -0
- vbi/dataset/connectivity_84/centres.txt +84 -0
- vbi/dataset/connectivity_84/cortical.txt +84 -0
- vbi/dataset/connectivity_84/tract_lengths.txt +84 -0
- vbi/dataset/connectivity_84/weights.txt +84 -0
- vbi/dataset/connectivity_88/Aud_88.txt +88 -0
- vbi/dataset/connectivity_88/Bold.npz +0 -0
- vbi/dataset/connectivity_88/Labels.txt +17 -0
- vbi/dataset/connectivity_88/Region_labels.txt +88 -0
- vbi/dataset/connectivity_88/tract_lengths.txt +88 -0
- vbi/dataset/connectivity_88/weights.txt +88 -0
- vbi/feature_extraction/__init__.py +1 -0
- vbi/feature_extraction/calc_features.py +293 -0
- vbi/feature_extraction/features.json +535 -0
- vbi/feature_extraction/features.py +2124 -0
- vbi/feature_extraction/features_settings.py +374 -0
- vbi/feature_extraction/features_utils.py +1357 -0
- vbi/feature_extraction/infodynamics.jar +0 -0
- vbi/feature_extraction/utility.py +507 -0
- vbi/inference.py +98 -0
- vbi/models/__init__.py +0 -0
- vbi/models/cpp/__init__.py +0 -0
- vbi/models/cpp/_src/__init__.py +0 -0
- vbi/models/cpp/_src/__pycache__/mpr_sde.cpython-310.pyc +0 -0
- vbi/models/cpp/_src/_do.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi/models/cpp/_src/_jr_sdde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi/models/cpp/_src/_jr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi/models/cpp/_src/_km_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi/models/cpp/_src/_mpr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi/models/cpp/_src/_vep.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi/models/cpp/_src/_wc_ode.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi/models/cpp/_src/bold.hpp +303 -0
- vbi/models/cpp/_src/do.hpp +167 -0
- vbi/models/cpp/_src/do.i +17 -0
- vbi/models/cpp/_src/do.py +467 -0
- vbi/models/cpp/_src/do_wrap.cxx +12811 -0
- vbi/models/cpp/_src/jr_sdde.hpp +352 -0
- vbi/models/cpp/_src/jr_sdde.i +19 -0
- vbi/models/cpp/_src/jr_sdde.py +688 -0
- vbi/models/cpp/_src/jr_sdde_wrap.cxx +18718 -0
- vbi/models/cpp/_src/jr_sde.hpp +264 -0
- vbi/models/cpp/_src/jr_sde.i +17 -0
- vbi/models/cpp/_src/jr_sde.py +470 -0
- vbi/models/cpp/_src/jr_sde_wrap.cxx +13406 -0
- vbi/models/cpp/_src/km_sde.hpp +158 -0
- vbi/models/cpp/_src/km_sde.i +19 -0
- vbi/models/cpp/_src/km_sde.py +671 -0
- vbi/models/cpp/_src/km_sde_wrap.cxx +17367 -0
- vbi/models/cpp/_src/makefile +52 -0
- vbi/models/cpp/_src/mpr_sde.hpp +327 -0
- vbi/models/cpp/_src/mpr_sde.i +19 -0
- vbi/models/cpp/_src/mpr_sde.py +711 -0
- vbi/models/cpp/_src/mpr_sde_wrap.cxx +18618 -0
- vbi/models/cpp/_src/utility.hpp +307 -0
- vbi/models/cpp/_src/vep.hpp +171 -0
- vbi/models/cpp/_src/vep.i +16 -0
- vbi/models/cpp/_src/vep.py +464 -0
- vbi/models/cpp/_src/vep_wrap.cxx +12968 -0
- vbi/models/cpp/_src/wc_ode.hpp +294 -0
- vbi/models/cpp/_src/wc_ode.i +19 -0
- vbi/models/cpp/_src/wc_ode.py +686 -0
- vbi/models/cpp/_src/wc_ode_wrap.cxx +24263 -0
- vbi/models/cpp/damp_oscillator.py +143 -0
- vbi/models/cpp/jansen_rit.py +543 -0
- vbi/models/cpp/km.py +187 -0
- vbi/models/cpp/mpr.py +289 -0
- vbi/models/cpp/vep.py +150 -0
- vbi/models/cpp/wc.py +216 -0
- vbi/models/cupy/__init__.py +0 -0
- vbi/models/cupy/bold.py +111 -0
- vbi/models/cupy/ghb.py +284 -0
- vbi/models/cupy/jansen_rit.py +473 -0
- vbi/models/cupy/km.py +224 -0
- vbi/models/cupy/mpr.py +475 -0
- vbi/models/cupy/mpr_modified_bold.py +12 -0
- vbi/models/cupy/utils.py +184 -0
- vbi/models/numba/__init__.py +0 -0
- vbi/models/numba/_ww_EI.py +444 -0
- vbi/models/numba/damp_oscillator.py +162 -0
- vbi/models/numba/ghb.py +208 -0
- vbi/models/numba/mpr.py +383 -0
- vbi/models/pytorch/__init__.py +0 -0
- vbi/models/pytorch/data/default_parameters.npz +0 -0
- vbi/models/pytorch/data/input/ROI_sim.mat +0 -0
- vbi/models/pytorch/data/input/fc_test.csv +68 -0
- vbi/models/pytorch/data/input/fc_train.csv +68 -0
- vbi/models/pytorch/data/input/fc_vali.csv +68 -0
- vbi/models/pytorch/data/input/fcd_test.mat +0 -0
- vbi/models/pytorch/data/input/fcd_test_high_window.mat +0 -0
- vbi/models/pytorch/data/input/fcd_test_low_window.mat +0 -0
- vbi/models/pytorch/data/input/fcd_train.mat +0 -0
- vbi/models/pytorch/data/input/fcd_vali.mat +0 -0
- vbi/models/pytorch/data/input/myelin.csv +68 -0
- vbi/models/pytorch/data/input/rsfc_gradient.csv +68 -0
- vbi/models/pytorch/data/input/run_label_testset.mat +0 -0
- vbi/models/pytorch/data/input/sc_test.csv +68 -0
- vbi/models/pytorch/data/input/sc_train.csv +68 -0
- vbi/models/pytorch/data/input/sc_vali.csv +68 -0
- vbi/models/pytorch/data/obs_kong0.npz +0 -0
- vbi/models/pytorch/ww_sde_kong.py +570 -0
- vbi/models/tvbk/__init__.py +9 -0
- vbi/models/tvbk/tvbk_wrapper.py +166 -0
- vbi/models/tvbk/utils.py +72 -0
- vbi/papers/__init__.py +0 -0
- vbi/papers/pavlides_pcb_2015/pavlides.py +211 -0
- vbi/tests/__init__.py +0 -0
- vbi/tests/_test_mpr_nb.py +36 -0
- vbi/tests/test_features.py +355 -0
- vbi/tests/test_ghb_cupy.py +90 -0
- vbi/tests/test_mpr_cupy.py +49 -0
- vbi/tests/test_mpr_numba.py +84 -0
- vbi/tests/test_suite.py +19 -0
- vbi/utils.py +402 -0
- vbi-0.1.3.dist-info/METADATA +166 -0
- vbi-0.1.3.dist-info/RECORD +121 -0
- vbi-0.1.3.dist-info/WHEEL +5 -0
- vbi-0.1.3.dist-info/licenses/LICENSE +201 -0
- vbi-0.1.3.dist-info/top_level.txt +1 -0
@@ -0,0 +1,535 @@
|
|
1
|
+
{
|
2
|
+
"catch22": {
|
3
|
+
"catch22": {
|
4
|
+
"description": "Computes the Catch22 features of the signal.",
|
5
|
+
"function": "vbi.feature_extraction.features.catch22",
|
6
|
+
"parameters": {
|
7
|
+
"indices": null,
|
8
|
+
"catch24": false,
|
9
|
+
"verbose": false,
|
10
|
+
"features": [
|
11
|
+
"DN_HistogramMode_5",
|
12
|
+
"DN_HistogramMode_10",
|
13
|
+
"CO_f1ecac",
|
14
|
+
"CO_FirstMin_ac",
|
15
|
+
"CO_HistogramAMI_even_2_5",
|
16
|
+
"CO_trev_1_num",
|
17
|
+
"MD_hrv_classic_pnn40",
|
18
|
+
"SB_BinaryStats_mean_longstretch1",
|
19
|
+
"SB_TransitionMatrix_3ac_sumdiagcov",
|
20
|
+
"PD_PeriodicityWang_th0_01",
|
21
|
+
"CO_Embed2_Dist_tau_d_expfit_meandiff",
|
22
|
+
"IN_AutoMutualInfoStats_40_gaussian_fmmi",
|
23
|
+
"FC_LocalSimple_mean1_tauresrat",
|
24
|
+
"DN_OutlierInclude_p_001_mdrmd",
|
25
|
+
"DN_OutlierInclude_n_001_mdrmd",
|
26
|
+
"SP_Summaries_welch_rect_area_5_1",
|
27
|
+
"SB_BinaryStats_diff_longstretch0",
|
28
|
+
"SB_MotifThree_quantile_hh",
|
29
|
+
"SC_FluctAnal_2_rsrangefit_50_1_logi_prop_r1",
|
30
|
+
"SC_FluctAnal_2_dfa_50_1_2_logi_prop_r1",
|
31
|
+
"SP_Summaries_welch_rect_centroid",
|
32
|
+
"FC_LocalSimple_mean3_stderr"
|
33
|
+
]
|
34
|
+
},
|
35
|
+
"use": "yes",
|
36
|
+
"tag": "all"
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"temporal": {
|
40
|
+
"abs_energy": {
|
41
|
+
"description": "Computes the absolute energy of the signal.",
|
42
|
+
"function": "vbi.feature_extraction.features.abs_energy",
|
43
|
+
"parameters": {
|
44
|
+
"indices": null,
|
45
|
+
"verbose": false
|
46
|
+
},
|
47
|
+
"use": "yes",
|
48
|
+
"tag": "all"
|
49
|
+
},
|
50
|
+
|
51
|
+
"average_power": {
|
52
|
+
"description": "Computes the average power of the signal.",
|
53
|
+
"function": "vbi.feature_extraction.features.average_power",
|
54
|
+
"parameters": {
|
55
|
+
"fs": null,
|
56
|
+
"indices": null,
|
57
|
+
"verbose": false
|
58
|
+
},
|
59
|
+
"use": "yes",
|
60
|
+
"tag": "all"
|
61
|
+
},
|
62
|
+
|
63
|
+
"calc_centroid": {
|
64
|
+
"description": "Computes the centroid of the signal.",
|
65
|
+
"function": "vbi.feature_extraction.features.calc_centroid",
|
66
|
+
"parameters": {
|
67
|
+
"fs": null,
|
68
|
+
"indices": null,
|
69
|
+
"verbose": false
|
70
|
+
},
|
71
|
+
"use": "yes",
|
72
|
+
"tag": "all"
|
73
|
+
},
|
74
|
+
|
75
|
+
"zero_crossing": {
|
76
|
+
"description": "Computes the number of zero crossings of the signal.",
|
77
|
+
"function": "vbi.feature_extraction.features.zero_crossing",
|
78
|
+
"parameters": {
|
79
|
+
"indices": null,
|
80
|
+
"verbose": false
|
81
|
+
},
|
82
|
+
"use": "yes",
|
83
|
+
"tag": "all"
|
84
|
+
}
|
85
|
+
},
|
86
|
+
|
87
|
+
"statistical": {
|
88
|
+
"calc_var": {
|
89
|
+
"description": "Computes variance of the time series.",
|
90
|
+
"function": "vbi.feature_extraction.features.calc_var",
|
91
|
+
"parameters": {
|
92
|
+
"indices": null,
|
93
|
+
"verbose": false
|
94
|
+
},
|
95
|
+
"use": "yes",
|
96
|
+
"tag": "all"
|
97
|
+
},
|
98
|
+
|
99
|
+
"rms": {
|
100
|
+
"description": "Computes the root mean square of the signal.",
|
101
|
+
"function": "vbi.feature_extraction.features.rms",
|
102
|
+
"parameters": {
|
103
|
+
"indices": null,
|
104
|
+
"verbose": false
|
105
|
+
},
|
106
|
+
"use": "yes",
|
107
|
+
"tag": "all"
|
108
|
+
},
|
109
|
+
|
110
|
+
"burstiness": {
|
111
|
+
"description": "Computes the burstiness of the signal.",
|
112
|
+
"function": "vbi.feature_extraction.features.burstiness",
|
113
|
+
"parameters": {
|
114
|
+
"indices": null,
|
115
|
+
"verbose": false
|
116
|
+
},
|
117
|
+
"use": "yes",
|
118
|
+
"tag": "all"
|
119
|
+
},
|
120
|
+
|
121
|
+
"interq_range": {
|
122
|
+
"description": "Computes the interquartile range of the signal.",
|
123
|
+
"function": "vbi.feature_extraction.features.interq_range",
|
124
|
+
"parameters": {
|
125
|
+
"indices": null,
|
126
|
+
"verbose": false
|
127
|
+
},
|
128
|
+
"use": "yes",
|
129
|
+
"tag": "all"
|
130
|
+
},
|
131
|
+
|
132
|
+
"calc_std": {
|
133
|
+
"description": "Computes the standard deviation of the signal.",
|
134
|
+
"function": "vbi.feature_extraction.features.calc_std",
|
135
|
+
"parameters": {
|
136
|
+
"indices": null,
|
137
|
+
"verbose": false
|
138
|
+
},
|
139
|
+
"use": "yes",
|
140
|
+
"tag": "all"
|
141
|
+
},
|
142
|
+
|
143
|
+
"calc_mean": {
|
144
|
+
"description": "Computes the mean of the signal.",
|
145
|
+
"function": "vbi.feature_extraction.features.calc_mean",
|
146
|
+
"parameters": {
|
147
|
+
"indices": null,
|
148
|
+
"verbose": false
|
149
|
+
},
|
150
|
+
"use": "yes",
|
151
|
+
"tag": "all"
|
152
|
+
},
|
153
|
+
|
154
|
+
"calc_kurtosis": {
|
155
|
+
"description": "Computes the kurtosis of the signal.",
|
156
|
+
"function": "vbi.feature_extraction.features.calc_kurtosis",
|
157
|
+
"parameters": {
|
158
|
+
"indices": null,
|
159
|
+
"verbose": false
|
160
|
+
},
|
161
|
+
"use": "yes",
|
162
|
+
"tag": "all"
|
163
|
+
},
|
164
|
+
|
165
|
+
"calc_skewness": {
|
166
|
+
"description": "Computes the skewness of the signal.",
|
167
|
+
"function": "vbi.feature_extraction.features.calc_skewness",
|
168
|
+
"parameters": {
|
169
|
+
"indices": null,
|
170
|
+
"verbose": false
|
171
|
+
},
|
172
|
+
"use": "yes",
|
173
|
+
"tag": "all"
|
174
|
+
},
|
175
|
+
|
176
|
+
"calc_max": {
|
177
|
+
"description": "Computes the maximum of the signal.",
|
178
|
+
"function": "vbi.feature_extraction.features.calc_max",
|
179
|
+
"parameters": {
|
180
|
+
"indices": null,
|
181
|
+
"verbose": false
|
182
|
+
},
|
183
|
+
"use": "yes",
|
184
|
+
"tag": "all"
|
185
|
+
},
|
186
|
+
|
187
|
+
"calc_min": {
|
188
|
+
"description": "Computes the minimum of the signal.",
|
189
|
+
"function": "vbi.feature_extraction.features.calc_min",
|
190
|
+
"parameters": {
|
191
|
+
"indices": null,
|
192
|
+
"verbose": false
|
193
|
+
},
|
194
|
+
"use": "yes",
|
195
|
+
"tag": "all"
|
196
|
+
},
|
197
|
+
|
198
|
+
"calc_median": {
|
199
|
+
"description": "Computes the median of the signal.",
|
200
|
+
"function": "vbi.feature_extraction.features.calc_median",
|
201
|
+
"parameters": {
|
202
|
+
"indices": null,
|
203
|
+
"verbose": false
|
204
|
+
},
|
205
|
+
"use": "yes",
|
206
|
+
"tag": "all"
|
207
|
+
},
|
208
|
+
|
209
|
+
"calc_envelope": {
|
210
|
+
"description": "Computes the envelope of the signal.",
|
211
|
+
"function": "vbi.feature_extraction.features.calc_envelope",
|
212
|
+
"parameters": {
|
213
|
+
"indices": null,
|
214
|
+
"verbose": false,
|
215
|
+
"features": ["mean", "std", "median", "max", "min"]
|
216
|
+
},
|
217
|
+
"use": "yes",
|
218
|
+
"tag": "all"
|
219
|
+
},
|
220
|
+
|
221
|
+
"mean_abs_dev": {
|
222
|
+
"description": "Computes the mean absolute deviation of the signal.",
|
223
|
+
"function": "vbi.feature_extraction.features.mean_abs_dev",
|
224
|
+
"parameters": {
|
225
|
+
"indices": null,
|
226
|
+
"verbose": false
|
227
|
+
},
|
228
|
+
"use": "yes",
|
229
|
+
"tag": "all"
|
230
|
+
},
|
231
|
+
|
232
|
+
"median_abs_dev": {
|
233
|
+
"description": "Computes the median absolute deviation of the signal.",
|
234
|
+
"function": "vbi.feature_extraction.features.median_abs_dev",
|
235
|
+
"parameters": {
|
236
|
+
"indices": null,
|
237
|
+
"verbose": false
|
238
|
+
},
|
239
|
+
"use": "yes",
|
240
|
+
"tag": "all"
|
241
|
+
},
|
242
|
+
|
243
|
+
"kop": {
|
244
|
+
"description": "Kuramoto order parameter",
|
245
|
+
"function": "vbi.feature_extraction.features.kop",
|
246
|
+
"parameters": {
|
247
|
+
"indices": null,
|
248
|
+
"verbose": false,
|
249
|
+
"extract_phase": false
|
250
|
+
},
|
251
|
+
"use": "yes",
|
252
|
+
"tag": "all"
|
253
|
+
},
|
254
|
+
|
255
|
+
"auc": {
|
256
|
+
"description": "Computes the area under the curve of the signal computed with trapezoid rule.",
|
257
|
+
"function": "vbi.feature_extraction.features.auc",
|
258
|
+
"parameters": {
|
259
|
+
"dx": null,
|
260
|
+
"x": null,
|
261
|
+
"indices": null,
|
262
|
+
"verbose": false
|
263
|
+
},
|
264
|
+
"use": "yes",
|
265
|
+
"tag": "all"
|
266
|
+
},
|
267
|
+
|
268
|
+
"auc_lim": {
|
269
|
+
"description": "Compute the area under the curve for a given time series within a given limit.",
|
270
|
+
"function": "vbi.feature_extraction.features.auc_lim",
|
271
|
+
"parameters": {
|
272
|
+
"dx": null,
|
273
|
+
"x": null,
|
274
|
+
"xlim": null,
|
275
|
+
"indices": null,
|
276
|
+
"verbose": false
|
277
|
+
},
|
278
|
+
"use": "yes",
|
279
|
+
"tag": "all"
|
280
|
+
},
|
281
|
+
|
282
|
+
"calc_moments": {
|
283
|
+
"description": "Computes the moments of the signal.",
|
284
|
+
"function": "vbi.feature_extraction.features.calc_moments",
|
285
|
+
"parameters": {
|
286
|
+
"orders": [2, 3, 4, 5, 6],
|
287
|
+
"indices": null,
|
288
|
+
"verbose": false
|
289
|
+
},
|
290
|
+
"use": "yes",
|
291
|
+
"tag": "all"
|
292
|
+
},
|
293
|
+
"seizure_onset": {
|
294
|
+
"description": "Detects the onset of seizures.",
|
295
|
+
"function": "vbi.feature_extraction.features.seizure_onset",
|
296
|
+
"parameters": {
|
297
|
+
"threshold": 0.02,
|
298
|
+
"verbose": false,
|
299
|
+
"indices": null
|
300
|
+
},
|
301
|
+
"use": "yes",
|
302
|
+
"tag": ["eeg", "seeg"]
|
303
|
+
}
|
304
|
+
},
|
305
|
+
|
306
|
+
"connectivity": {
|
307
|
+
"fc_stat": {
|
308
|
+
"description": "Extracts features from functional connectivity (FC).",
|
309
|
+
"function": "vbi.feature_extraction.features.fc_stat",
|
310
|
+
"parameters": {
|
311
|
+
"k": 0,
|
312
|
+
"masks": null,
|
313
|
+
"positive": false,
|
314
|
+
"verbose": false,
|
315
|
+
"eigenvalues": true,
|
316
|
+
"pca_num_components": 3,
|
317
|
+
"fc_function": "corrcoef",
|
318
|
+
"quantiles": [0.05, 0.25, 0.5, 0.75, 0.95],
|
319
|
+
"features": ["sum", "max", "min", "mean", "std", "skew", "kurtosis"]
|
320
|
+
},
|
321
|
+
"use": "yes",
|
322
|
+
"tag": "all"
|
323
|
+
},
|
324
|
+
|
325
|
+
"fc_sum": {
|
326
|
+
"description": "Computes the sum of the functional connectivity matrix.",
|
327
|
+
"function": "vbi.feature_extraction.features.fc_sum",
|
328
|
+
"parameters": {
|
329
|
+
"positive": false,
|
330
|
+
"verbose": false,
|
331
|
+
"masks": null
|
332
|
+
},
|
333
|
+
"use": "yes",
|
334
|
+
"tag": ["eeg", "fmri", "seeg", "meg"]
|
335
|
+
},
|
336
|
+
|
337
|
+
"fc_homotopic": {
|
338
|
+
"description": "Calculates the homotopic connectivity vector of a given brain activity.",
|
339
|
+
"function": "vbi.feature_extraction.features.fc_homotopic",
|
340
|
+
"parameters": {
|
341
|
+
"average": false,
|
342
|
+
"positive": true,
|
343
|
+
"verbose": false,
|
344
|
+
"fc_function": "corrcoef"
|
345
|
+
},
|
346
|
+
"use": "yes",
|
347
|
+
"tag": "all"
|
348
|
+
},
|
349
|
+
|
350
|
+
"fcd_stat": {
|
351
|
+
"description": "Extracts features from dynamic functional connectivity (FCD)",
|
352
|
+
"function": "vbi.feature_extraction.features.fcd_stat",
|
353
|
+
"parameters": {
|
354
|
+
"TR": 1.0,
|
355
|
+
"win_len": 30,
|
356
|
+
"positive": false,
|
357
|
+
"eigenvalues": true,
|
358
|
+
"masks": null,
|
359
|
+
"verbose": false,
|
360
|
+
"pca_num_components": 3,
|
361
|
+
"quantiles": [0.05, 0.25, 0.5, 0.75, 0.95],
|
362
|
+
"features": ["sum", "max", "min", "mean", "std", "skew", "kurtosis"]
|
363
|
+
},
|
364
|
+
"use": "yes",
|
365
|
+
"tag": ["fmri", "eeg", "meg"]
|
366
|
+
}
|
367
|
+
},
|
368
|
+
|
369
|
+
"information": {
|
370
|
+
"calc_entropy": {
|
371
|
+
"description": "Computes the entropy of the time series.",
|
372
|
+
"function": "vbi.feature_extraction.features.calc_entropy",
|
373
|
+
"parameters": {
|
374
|
+
"average": true,
|
375
|
+
"verbose": false
|
376
|
+
},
|
377
|
+
"use": "yes",
|
378
|
+
"tag": "all"
|
379
|
+
},
|
380
|
+
|
381
|
+
"calc_mi": {
|
382
|
+
"description": "Computes the mutual information between time series.",
|
383
|
+
"function": "vbi.feature_extraction.features.calc_mi",
|
384
|
+
"parameters": {
|
385
|
+
"k": 4,
|
386
|
+
"time_diff": 1,
|
387
|
+
"num_threads": 1,
|
388
|
+
"source_indices": null,
|
389
|
+
"target_indices": null,
|
390
|
+
"mode": "pairwise",
|
391
|
+
"verbose": false
|
392
|
+
},
|
393
|
+
"use": "yes",
|
394
|
+
"tag": "all"
|
395
|
+
},
|
396
|
+
|
397
|
+
"calc_te": {
|
398
|
+
"description": "Computes the transfer entropy between two time series.",
|
399
|
+
"function": "vbi.feature_extraction.features.calc_te",
|
400
|
+
"parameters": {
|
401
|
+
"num_threads": 1,
|
402
|
+
"delay": 1,
|
403
|
+
"k": 4,
|
404
|
+
"source_indices": null,
|
405
|
+
"target_indices": null,
|
406
|
+
"mode": "pairwise",
|
407
|
+
"verbose": false
|
408
|
+
},
|
409
|
+
"use": "yes",
|
410
|
+
"tag": "all"
|
411
|
+
},
|
412
|
+
|
413
|
+
"calc_entropy_bin": {
|
414
|
+
"description": "Computes the entropy of the time series.",
|
415
|
+
"function": "vbi.feature_extraction.features.calc_entropy_bin",
|
416
|
+
"parameters": {
|
417
|
+
"average": false,
|
418
|
+
"prob": "standard",
|
419
|
+
"verbose": false
|
420
|
+
},
|
421
|
+
"use": "yes",
|
422
|
+
"tag": "all"
|
423
|
+
}
|
424
|
+
},
|
425
|
+
|
426
|
+
"spectral": {
|
427
|
+
"spectrum_stats": {
|
428
|
+
"description": "Computes the spectrum of the signal.",
|
429
|
+
"function": "vbi.feature_extraction.features.spectrum_stats",
|
430
|
+
"parameters": {
|
431
|
+
"fs": null,
|
432
|
+
"nperseg": null,
|
433
|
+
"indices": null,
|
434
|
+
"verbose": false,
|
435
|
+
"average": false,
|
436
|
+
"method": "fft",
|
437
|
+
"features": [
|
438
|
+
"spectral_distance",
|
439
|
+
"fundamental_frequency",
|
440
|
+
"max_frequency",
|
441
|
+
"max_psd",
|
442
|
+
"median_frequency",
|
443
|
+
"spectral_centroid",
|
444
|
+
"spectral_kurtosis",
|
445
|
+
"spectral_variation"
|
446
|
+
]
|
447
|
+
},
|
448
|
+
"use": "yes",
|
449
|
+
"tag": "all"
|
450
|
+
},
|
451
|
+
|
452
|
+
"spectrum_moments": {
|
453
|
+
"description": "Computes the spectrum of the signal.",
|
454
|
+
"function": "vbi.feature_extraction.features.spectrum_moments",
|
455
|
+
"parameters": {
|
456
|
+
"fs": null,
|
457
|
+
"nperseg": null,
|
458
|
+
"method": "fft",
|
459
|
+
"moments": [2, 3, 4, 5, 6],
|
460
|
+
"normalize": false,
|
461
|
+
"verbose": false,
|
462
|
+
"indices": null
|
463
|
+
},
|
464
|
+
"use": "yes",
|
465
|
+
"tag": "all"
|
466
|
+
},
|
467
|
+
|
468
|
+
"spectrum_auc": {
|
469
|
+
"description": "Computes the area under the curve of the signal computed with trapezoid rule.",
|
470
|
+
"function": "vbi.feature_extraction.features.spectrum_auc",
|
471
|
+
"parameters": {
|
472
|
+
"fs": null,
|
473
|
+
"nperseg": null,
|
474
|
+
"method": "fft",
|
475
|
+
"average": false,
|
476
|
+
"verbose": false,
|
477
|
+
"bands": [
|
478
|
+
[0, 4],
|
479
|
+
[4, 8],
|
480
|
+
[8, 12],
|
481
|
+
[12, 30],
|
482
|
+
[30, 70]
|
483
|
+
],
|
484
|
+
"indices": null
|
485
|
+
},
|
486
|
+
"use": "yes",
|
487
|
+
"tag": "all"
|
488
|
+
},
|
489
|
+
|
490
|
+
"psd_raw": {
|
491
|
+
"description": "Computes the power spectral density of the signal.",
|
492
|
+
"function": "vbi.feature_extraction.features.psd_raw",
|
493
|
+
"parameters": {
|
494
|
+
"fs": null,
|
495
|
+
"bands": [
|
496
|
+
[0, 4],
|
497
|
+
[4, 8],
|
498
|
+
[8, 12],
|
499
|
+
[12, 30],
|
500
|
+
[30, 70]
|
501
|
+
],
|
502
|
+
"df": null,
|
503
|
+
"nperseg": null,
|
504
|
+
"method": "fft",
|
505
|
+
"average": false,
|
506
|
+
"normalize": false,
|
507
|
+
"normalize_to": null,
|
508
|
+
"indices": null,
|
509
|
+
"verbose": false
|
510
|
+
},
|
511
|
+
"use": "yes",
|
512
|
+
"tag": ["eeg", "seeg", "meg"]
|
513
|
+
}
|
514
|
+
},
|
515
|
+
|
516
|
+
"hmm": {
|
517
|
+
"hmm_stat": {
|
518
|
+
"description": "Calculate the transition matrix and state duration of the HMM.",
|
519
|
+
"function": "vbi.feature_extraction.features.hmm_stat",
|
520
|
+
"parameters": {
|
521
|
+
"node_indices": null,
|
522
|
+
"n_states": 4,
|
523
|
+
"n_iter": 100,
|
524
|
+
"seed": null,
|
525
|
+
"tcut": 5,
|
526
|
+
"bins": 10,
|
527
|
+
"method": "em",
|
528
|
+
"observations": "gaussian",
|
529
|
+
"verbose": false
|
530
|
+
},
|
531
|
+
"use": "yes",
|
532
|
+
"tag": "all"
|
533
|
+
}
|
534
|
+
}
|
535
|
+
}
|