neuroimagingtools


Nameneuroimagingtools JSON
Version 1.1.3 PyPI version JSON
download
home_pagehttps://github.com/DiedrichsenLab/nitools
SummaryNeuroimaging analysis tools
upload_time2023-11-30 17:46:02
maintainer
docs_urlNone
authorJörn Diedrichsen
requires_python>=3.6
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_img: Sample volume at arbitrary locations with nearest-neighbor or trilinear interpolation
* check_voxel_range: Check of voxel coordinates are within an 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": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "imaging analysis,nifti,gifti,cifti",
    "author": "J\u00f6rn Diedrichsen",
    "author_email": "joern.diedrichsen@googlemail.com",
    "download_url": "https://files.pythonhosted.org/packages/38/2c/7c021c005ec2739be3932c4eee3e4703c69c3e046a3a73794abc647ca1e6/neuroimagingtools-1.1.3.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_img: Sample volume at arbitrary locations with nearest-neighbor or trilinear interpolation\n* check_voxel_range: Check of voxel coordinates are within an 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/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Neuroimaging analysis tools",
    "version": "1.1.3",
    "project_urls": {
        "Download": "https://github.com/DiedrichsenLab/nitools/archive/refs/tags/v1.1.3.tar.gz",
        "Homepage": "https://github.com/DiedrichsenLab/nitools"
    },
    "split_keywords": [
        "imaging analysis",
        "nifti",
        "gifti",
        "cifti"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "382c7c021c005ec2739be3932c4eee3e4703c69c3e046a3a73794abc647ca1e6",
                "md5": "33e171354d88d159dadf820d279d1811",
                "sha256": "5def31b1781f67cc5a16324c3f3e6aa2249be9364bbbc3d9b58272b4d797d9cf"
            },
            "downloads": -1,
            "filename": "neuroimagingtools-1.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "33e171354d88d159dadf820d279d1811",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 13777,
            "upload_time": "2023-11-30T17:46:02",
            "upload_time_iso_8601": "2023-11-30T17:46:02.860379Z",
            "url": "https://files.pythonhosted.org/packages/38/2c/7c021c005ec2739be3932c4eee3e4703c69c3e046a3a73794abc647ca1e6/neuroimagingtools-1.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-30 17:46:02",
    "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.15179s