neuroimagingtools


Nameneuroimagingtools JSON
Version 1.1.4 PyPI version JSON
download
home_pagehttps://github.com/DiedrichsenLab/nitools
SummaryNeuroimaging analysis tools
upload_time2024-06-17 21:26:52
maintainerNone
docs_urlNone
authorJörn Diedrichsen
requires_pythonNone
licenseMIT
keywords imaging analysis nifti gifti cifti
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            nitools
=======

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/
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DiedrichsenLab/nitools",
    "name": "neuroimagingtools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "imaging analysis, nifti, gifti, cifti",
    "author": "J\u00f6rn Diedrichsen",
    "author_email": "joern.diedrichsen@googlemail.com",
    "download_url": "https://files.pythonhosted.org/packages/97/d5/4b2c5908f19aa7f3e8bf3b8645ecaa39e2dc3e8ae22c016ed36e1458cfce/neuroimagingtools-1.1.4.tar.gz",
    "platform": null,
    "description": "nitools\n=======\n\nBasic Neuroimaging functionality for Nifti, Gifti, Cifti\nData structures. Basic useful functions missing from nibabel and nilearn\n\nInstallation\n------------\nOver pip, you can install the package, using the command:\npip install neuroimagingtools\n\nCoordinate transforms and nifti (volume) utilities\n--------------------------------------------------\n\n* affine_transform: Affine Coordinate transform with individual x,y,z coordinates\n* affine_transform_mat: Affine coordinate transform with coordinates in matrix format\n* coords_to_linvidxs: Safe transform of coordinates to linear voxel indices\n* euclidean_dist_sq: Squared Euclidean distance between coordinate pairs\n* sample_image: Sample a 3d volume at arbitrary locations with nearest-neighbor or trilinear interpolation\n* sample_images: Samples a set of 3d or 4d volumes at arbitrary locations efficiently\n* check_voxel_range: Check of voxel coordinates are within an image\n* deform_image: Moves a volume image according to a deformation field\n* change_nifti_numformat: Adjusts the numerical format of a Nifti image\n* get_mask_coords: Extracts the voxel coordinates from a mask image\n\nGifti Utilities\n---------------\n\n* make_func_gifti: Make a new functional giftiImage\n* make_label_gifti: Make a new label giftiImage (with label table)\n* get_gifti_column_names: Extract column names from gifti\n* get_gifti_anatomical_struct: Extract Anatomical_structure_primary\n* get_gifti_labels: Get label names and colors\n\nCifti Utilities\n---------------\n* join_giftis_to_cifti: Joins a left- and right-hemispheric Gifti into a single CIFTI\n* split_cifti_to_giftis: Splits CIFTI into a left- and right-hemispheric Gifti\n* volume_from_cifti: Extracts Nifti-volume data from a Cifti file\n* surf_from_cifti: Extract the surface-based data from a Cifti file\n\nColor utilities\n---------------\n\n* read_lut: Read a lookup table file\n* save_lut: Save a lookup table file\n* save_cmap: Save a FSLeyes colormap file\n\nBorder utilities\n----------------\n\n* Border: Border class\n* Border.get_coords: Get coordinates for a border\n* read_borders: Read a workbench border file\n* save_borders: Save a workbench border file\n* project_border: Project coordinates to a surface\n* resample_border: Resample a border with regularly spacing\n\n\nFor documentation, see:\nhttps://nitools.readthedocs.io/en/latest/",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Neuroimaging analysis tools",
    "version": "1.1.4",
    "project_urls": {
        "Download": "https://github.com/DiedrichsenLab/nitools/archive/refs/tags/v1.1.4.tar.gz",
        "Homepage": "https://github.com/DiedrichsenLab/nitools"
    },
    "split_keywords": [
        "imaging analysis",
        " nifti",
        " gifti",
        " cifti"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97d54b2c5908f19aa7f3e8bf3b8645ecaa39e2dc3e8ae22c016ed36e1458cfce",
                "md5": "94bb49ed49f30db67420bd70c148fd43",
                "sha256": "8fecb5e9492bef9d72d890c1d33dfd03ac5f7db29b6b8cd1e3bf66779b497951"
            },
            "downloads": -1,
            "filename": "neuroimagingtools-1.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "94bb49ed49f30db67420bd70c148fd43",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 15858,
            "upload_time": "2024-06-17T21:26:52",
            "upload_time_iso_8601": "2024-06-17T21:26:52.493921Z",
            "url": "https://files.pythonhosted.org/packages/97/d5/4b2c5908f19aa7f3e8bf3b8645ecaa39e2dc3e8ae22c016ed36e1458cfce/neuroimagingtools-1.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-17 21:26:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DiedrichsenLab",
    "github_project": "nitools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "neuroimagingtools"
}
        
Elapsed time: 0.28212s