Skip to main content

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-tf'
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

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.5.tar.gz (53.5 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.5-py3-none-any.whl (76.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: megnet_neuro-0.3.5.tar.gz
  • Upload date:
  • Size: 53.5 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.5.tar.gz
Algorithm Hash digest
SHA256 d5c6e83cf1f030a1fdec48314bdd024e05440a57edbc8578e9326f4756c5fea4
MD5 d0a5f9bf68b7eed31c0b1e70798d8994
BLAKE2b-256 993d5c1e37f72ef10f0802941e9d47575efc7499cd0958e38e158baef81f48f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: megnet_neuro-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 76.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f31b74e33542143e2b053f8c23f127d6cda113e514cd0dbd16b4df8cb843d00a
MD5 17dd6ac0c80ce57a9a5d35bb5d7bd1e0
BLAKE2b-256 3d4761c163c87cb3036b2c098e53e944874689f8e871689da4b1fad5be209e84

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page