Skip to main content

Basic Neuroimaging functionality for Nifti, Gifti, Cifti Data structures. Basic useful functions missing from nibabel and nilearn

Installation

Over pip, you can install the package, using the command: pip install neuroimagingtools

Coordinate transforms and nifti (volume) utilities

  • affine_transform: Affine Coordinate transform with individual x,y,z coordinates

  • affine_transform_mat: Affine coordinate transform with coordinates in matrix format

  • coords_to_linvidxs: Safe transform of coordinates to linear voxel indices

  • euclidean_dist_sq: Squared Euclidean distance between coordinate pairs

  • sample_image: Sample a 3d volume at arbitrary locations with nearest-neighbor or trilinear interpolation

  • sample_images: Samples a set of 3d or 4d volumes at arbitrary locations efficiently

  • check_voxel_range: Check of voxel coordinates are within an image

  • deform_image: Moves a volume image according to a deformation field

  • change_nifti_numformat: Adjusts the numerical format of a Nifti image

  • get_mask_coords: Extracts the voxel coordinates from a mask image

Gifti Utilities

  • make_func_gifti: Make a new functional giftiImage

  • make_label_gifti: Make a new label giftiImage (with label table)

  • get_gifti_column_names: Extract column names from gifti

  • get_gifti_anatomical_struct: Extract Anatomical_structure_primary

  • get_gifti_labels: Get label names and colors

Cifti Utilities

  • join_giftis_to_cifti: Joins a left- and right-hemispheric Gifti into a single CIFTI

  • split_cifti_to_giftis: Splits CIFTI into a left- and right-hemispheric Gifti

  • volume_from_cifti: Extracts Nifti-volume data from a Cifti file

  • surf_from_cifti: Extract the surface-based data from a Cifti file

Color utilities

  • read_lut: Read a lookup table file

  • save_lut: Save a lookup table file

  • save_cmap: Save a FSLeyes colormap file

Border utilities

  • Border: Border class

  • Border.get_coords: Get coordinates for a border

  • read_borders: Read a workbench border file

  • save_borders: Save a workbench border file

  • project_border: Project coordinates to a surface

  • resample_border: Resample a border with regularly spacing

For documentation, see: https://nitools.readthedocs.io/en/latest/

Metadata

Release files for neuroimagingtools 1.1.5

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

Source distribution (sdist)

Source distribution for neuroimagingtools 1.1.5
File Size Uploaded Provenance Actions
neuroimagingtools-1.1.5.tar.gz 36.0 kB Without provenance Details for neuroimagingtools-1.1.5.tar.gz

Release files / neuroimagingtools-1.1.5.tar.gz

Download URL neuroimagingtools-1.1.5.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
22e05b8b3ce140380f1ce4f0e3c4da2b8d3e7d184cea2ca6c6fc195c653cd4af
BLAKE2b-256 checksum
How to use checksums
a5c5416e3f7c1130de7c64a7e8811a48b68e30beff8c4fd3e1b27a02bb065a6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.11.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/1.0.0 tqdm/4.61.2 CPython/3.9.5

Security for neuroimagingtools 1.1.5

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.

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