Skip to main content

Neurite

A neural networks toolbox with a focus on medical image analysis in pytorch.

⚠️ Warning: neurite is under active development. We are in the process of finalizing the structure for PyTorch -- interfaces may change.

Install

To use the Neurite library, either clone this repository and install the requirements listed in setup.py or install directly with pip.

pip install neurite

Pre-commit hooks

This repo uses pre-commit to run pycodestyle before commits.

Install once after cloning:

pip install pre-commit
pre-commit install

You can also run the check manually:

pre-commit run pycodestyle --all-files

For users who want to use the stable TensorFlow version, use either pip install neurite, or pull/clone from the dev-tensorflow branch.

Main tools

  • nn.functional: tensor ops for smoothing, resampling, interpolation, masking, and spatial math.
  • nn.modules: reusable stateful layers, losses, and preprocessing blocks.
  • nn.models: prebuilt architectures for arbitrary spatial dimensions (1d, 2d, 3d).
  • py.plot: plotting tools for tensor slices, volumes, and flow fields.
  • utils.utils: lightweight factory and helper functions and tools.

Papers:

If you use this code, please cite:

Anatomical Priors in Convolutional Networks for Unsupervised Biomedical Segmentation
Adrian V. Dalca, John Guttag, Mert R. Sabuncu
CVPR 2018.
[ PDF | arxiv | bibtex ]

If you are using any of the sparse/imputation functions, please cite:

Unsupervised Data Imputation via Variational Inference of Deep Subspaces
Adrian V. Dalca, John Guttag, Mert R. Sabuncu
Arxiv preprint 2019
[ arxiv | bibtex ]

Development:

We welcome contributions; please make sure your code respects pep8, except for E731,W291,W503,W504, by running:
pycodestyle --ignore E731,W291,W503,W504 --max-line-length 100 /path/to/neurite
Please open an issue [preferred] or contact Adrian Dalca at adalca@csail.mit.edu for question related to neurite.

Use/demos:

Parts of neurite were used in VoxelMorph and brainstorm, which we encourage you to check out!

Download files

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

Source Distribution

neurite-0.3.3.tar.gz (99.1 kB view details)

Uploaded Source

Built Distribution

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

neurite-0.3.3-py3-none-any.whl (85.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: neurite-0.3.3.tar.gz
  • Upload date:
  • Size: 99.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for neurite-0.3.3.tar.gz
Algorithm Hash digest
SHA256 32cf4554ed6f8a33eee62ab126b79fc0741fca07dcd7e8740706ffde4f7d6610
MD5 faa70f9d2513000c9eb0622950c3b220
BLAKE2b-256 badbc2fa7d91d436a2e28e41fef9d0e00ae09e2488409d53a2fe6f8970fcbb9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: neurite-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 85.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for neurite-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b6391359dc2954c6fc42b1eedff1b79823b577da7dc28707e62c41873b52d508
MD5 bd2a07e11a265c83c3fd99d599e4709b
BLAKE2b-256 8d5343f4cecd4f22ed09dc4110d887b69062c256b00f5acc0e70585489b52f54

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 files

0.3.2

2 files

0.3.1

2 files

0.3

2 files

0.2

2 files

0.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