py-neuromodulation 0.0.3__tar.gz → 0.0.5__tar.gz
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.
- py_neuromodulation-0.0.5/.gitignore +196 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/LICENSE +21 -21
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/PKG-INFO +185 -182
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/README.rst +98 -111
- py_neuromodulation-0.0.5/examples/README.rst +4 -0
- py_neuromodulation-0.0.5/examples/example_cebra_decoding.html +8360 -0
- py_neuromodulation-0.0.5/examples/example_cebra_decoding.ipynb +796 -0
- py_neuromodulation-0.0.5/examples/example_rmap.ipynb +259 -0
- py_neuromodulation-0.0.5/examples/plot_2_example_add_feature.py +90 -0
- {py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/7e92dd2e6cc86b239d14cafad972ae4f → py_neuromodulation-0.0.5/examples}/plot_3_example_sharpwave_analysis.py +332 -219
- {py_neuromodulation-0.0.3/docs/source/auto_examples → py_neuromodulation-0.0.5/examples}/plot_4_example_gridPointProjection.py +209 -210
- {py_neuromodulation-0.0.3/docs/build/html/_downloads/ce3914826f782cbd1ea8fd024eaf0ac3 → py_neuromodulation-0.0.5/examples}/plot_5_example_rmap_computing.py +63 -64
- {py_neuromodulation-0.0.3/docs/source/auto_examples → py_neuromodulation-0.0.5/examples}/plot_6_real_time_demo.py +121 -121
- py_neuromodulation-0.0.5/examples/plot_7_lsl_example.py +134 -0
- py_neuromodulation-0.0.5/examples/plot_8_cebra_example.py +29 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/Automated Anatomical Labeling 3 (Rolls 2020).nii +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/_get_grid_hull.m +34 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/_get_grid_whole_brain.py +95 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/_helper_write_connectome.py +107 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/mni_coords_cortical_surface.mat +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/mni_coords_whole_brain.mat +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/rmap_func_all.nii +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/ConnectivityDecoding/rmap_struc.nii +0 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/FieldTrip.py +589 -589
- py_neuromodulation-0.0.5/py_neuromodulation/__init__.py +74 -0
- py_neuromodulation-0.0.5/py_neuromodulation/_write_example_dataset_helper.py +83 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/README +6 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/dataset_description.json +8 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/participants.json +32 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/participants.tsv +2 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_space-mni_coordsystem.json +5 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_space-mni_electrodes.tsv +11 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_channels.tsv +11 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.eeg +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.json +18 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.vhdr +35 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/ieeg/sub-testsub_ses-EphysMedOff_task-gripforce_run-0_ieeg.vmrk +13 -0
- py_neuromodulation-0.0.5/py_neuromodulation/data/sub-testsub/ses-EphysMedOff/sub-testsub_ses-EphysMedOff_scans.tsv +2 -0
- py_neuromodulation-0.0.5/py_neuromodulation/grid_cortex.tsv +40 -0
- py_neuromodulation-0.0.5/py_neuromodulation/grid_subcortex.tsv +1429 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/libpugixml.so.1.12 +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/linux/bionic_amd64/liblsl.1.16.2.so +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/linux/bookworm_amd64/liblsl.1.16.2.so +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/linux/focal_amd46/liblsl.1.16.2.so +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/linux/jammy_amd64/liblsl.1.16.2.so +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/linux/jammy_x86/liblsl.1.16.2.so +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/linux/noble_amd64/liblsl.1.16.2.so +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/macos/amd64/liblsl.1.16.2.dylib +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/macos/arm64/liblsl.1.16.0.dylib +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/windows/amd64/liblsl.1.16.2.dll +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/liblsl/windows/x86/liblsl.1.16.2.dll +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_IO.py +413 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_RMAP.py +496 -531
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_analysis.py +993 -1074
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_artifacts.py +30 -25
- py_neuromodulation-0.0.5/py_neuromodulation/nm_bispectra.py +154 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_bursts.py +292 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_coherence.py +251 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_database.py +149 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_decode.py +918 -992
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_define_nmchannels.py +300 -302
- py_neuromodulation-0.0.5/py_neuromodulation/nm_features.py +144 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_filter.py +219 -219
- py_neuromodulation-0.0.5/py_neuromodulation/nm_filter_preprocessing.py +79 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_fooof.py +139 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_generator.py +45 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_hjorth_raw.py +52 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_kalmanfilter.py +71 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_linelength.py +21 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_logger.py +66 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_mne_connectivity.py +149 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_mnelsl_generator.py +90 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_mnelsl_stream.py +116 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_nolds.py +96 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_normalization.py +173 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_oscillatory.py +423 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_plots.py +585 -612
- py_neuromodulation-0.0.5/py_neuromodulation/nm_preprocessing.py +83 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_projection.py +370 -394
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_rereference.py +97 -95
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_resample.py +59 -50
- py_neuromodulation-0.0.5/py_neuromodulation/nm_run_analysis.py +325 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_settings.py +289 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_settings.yaml +244 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_sharpwaves.py +423 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/nm_stats.py +464 -480
- py_neuromodulation-0.0.5/py_neuromodulation/nm_stream.py +398 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_stream_abc.py +166 -0
- py_neuromodulation-0.0.5/py_neuromodulation/nm_types.py +193 -0
- py_neuromodulation-0.0.5/py_neuromodulation/plots/STN_surf.mat +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/plots/Vertices.mat +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/plots/faces.mat +0 -0
- py_neuromodulation-0.0.5/py_neuromodulation/plots/grid.mat +0 -0
- py_neuromodulation-0.0.5/pyproject.toml +105 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/conftest.py +164 -117
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_all_examples.py +10 -10
- py_neuromodulation-0.0.5/tests/test_all_features.py +55 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_bispectra.py +60 -70
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_bursts.py +101 -105
- py_neuromodulation-0.0.5/tests/test_database.py +33 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_feature_sampling_rates.py +161 -143
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_fooof.py +13 -16
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_initalization_offline_stream.py +41 -41
- py_neuromodulation-0.0.5/tests/test_lsl_stream.py +94 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_nan_values.py +25 -29
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_nm_filter.py +96 -95
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_nm_resample.py +64 -63
- py_neuromodulation-0.0.5/tests/test_normalization_settings.py +152 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_notch_filter.py +29 -31
- py_neuromodulation-0.0.5/tests/test_osc_features.py +412 -0
- py_neuromodulation-0.0.5/tests/test_preprocessing_filter.py +125 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_rereference.py +164 -171
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_sampling.py +58 -57
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_settings_change_after_init.py +71 -76
- py_neuromodulation-0.0.5/tests/test_sharpwave.py +129 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_target_channel_add.py +96 -100
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/test_timing.py +78 -80
- py_neuromodulation-0.0.3/docs/build/_downloads/09df217f95985497f45d69e2d4bdc5b1/plot_2_example_add_feature.py +0 -68
- py_neuromodulation-0.0.3/docs/build/_downloads/3b4900a2b2818ff30362215b76f7d5eb/plot_1_example_BIDS.py +0 -233
- py_neuromodulation-0.0.3/docs/build/_downloads/7e92dd2e6cc86b239d14cafad972ae4f/plot_3_example_sharpwave_analysis.py +0 -219
- py_neuromodulation-0.0.3/docs/build/_downloads/c2db0bf2b334d541b00662b991682256/plot_6_real_time_demo.py +0 -97
- py_neuromodulation-0.0.3/docs/build/_downloads/ce3914826f782cbd1ea8fd024eaf0ac3/plot_5_example_rmap_computing.py +0 -64
- py_neuromodulation-0.0.3/docs/build/_downloads/da36848a41e6a3235d91fb7cfb6d59b4/plot_0_first_demo.py +0 -192
- py_neuromodulation-0.0.3/docs/build/_downloads/eaa4305c75b19a1e2eea941f742a6331/plot_4_example_gridPointProjection.py +0 -210
- py_neuromodulation-0.0.3/docs/build/html/_downloads/09df217f95985497f45d69e2d4bdc5b1/plot_2_example_add_feature.py +0 -68
- py_neuromodulation-0.0.3/docs/build/html/_downloads/3b4900a2b2818ff30362215b76f7d5eb/plot_1_example_BIDS.py +0 -239
- py_neuromodulation-0.0.3/docs/build/html/_downloads/7e92dd2e6cc86b239d14cafad972ae4f/plot_3_example_sharpwave_analysis.py +0 -219
- py_neuromodulation-0.0.3/docs/build/html/_downloads/c2db0bf2b334d541b00662b991682256/plot_6_real_time_demo.py +0 -97
- py_neuromodulation-0.0.3/docs/build/html/_downloads/da36848a41e6a3235d91fb7cfb6d59b4/plot_0_first_demo.py +0 -192
- py_neuromodulation-0.0.3/docs/build/html/_downloads/eaa4305c75b19a1e2eea941f742a6331/plot_4_example_gridPointProjection.py +0 -210
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/09df217f95985497f45d69e2d4bdc5b1/plot_2_example_add_feature.py +0 -76
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/0d0d0a76e8f648d5d3cbc47da6351932/plot_real_time_demo.py +0 -97
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/3b4900a2b2818ff30362215b76f7d5eb/plot_1_example_BIDS.py +0 -240
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/5d73cadc59a8805c47e3b84063afc157/plot_example_BIDS.py +0 -233
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/7660317fa5a6bfbd12fcca9961457fc4/plot_example_rmap_computing.py +0 -63
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/839e5b319379f7fd9e867deb00fd797f/plot_example_gridPointProjection.py +0 -210
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/ae8be19afe5e559f011fc9b138968ba0/plot_first_demo.py +0 -192
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/b8b06cacc17969d3725a0b6f1d7741c5/plot_example_sharpwave_analysis.py +0 -219
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/c2db0bf2b334d541b00662b991682256/plot_6_real_time_demo.py +0 -121
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/c31a86c0b68cb4167d968091ace8080d/plot_example_add_feature.py +0 -68
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/ce3914826f782cbd1ea8fd024eaf0ac3/plot_5_example_rmap_computing.py +0 -64
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/da36848a41e6a3235d91fb7cfb6d59b4/plot_0_first_demo.py +0 -189
- py_neuromodulation-0.0.3/docs/source/_build/html/_downloads/eaa4305c75b19a1e2eea941f742a6331/plot_4_example_gridPointProjection.py +0 -210
- py_neuromodulation-0.0.3/docs/source/auto_examples/plot_0_first_demo.py +0 -189
- py_neuromodulation-0.0.3/docs/source/auto_examples/plot_1_example_BIDS.py +0 -240
- py_neuromodulation-0.0.3/docs/source/auto_examples/plot_2_example_add_feature.py +0 -76
- py_neuromodulation-0.0.3/docs/source/auto_examples/plot_3_example_sharpwave_analysis.py +0 -219
- py_neuromodulation-0.0.3/docs/source/auto_examples/plot_5_example_rmap_computing.py +0 -64
- py_neuromodulation-0.0.3/docs/source/conf.py +0 -105
- py_neuromodulation-0.0.3/examples/plot_0_first_demo.py +0 -189
- py_neuromodulation-0.0.3/examples/plot_1_example_BIDS.py +0 -240
- py_neuromodulation-0.0.3/examples/plot_2_example_add_feature.py +0 -76
- py_neuromodulation-0.0.3/examples/plot_3_example_sharpwave_analysis.py +0 -219
- py_neuromodulation-0.0.3/examples/plot_4_example_gridPointProjection.py +0 -210
- py_neuromodulation-0.0.3/examples/plot_5_example_rmap_computing.py +0 -64
- py_neuromodulation-0.0.3/examples/plot_6_real_time_demo.py +0 -121
- py_neuromodulation-0.0.3/packages/realtime_decoding/build/lib/realtime_decoding/__init__.py +0 -4
- py_neuromodulation-0.0.3/packages/realtime_decoding/build/lib/realtime_decoding/decoder.py +0 -104
- py_neuromodulation-0.0.3/packages/realtime_decoding/build/lib/realtime_decoding/features.py +0 -163
- py_neuromodulation-0.0.3/packages/realtime_decoding/build/lib/realtime_decoding/helpers.py +0 -15
- py_neuromodulation-0.0.3/packages/realtime_decoding/build/lib/realtime_decoding/run_decoding.py +0 -345
- py_neuromodulation-0.0.3/packages/realtime_decoding/build/lib/realtime_decoding/trainer.py +0 -54
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/__init__.py +0 -37
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_formats/__init__.py +0 -36
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_formats/lsl_stream_writer.py +0 -200
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_formats/poly5_file_writer.py +0 -496
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_formats/poly5_to_edf_converter.py +0 -236
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_formats/xdf_file_writer.py +0 -977
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_readers/__init__.py +0 -35
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_readers/edf_reader.py +0 -116
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_readers/poly5reader.py +0 -294
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_readers/xdf_reader.py +0 -229
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiFileFormats/file_writer.py +0 -102
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/__init__.py +0 -2
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/gui/__init__.py +0 -39
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/gui/_plotter_gui.py +0 -234
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/gui/plotting_gui.py +0 -440
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/plotters/__init__.py +0 -44
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/plotters/hd_emg_plotter.py +0 -446
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/plotters/impedance_plotter.py +0 -589
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiPlotters/plotters/signal_plotter.py +0 -1326
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/__init__.py +0 -54
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/device.py +0 -588
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/devices/__init__.py +0 -34
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/devices/saga/TMSi_Device_API.py +0 -1764
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/devices/saga/__init__.py +0 -34
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/devices/saga/saga_device.py +0 -1366
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/devices/saga/saga_types.py +0 -520
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/devices/saga/xml_saga_config.py +0 -165
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/error.py +0 -95
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/sample_data.py +0 -63
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/sample_data_server.py +0 -99
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/settings.py +0 -45
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/TMSiSDK/tmsi_device.py +0 -111
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/__init__.py +0 -4
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/__init__.py +0 -34
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/__init__.py +0 -41
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_API.py +0 -1009
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_API_enums.py +0 -239
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_API_structures.py +0 -668
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_device.py +0 -1611
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_dongle.py +0 -38
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_event_reader.py +0 -57
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_channel.py +0 -44
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_config.py +0 -150
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_const.py +0 -36
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_impedance_channel.py +0 -48
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/apex_info.py +0 -108
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/apex_structures/dongle_info.py +0 -39
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/measurements/download_measurement.py +0 -77
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/measurements/eeg_measurement.py +0 -150
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/devices/apex/measurements/impedance_measurement.py +0 -129
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/threads/conversion_thread.py +0 -59
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/threads/sampling_thread.py +0 -57
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/tmsi_channel.py +0 -83
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/tmsi_device.py +0 -201
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/tmsi_device_enums.py +0 -103
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/tmsi_dongle.py +0 -43
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/tmsi_event_reader.py +0 -50
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/device/tmsi_measurement.py +0 -118
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/sample_data_server/__init__.py +0 -33
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/sample_data_server/event_data.py +0 -44
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/sample_data_server/sample_data.py +0 -50
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/sample_data_server/sample_data_server.py +0 -136
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_errors/error.py +0 -126
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_sdk.py +0 -113
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_utilities/apex/apex_structure_generator.py +0 -134
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_utilities/decorators.py +0 -60
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_utilities/logger_filter.py +0 -42
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_utilities/singleton.py +0 -42
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_utilities/support_functions.py +0 -72
- py_neuromodulation-0.0.3/packages/tmsi/build/lib/apex_sdk/tmsi_utilities/tmsi_logger.py +0 -98
- py_neuromodulation-0.0.3/py_neuromodulation/__init__.py +0 -13
- py_neuromodulation-0.0.3/py_neuromodulation/_write_example_dataset_helper.py +0 -65
- py_neuromodulation-0.0.3/py_neuromodulation/nm_EpochStream.py +0 -92
- py_neuromodulation-0.0.3/py_neuromodulation/nm_IO.py +0 -417
- py_neuromodulation-0.0.3/py_neuromodulation/nm_across_patient_decoding.py +0 -927
- py_neuromodulation-0.0.3/py_neuromodulation/nm_bispectra.py +0 -168
- py_neuromodulation-0.0.3/py_neuromodulation/nm_bursts.py +0 -198
- py_neuromodulation-0.0.3/py_neuromodulation/nm_coherence.py +0 -205
- py_neuromodulation-0.0.3/py_neuromodulation/nm_cohortwrapper.py +0 -435
- py_neuromodulation-0.0.3/py_neuromodulation/nm_eval_timing.py +0 -239
- py_neuromodulation-0.0.3/py_neuromodulation/nm_features.py +0 -116
- py_neuromodulation-0.0.3/py_neuromodulation/nm_features_abc.py +0 -39
- py_neuromodulation-0.0.3/py_neuromodulation/nm_filter_preprocessing.py +0 -91
- py_neuromodulation-0.0.3/py_neuromodulation/nm_fooof.py +0 -159
- py_neuromodulation-0.0.3/py_neuromodulation/nm_generator.py +0 -37
- py_neuromodulation-0.0.3/py_neuromodulation/nm_hjorth_raw.py +0 -73
- py_neuromodulation-0.0.3/py_neuromodulation/nm_kalmanfilter.py +0 -58
- py_neuromodulation-0.0.3/py_neuromodulation/nm_linelength.py +0 -33
- py_neuromodulation-0.0.3/py_neuromodulation/nm_mne_connectivity.py +0 -112
- py_neuromodulation-0.0.3/py_neuromodulation/nm_nolds.py +0 -93
- py_neuromodulation-0.0.3/py_neuromodulation/nm_normalization.py +0 -214
- py_neuromodulation-0.0.3/py_neuromodulation/nm_oscillatory.py +0 -448
- py_neuromodulation-0.0.3/py_neuromodulation/nm_run_analysis.py +0 -435
- py_neuromodulation-0.0.3/py_neuromodulation/nm_settings.py +0 -68
- py_neuromodulation-0.0.3/py_neuromodulation/nm_sharpwaves.py +0 -401
- py_neuromodulation-0.0.3/py_neuromodulation/nm_stream_abc.py +0 -218
- py_neuromodulation-0.0.3/py_neuromodulation/nm_stream_offline.py +0 -358
- py_neuromodulation-0.0.3/py_neuromodulation/utils/_logging.py +0 -24
- py_neuromodulation-0.0.3/py_neuromodulation.egg-info/PKG-INFO +0 -182
- py_neuromodulation-0.0.3/py_neuromodulation.egg-info/SOURCES.txt +0 -191
- py_neuromodulation-0.0.3/py_neuromodulation.egg-info/dependency_links.txt +0 -1
- py_neuromodulation-0.0.3/py_neuromodulation.egg-info/requires.txt +0 -33
- py_neuromodulation-0.0.3/py_neuromodulation.egg-info/top_level.txt +0 -9
- py_neuromodulation-0.0.3/pyproject.toml +0 -102
- py_neuromodulation-0.0.3/setup.cfg +0 -4
- py_neuromodulation-0.0.3/tests/test_all_features.py +0 -63
- py_neuromodulation-0.0.3/tests/test_multiprocessing.py +0 -58
- py_neuromodulation-0.0.3/tests/test_normalization_settings.py +0 -146
- py_neuromodulation-0.0.3/tests/test_osc_features.py +0 -424
- py_neuromodulation-0.0.3/tests/test_preprocessing_filter.py +0 -151
- py_neuromodulation-0.0.3/tests/test_sharpwave.py +0 -165
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/py_neuromodulation/utils/__init__.py +0 -0
- {py_neuromodulation-0.0.3 → py_neuromodulation-0.0.5}/tests/__init__.py +0 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# Distribution / packaging
|
|
7
|
+
.pypirc/
|
|
8
|
+
.Python
|
|
9
|
+
build/
|
|
10
|
+
develop-eggs/
|
|
11
|
+
dist/
|
|
12
|
+
downloads/
|
|
13
|
+
eggs/
|
|
14
|
+
.eggs/
|
|
15
|
+
lib/
|
|
16
|
+
lib64/
|
|
17
|
+
parts/
|
|
18
|
+
sdist/
|
|
19
|
+
var/
|
|
20
|
+
wheels/
|
|
21
|
+
pip-wheel-metadata/
|
|
22
|
+
share/python-wheels/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
MANIFEST
|
|
27
|
+
|
|
28
|
+
# PyInstaller
|
|
29
|
+
# Usually these files are written by a python script from a template
|
|
30
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
31
|
+
*.manifest
|
|
32
|
+
*.spec
|
|
33
|
+
|
|
34
|
+
# Installer logs
|
|
35
|
+
pip-log.txt
|
|
36
|
+
pip-delete-this-directory.txt
|
|
37
|
+
|
|
38
|
+
# Unit test / coverage reports
|
|
39
|
+
htmlcov/
|
|
40
|
+
.tox/
|
|
41
|
+
.nox/
|
|
42
|
+
.coverage
|
|
43
|
+
.coverage.*
|
|
44
|
+
.cache
|
|
45
|
+
nosetests.xml
|
|
46
|
+
coverage.xml
|
|
47
|
+
*.cover
|
|
48
|
+
*.py,cover
|
|
49
|
+
.hypothesis/
|
|
50
|
+
.pytest_cache/
|
|
51
|
+
/test_data
|
|
52
|
+
|
|
53
|
+
# Translations
|
|
54
|
+
*.mo
|
|
55
|
+
*.pot
|
|
56
|
+
|
|
57
|
+
# Django stuff:
|
|
58
|
+
*.log
|
|
59
|
+
local_settings.py
|
|
60
|
+
db.sqlite3
|
|
61
|
+
db.sqlite3-journal
|
|
62
|
+
|
|
63
|
+
# Flask stuff:
|
|
64
|
+
instance/
|
|
65
|
+
.webassets-cache
|
|
66
|
+
|
|
67
|
+
# Scrapy stuff:
|
|
68
|
+
.scrapy
|
|
69
|
+
|
|
70
|
+
# Sphinx documentation
|
|
71
|
+
docs/_build/
|
|
72
|
+
|
|
73
|
+
# PyBuilder
|
|
74
|
+
target/
|
|
75
|
+
|
|
76
|
+
# Jupyter Notebook
|
|
77
|
+
.ipynb_checkpoints
|
|
78
|
+
|
|
79
|
+
# IPython
|
|
80
|
+
profile_default/
|
|
81
|
+
ipython_config.py
|
|
82
|
+
|
|
83
|
+
# pyenv
|
|
84
|
+
.python-version
|
|
85
|
+
|
|
86
|
+
# pipenv
|
|
87
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
88
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
89
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
90
|
+
# install all needed dependencies.
|
|
91
|
+
#Pipfile.lock
|
|
92
|
+
|
|
93
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
94
|
+
__pypackages__/
|
|
95
|
+
|
|
96
|
+
# Celery stuff
|
|
97
|
+
celerybeat-schedule
|
|
98
|
+
celerybeat.pid
|
|
99
|
+
|
|
100
|
+
# SageMath parsed files
|
|
101
|
+
*.sage.py
|
|
102
|
+
|
|
103
|
+
# Environments
|
|
104
|
+
.env
|
|
105
|
+
.venv
|
|
106
|
+
env/
|
|
107
|
+
venv/
|
|
108
|
+
ENV/
|
|
109
|
+
env.bak/
|
|
110
|
+
venv.bak/
|
|
111
|
+
|
|
112
|
+
# Visual Studio Code
|
|
113
|
+
.vscode
|
|
114
|
+
|
|
115
|
+
# PyCharm
|
|
116
|
+
.idea
|
|
117
|
+
|
|
118
|
+
# Spyder project settings
|
|
119
|
+
.spyderproject
|
|
120
|
+
.spyproject
|
|
121
|
+
|
|
122
|
+
# Rope project settings
|
|
123
|
+
.ropeproject
|
|
124
|
+
|
|
125
|
+
# mkdocs documentation
|
|
126
|
+
/site
|
|
127
|
+
|
|
128
|
+
# mypy
|
|
129
|
+
.mypy_cache/
|
|
130
|
+
.dmypy.json
|
|
131
|
+
dmypy.json
|
|
132
|
+
|
|
133
|
+
# Pyre type checker
|
|
134
|
+
.pyre/
|
|
135
|
+
|
|
136
|
+
# Ignore pickles
|
|
137
|
+
*.pkl
|
|
138
|
+
**/*.pkl
|
|
139
|
+
*.p
|
|
140
|
+
|
|
141
|
+
.pdf
|
|
142
|
+
|
|
143
|
+
sphinx/sub/*
|
|
144
|
+
|
|
145
|
+
docs/build/*
|
|
146
|
+
docs/source/_build/*
|
|
147
|
+
docs/previous/*
|
|
148
|
+
docs/source/auto_examples/*
|
|
149
|
+
docs/source/data/*
|
|
150
|
+
|
|
151
|
+
examples/data/derivatives/*
|
|
152
|
+
examples/other_examples/*
|
|
153
|
+
examples/plot_7_lsl_example.ipynb
|
|
154
|
+
examples/lange_n8.ipynb
|
|
155
|
+
|
|
156
|
+
examples/sub/*
|
|
157
|
+
examples/utils/*
|
|
158
|
+
examples/temp_raw.fif
|
|
159
|
+
|
|
160
|
+
sub/
|
|
161
|
+
|
|
162
|
+
py_neuromodulation/data/derivatives/*
|
|
163
|
+
|
|
164
|
+
.python-version
|
|
165
|
+
|
|
166
|
+
py_neuromodulation/ConnectivityDecoding/connectome_folder/*
|
|
167
|
+
|
|
168
|
+
plot_0_first_demo.py
|
|
169
|
+
plot_1_example_BIDS.py
|
|
170
|
+
temp_raw.fif
|
|
171
|
+
|
|
172
|
+
requirements.lock
|
|
173
|
+
requirements-dev.lock
|
|
174
|
+
|
|
175
|
+
docs/source/bin/pandoc
|
|
176
|
+
|
|
177
|
+
docs/source/sg_execution_times.rst
|
|
178
|
+
|
|
179
|
+
figures_ucsf/*
|
|
180
|
+
catboost_info/*
|
|
181
|
+
out_per
|
|
182
|
+
.DS_Store
|
|
183
|
+
|
|
184
|
+
# Temp dev files
|
|
185
|
+
# Testing scripts
|
|
186
|
+
/*.py
|
|
187
|
+
# Stream output
|
|
188
|
+
/*.csv
|
|
189
|
+
/*.db
|
|
190
|
+
/*.sqlite
|
|
191
|
+
# Profiler files
|
|
192
|
+
/*.prof
|
|
193
|
+
/profiling/*
|
|
194
|
+
|
|
195
|
+
gui_dev/node_modules/*
|
|
196
|
+
test/data/*
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Interventional Cognitive Neuromodulation - Neumann Lab Berlin
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Interventional Cognitive Neuromodulation - Neumann Lab Berlin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,182 +1,185 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name: py_neuromodulation
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary: Real-time analysis of intracranial neurophysiology recordings.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Keywords:
|
|
32
|
-
Classifier: Development Status :: 2 - Pre-Alpha
|
|
33
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
34
|
-
Classifier: Programming Language :: Python
|
|
35
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
36
|
-
Requires-Python: >=3.10
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
Requires-Dist:
|
|
40
|
-
Requires-Dist:
|
|
41
|
-
Requires-Dist:
|
|
42
|
-
Requires-Dist:
|
|
43
|
-
Requires-Dist:
|
|
44
|
-
Requires-Dist: mne-bids>=0.8
|
|
45
|
-
Requires-Dist: mne-connectivity
|
|
46
|
-
Requires-Dist:
|
|
47
|
-
Requires-Dist:
|
|
48
|
-
Requires-Dist:
|
|
49
|
-
Requires-Dist:
|
|
50
|
-
Requires-Dist:
|
|
51
|
-
Requires-Dist:
|
|
52
|
-
Requires-Dist:
|
|
53
|
-
Requires-Dist:
|
|
54
|
-
Requires-Dist:
|
|
55
|
-
Requires-Dist:
|
|
56
|
-
Requires-Dist:
|
|
57
|
-
Requires-Dist:
|
|
58
|
-
Requires-Dist:
|
|
59
|
-
Requires-Dist:
|
|
60
|
-
Requires-Dist:
|
|
61
|
-
Requires-Dist:
|
|
62
|
-
Requires-Dist:
|
|
63
|
-
Requires-Dist:
|
|
64
|
-
Requires-Dist:
|
|
65
|
-
|
|
66
|
-
Requires-Dist:
|
|
67
|
-
|
|
68
|
-
Requires-Dist:
|
|
69
|
-
Requires-Dist: pytest; extra ==
|
|
70
|
-
Requires-Dist:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
*
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
The
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
information
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: py_neuromodulation
|
|
3
|
+
Version: 0.0.5
|
|
4
|
+
Summary: Real-time analysis of intracranial neurophysiology recordings.
|
|
5
|
+
Project-URL: bugtracker, https://github.com/neuromodulation/py_neuromodulation/issues
|
|
6
|
+
Project-URL: repository, https://github.com/neuromodulation/py_neuromodulation
|
|
7
|
+
Author-email: Timon Merk <timon.merk@charite.de>
|
|
8
|
+
Maintainer: Timon Merk
|
|
9
|
+
License: MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2021 Interventional Cognitive Neuromodulation - Neumann Lab Berlin
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Keywords: dbs,deep-brain-stimulation,ecog,eeg,electrocorticography,ieeg,machine-learning,real-time
|
|
32
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
33
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
34
|
+
Classifier: Programming Language :: Python
|
|
35
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
36
|
+
Requires-Python: >=3.10
|
|
37
|
+
Requires-Dist: filterpy>=1.4.5
|
|
38
|
+
Requires-Dist: fooof
|
|
39
|
+
Requires-Dist: hatch>=1.9.4
|
|
40
|
+
Requires-Dist: imbalanced-learn
|
|
41
|
+
Requires-Dist: joblib>=1.3.2
|
|
42
|
+
Requires-Dist: matplotlib>=3.9.0
|
|
43
|
+
Requires-Dist: mne
|
|
44
|
+
Requires-Dist: mne-bids>=0.8
|
|
45
|
+
Requires-Dist: mne-connectivity
|
|
46
|
+
Requires-Dist: mne-lsl>=1.2.0
|
|
47
|
+
Requires-Dist: mrmr-selection
|
|
48
|
+
Requires-Dist: nibabel>=5.2.1
|
|
49
|
+
Requires-Dist: nolds
|
|
50
|
+
Requires-Dist: numpy>=1.21.2
|
|
51
|
+
Requires-Dist: pandas>=2.0.0
|
|
52
|
+
Requires-Dist: pip>=24.2
|
|
53
|
+
Requires-Dist: pyarrow>=14.0.2
|
|
54
|
+
Requires-Dist: pybispectra>=1.0.0
|
|
55
|
+
Requires-Dist: pydantic>=2.7.3
|
|
56
|
+
Requires-Dist: pynput
|
|
57
|
+
Requires-Dist: pyparrm
|
|
58
|
+
Requires-Dist: pyqt5
|
|
59
|
+
Requires-Dist: scikit-image
|
|
60
|
+
Requires-Dist: scikit-learn>=0.24.2
|
|
61
|
+
Requires-Dist: scikit-optimize
|
|
62
|
+
Requires-Dist: scipy>=1.7.1
|
|
63
|
+
Requires-Dist: seaborn>=0.11
|
|
64
|
+
Requires-Dist: statsmodels
|
|
65
|
+
Provides-Extra: dev
|
|
66
|
+
Requires-Dist: notebook; extra == 'dev'
|
|
67
|
+
Requires-Dist: pytest-cov; extra == 'dev'
|
|
68
|
+
Requires-Dist: pytest-sugar; extra == 'dev'
|
|
69
|
+
Requires-Dist: pytest>=8.0.2; extra == 'dev'
|
|
70
|
+
Requires-Dist: ruff; extra == 'dev'
|
|
71
|
+
Provides-Extra: docs
|
|
72
|
+
Requires-Dist: notebook; extra == 'docs'
|
|
73
|
+
Requires-Dist: numpydoc; extra == 'docs'
|
|
74
|
+
Requires-Dist: pydata-sphinx-theme; extra == 'docs'
|
|
75
|
+
Requires-Dist: pytest-cov; extra == 'docs'
|
|
76
|
+
Requires-Dist: pytest-sugar; extra == 'docs'
|
|
77
|
+
Requires-Dist: pytest>=8.0.2; extra == 'docs'
|
|
78
|
+
Requires-Dist: recommonmark; extra == 'docs'
|
|
79
|
+
Requires-Dist: ruff; extra == 'docs'
|
|
80
|
+
Requires-Dist: sphinx; extra == 'docs'
|
|
81
|
+
Requires-Dist: sphinx-gallery; extra == 'docs'
|
|
82
|
+
Requires-Dist: sphinx-togglebutton; extra == 'docs'
|
|
83
|
+
Provides-Extra: test
|
|
84
|
+
Requires-Dist: pytest-xdist; extra == 'test'
|
|
85
|
+
Requires-Dist: pytest>=8.0.2; extra == 'test'
|
|
86
|
+
Description-Content-Type: text/x-rst
|
|
87
|
+
|
|
88
|
+
py_neuromodulation
|
|
89
|
+
==================
|
|
90
|
+
|
|
91
|
+
Analyzing neural data can be a troublesome, trial and error prone,
|
|
92
|
+
and beginner unfriendly process. *py_neuromodulation* allows using a simple
|
|
93
|
+
interface for extraction of established neurophysiological features and includes commonly applied pre -and postprocessing methods.
|
|
94
|
+
|
|
95
|
+
Only **time series data** with a corresponding **sampling frequency** are required for feature extraction.
|
|
96
|
+
|
|
97
|
+
The output will be a `pandas.DataFrame <https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html>`_ including different time-resolved computed features. Internally a **stream** get's initialized,
|
|
98
|
+
which resembles an *online* data-stream that can in theory also be be used with a hardware acquisition system.
|
|
99
|
+
|
|
100
|
+
The following features are currently included:
|
|
101
|
+
|
|
102
|
+
* oscillatory: fft, stft or bandpass filtered band power
|
|
103
|
+
* `temporal waveform shape <https://www.sciencedirect.com/science/article/pii/S1364661316302182>`_
|
|
104
|
+
* `fooof <https://fooof-tools.github.io/fooof/>`_
|
|
105
|
+
* `mne_connectivity estimates <https://mne.tools/mne-connectivity/stable/index.html>`_
|
|
106
|
+
* `Hjorth parameter <https://en.wikipedia.org/wiki/Hjorth_parameters>`_
|
|
107
|
+
* `non-linear dynamical estimates <https://nolds.readthedocs.io/en/latest/>`_
|
|
108
|
+
* various burst features
|
|
109
|
+
* line length
|
|
110
|
+
* and more...
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
Find here the preprint of **py_neuromodulation** called *"Invasive neurophysiology and whole brain connectomics for neural decoding in patients with brain implants"* [1]_.
|
|
114
|
+
|
|
115
|
+
The original intention for writing this toolbox was movement decoding from invasive brain signals [2]_.
|
|
116
|
+
The application however could be any neural decoding problem.
|
|
117
|
+
*py_neuromodulation* offers wrappers around common practice machine learning methods for efficient analysis.
|
|
118
|
+
|
|
119
|
+
Find the documentation here http://py-neuromodulation.readthedocs.io for example usage and parametrization.
|
|
120
|
+
|
|
121
|
+
Installation
|
|
122
|
+
============
|
|
123
|
+
|
|
124
|
+
py_neuromodulation requires at least python 3.10. For installation you can use pip:
|
|
125
|
+
|
|
126
|
+
.. code-block::
|
|
127
|
+
|
|
128
|
+
pip install py-neuromodulation
|
|
129
|
+
|
|
130
|
+
Alternatively you can also install the package in a conda environment:
|
|
131
|
+
|
|
132
|
+
.. code-block::
|
|
133
|
+
|
|
134
|
+
conda create -n pynm-test python=3.11
|
|
135
|
+
conda activate pynm-test
|
|
136
|
+
|
|
137
|
+
Then install the packages listed in the `pyproject.toml`:
|
|
138
|
+
|
|
139
|
+
.. code-block::
|
|
140
|
+
|
|
141
|
+
pip install .
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
Optionally the ipython kernel can be specified for the installed pynm-test conda environment:
|
|
145
|
+
|
|
146
|
+
.. code-block::
|
|
147
|
+
|
|
148
|
+
ipython kernel install --user --name=pynm-test
|
|
149
|
+
|
|
150
|
+
Then *py_neuromodulation* can be imported via:
|
|
151
|
+
|
|
152
|
+
.. code-block::
|
|
153
|
+
|
|
154
|
+
import py_neuromodulation as nm
|
|
155
|
+
|
|
156
|
+
Basic Usage
|
|
157
|
+
===========
|
|
158
|
+
|
|
159
|
+
.. code-block:: python
|
|
160
|
+
|
|
161
|
+
import py_neuromodulation as nm
|
|
162
|
+
import numpy as np
|
|
163
|
+
|
|
164
|
+
NUM_CHANNELS = 5
|
|
165
|
+
NUM_DATA = 10000
|
|
166
|
+
sfreq = 1000 # Hz
|
|
167
|
+
sampling_rate_features_hz = 3 # Hz
|
|
168
|
+
|
|
169
|
+
data = np.random.random([NUM_CHANNELS, NUM_DATA])
|
|
170
|
+
|
|
171
|
+
stream = nm.Stream(sfreq=sfreq, data=data, sampling_rate_features_hz=sampling_rate_features_hz)
|
|
172
|
+
features = stream.run()
|
|
173
|
+
|
|
174
|
+
Check the `Usage <https://py-neuromodulation.readthedocs.io/en/latest/usage.html>`_ and `First examples <https://py-neuromodulation.readthedocs.io/en/latest/auto_examples/plot_0_first_demo.html>`_ for further introduction.
|
|
175
|
+
|
|
176
|
+
Contact information
|
|
177
|
+
-------------------
|
|
178
|
+
For any question or suggestion please find my contact
|
|
179
|
+
information at `my GitHub profile <https://github.com/timonmerk>`_.
|
|
180
|
+
|
|
181
|
+
References
|
|
182
|
+
----------
|
|
183
|
+
|
|
184
|
+
.. [1] Merk, T. et al. *Invasive neurophysiology and whole brain connectomics for neural decoding in patients with brain implants*, `https://doi.org/10.21203/rs.3.rs-3212709/v1` (2023).
|
|
185
|
+
.. [2] Merk, T. et al. *Electrocorticography is superior to subthalamic local field potentials for movement decoding in Parkinson’s disease*. Elife 11, e75126, `https://doi.org/10.7554/eLife.75126` (2022).
|