Skip to main content

A Python toolkit for building neuroimaging data pipelines.

Project description

neuralset

A Python toolkit for building neuroimaging data pipelines — from raw data to AI-ready batched tensors.

  • Event-driven processing with typed, validated DataFrames
  • Multi-modal extractors for MEG, EEG, fMRI, EMG, iEEG, text, image, audio, video
  • Caching and remote compute via exca

Install

pip install neuralset

Quick example

import neuralset as ns

# Load a study and build events
study = ns.Study(name="Mne2013Sample", path="./data")

study.download() # ~ 1.6GB

events = study.run()

# Configure extractors
meg = ns.extractors.MegExtractor(frequency=100.0, filter=(0.5, 30))

# Segment around triggers and build a dataset
segmenter = ns.Segmenter(
    extractors=dict(meg=meg),
    trigger_query='type == "Word"',
    start=-0.1, duration=0.5,
)
dataset = segmenter.apply(events)
batch = dataset.load_all()

Citation

Citation coming soon.

Third-Party Content

References to third-party content from other locations are subject to their own licenses and you may have other legal obligations or restrictions that govern your use of that content.

License

This project is licensed under the MIT License. See LICENSE for details.

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

neuralset-0.1.0.tar.gz (195.2 kB view details)

Uploaded Source

Built Distribution

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

neuralset-0.1.0-py3-none-any.whl (222.4 kB view details)

Uploaded Python 3

File details

Details for the file neuralset-0.1.0.tar.gz.

File metadata

  • Download URL: neuralset-0.1.0.tar.gz
  • Upload date:
  • Size: 195.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for neuralset-0.1.0.tar.gz
Algorithm Hash digest
SHA256 74b3c89c6a646aab61e0d1ea7bc6618584127783c5274c806714e01e82c6172d
MD5 e3d7596923d3b607ee81096f5a538540
BLAKE2b-256 813785a23f92504ba89d68ca820a0e73921eac974af4a0d7c4c088356fe62e71

See more details on using hashes here.

File details

Details for the file neuralset-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neuralset-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 222.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for neuralset-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 287e951f5f7d7ededc6c303cfb7e5c6f467059c1ae4ecf573f464ce3a77c1c6e
MD5 1a967d661587bee6302fc921ebe72ea7
BLAKE2b-256 b21be0131933a218a81fa76103f19a031c18d75e9b7e2c49d61ac7a1af476306

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