Skip to main content

pyrobex

https://img.shields.io/pypi/v/pyrobex.svg https://anaconda.org/conda-forge/pyrobex/badges/version.svg https://api.travis-ci.com/jcreinhold/pyrobex.svg Documentation Status

Python bindings for ROBEX brain extraction.

This package comes with ROBEX v1.2 for Linux. Windows is not currently supported.

Install

The easiest way to install the package is with:

pip install pyrobex

Alternatively, you can download the source and run:

python setup.py install

Basic Usage

This package provides a CLI (to the CLI) of ROBEX for convenience and testing which can be accessed through, e.g.,:

robex path/to/t1w_image.nii -os path/to/stripped.nii -om path/to/mask.nii

The real use-case of this package is by importing robex and using it within another script or neuroimaging pipeline, e.g.,

import nibabel as nib
from pyrobex.robex import robex
image = nib.load('path/to/t1w_image.nii')
stripped, mask = robex(image)

References

If you use this package in support of an academic publication, please cite:

@article{iglesias2011robust,
  title={Robust brain extraction across datasets and comparison with publicly available methods},
  author={Iglesias, Juan Eugenio and Liu, Cheng-Yi and Thompson, Paul M and Tu, Zhuowen},
  journal={IEEE transactions on medical imaging},
  volume={30},
  number={9},
  pages={1617--1634},
  year={2011},
  publisher={IEEE}
}

History

0.4.2 (2021-05-25)

  • Use black code style and add tests, docs.

0.4.1 (2021-05-06)

  • Improve logging.

0.4.0 (2021-05-06)

  • Fix logging in CLI.

0.3.0 (2021-05-06)

  • Fix to antspy backend.

0.2.0 (2021-05-06)

  • Fixes the distribution of ROBEX on PyPI.

0.1.0 (2021-05-05)

  • First release on PyPI.

Metadata

Release files for pyrobex 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrobex 0.4.3
File Size Uploaded
pyrobex-0.4.3.tar.gz 50.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrobex 0.4.3
File Interpreter ABI Platform
pyrobex-0.4.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 101.7 MB

Release files / pyrobex-0.4.3.tar.gz

Download URL pyrobex-0.4.3.tar.gz
Size 50.4 MB
Tags Source
SHA-256 checksum
How to use checksums
1ed5a927e9a2204151e11b20a3b723cbc930e7b337164a54c544a49cc0ab6830
BLAKE2b-256 checksum
How to use checksums
6a147cfe79571a29d8138921e12b843b5e3f8ceefed72e7bc30121bc32b74fe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release files / pyrobex-0.4.3-py2.py3-none-any.whl

Download URL pyrobex-0.4.3-py2.py3-none-any.whl
Size 51.3 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6a635fe49046f4e378f31504008c6ce5b7862c40b03024f53197005356abb87e
BLAKE2b-256 checksum
How to use checksums
7422d6d82168f42a1692471ecb297bd880d9a4ae8cb22d08c59fa453948b21fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release 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