Skip to content

neuromodulation/AcrossPatientDecodingModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AcrossPatientDecodingModel

This package demonstrates the use of the across-patient and cohort movement decoding model, presented in the publication "Invasive neurophysiology and whole brain connectomics for neural decoding in patients with brain implants" [1].

We recommend installing the package using rye:

git clone https://github.com/neuromodulation/AcrossPatientDecodingModel.git
rye pin 3.10
rye sync
.\.venv\Scripts\activate

An example script, including the respective feature estimation, is shown in the src/run_model.py.

import py_neuromodulation as nm
import skops

model = skops.io.load("movement_decoder.skops")

stream = nm.Stream(...)
features = stream.run()

model.predict(features.to_numpy())

References

[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).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages