Skip to main content

Package to calculate and classify ICAs using MEGNET deep learning architecture

Project description

MEGNET

megnet-tests

This repository is a fork of the code listed below in the original code reference. This repository adds an automated processing wrapper and python package installation around the original codebase. The current codebase utilizes mne python to preprocess the data, generate the infomax ICA components (n=20), circular topography maps, and timeseries outputs. The architecture of neural net has been preserved, however, the weights have been reset to uniform distribution and retrained using repository data from MEGIN, CTF, 4D, and KIT systems.

Install (pytorch based version)

Tested compatability: (mne 1.10/1.11/1.12 & python 3.11/3.12/3.13/3.14)

conda create -n megnet 'mne>=1.10' 'python>3.10'
conda activate megnet
pip install MEGnet-neuro
megnet_init  #Download model weights from hugging face

Install (tensorflow based version)

Tested compatability: (mne 1.10/1.11/1.12 & python 3.10/3.11/3.12/3.13) (py restricted by tensorflow builds)

conda create -n megnet 'mne>=1.10' 'python<3.14'
conda activate megnet
pip install 'MEGnet-neuro=0.3.2'
megnet_init #Download model weights from hugging face

Original Code Repository

https://github.com/DeepLearningForPrecisionHealthLab/MegNET_2020
Manuscript available: https://pubmed.ncbi.nlm.nih.gov/34274419/
DOI: https://doi.org/10.1016/j.neuroimage.2021.118402
PMID: 34274419

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

megnet_neuro-0.3.3.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

megnet_neuro-0.3.3-py3-none-any.whl (70.3 kB view details)

Uploaded Python 3

File details

Details for the file megnet_neuro-0.3.3.tar.gz.

File metadata

  • Download URL: megnet_neuro-0.3.3.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for megnet_neuro-0.3.3.tar.gz
Algorithm Hash digest
SHA256 91f529a53409861e1b4e61f625dfc53971df7fc325b602ec8fed47aa7eda9d97
MD5 32cf69b4d55795fa60a43c1a89d43e98
BLAKE2b-256 d8b00fa9b37165fcc045544c92f29ce35abb4d4598138a52970a39034f797aad

See more details on using hashes here.

File details

Details for the file megnet_neuro-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: megnet_neuro-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 70.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for megnet_neuro-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cfc36bfbbef977ad4ec9153d461da71410710223720e534f239a0a1ac6c6f608
MD5 ddab9a5d16a27b76100a5fcc2c4369e4
BLAKE2b-256 4bab31ba8700f8761c11c5a9854aa615617c7b91069c5c7d74ba1d31d930a5c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page