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!
Metadata
Release files for neurite 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neurite-0.3.4.tar.gz | 111.5 kB | Without provenance | Details for neurite-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neurite-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for neurite-0.3.4-py3-none-any.whl |
Total release size: 204.3 kB
Release files / neurite-0.3.4.tar.gz
| Download URL | neurite-0.3.4.tar.gz |
|---|---|
| Size | 111.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea3b5422187fd77d913d626abe2f0c0a083ee0d9312edfa89f720e4d8c5ccebb
|
|
BLAKE2b-256 checksum How to use checksums |
892fff608edfad1d120bcf63dfd269255c58945b789462dad925f48be19eff3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.13
|
Release files / neurite-0.3.4-py3-none-any.whl
| Download URL | neurite-0.3.4-py3-none-any.whl |
|---|---|
| Size | 92.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfb4b686caa7dc379584597264f1e1308cfed7dff74d106e5566eadf60052840
|
|
BLAKE2b-256 checksum How to use checksums |
006a6968c613b61ca76618838f763e6e5fb0186cc3aeb40c0fd343a2cfd07da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.13
|
Security for neurite 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.