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==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

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.4.tar.gz (53.3 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.4-py3-none-any.whl (76.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: megnet_neuro-0.3.4.tar.gz
  • Upload date:
  • Size: 53.3 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.4.tar.gz
Algorithm Hash digest
SHA256 ba96ffe9c85046964d6f7c2f2fb6fbc453bc73937f28916ff97c426e7244dd58
MD5 636ca8b4392250e75af136d99d7e1328
BLAKE2b-256 512339f6bf268b53a2fbff3c5dc140ebe2a0a64e325f1c00d8224dc2d2da8b34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: megnet_neuro-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 76.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 df07d798a7122af5fbc1b1d41eb89d4fe2da2dc05e90603ebba7a040c2cd8777
MD5 fdf9f20718141bd3c028f5af8be03943
BLAKE2b-256 570e63dc620cfe086d422119844c0648a02580507c0146116a0b25cdecedfbe4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.5

2 files

This release

0.3.4 This release

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