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")
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.0.3.tar.gz (195.1 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.0.3-py3-none-any.whl (222.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for neuralset-0.0.3.tar.gz
Algorithm Hash digest
SHA256 079d99b76868e3ccdd33988530d5e9c465bcbd7ed2b5e4ec7646c79caccb1d1b
MD5 a86deaf6b7bf6e2375558a67f1c95de1
BLAKE2b-256 386b80d0878fc72c6c22a97e62e86abadbe6c086af5c052a5ec11ff8e1837661

See more details on using hashes here.

File details

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

File metadata

  • Download URL: neuralset-0.0.3-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.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e3a9e56ad7ac594f83451538eb97f84aa50ac4c4db1c62f3703edbbc5b6b3d2d
MD5 2285e698918bb941728679a8230c44f9
BLAKE2b-256 03374a5a73f51afbb5c4e46f24e03736f5681df072531a96095f1a385b3ee231

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