Reference API
List of modules
neuromaps.datasets- Dataset fetchersneuromaps.images- Image and surface handlingneuromaps.nulls- Null modelsneuromaps.parcellate- Parcellation utilitiesneuromaps.plotting- Plotting functionsneuromaps.points- Triangle mesh utilitesneuromaps.resampling- Resampling workflowsneuromaps.stats- Statistical functionsneuromaps.transforms- Transformations between spaces
neuromaps.datasets - Dataset fetchers
Functions for fetching datasets
|
Fetches specified atlas and density |
|
Fetches CIVET surface atlas |
Fetches fsaverage surface atlas |
|
|
Fetches fsLR surface atlas |
|
Fetches MNI152 atlas |
|
Fetches regfusion inputs for mapping MNI152 to specified surface atlas |
Fetches (and caches) all available atlases |
|
Lists datasets available via |
|
Returns available tags for querying annotations |
|
|
Downloads files for brain annotations matching requested variables |
|
Returns filepath to specified atlas |
|
Workflow for contributing new brain annotation files to neuromaps |
neuromaps.images - Image and surface handling
Functions for operating on images + surfaces
Loads gifti file img |
|
Loads nifti file img. |
|
Generates average surface from input surfs |
|
|
Interpolate data on src surface to trg surface |
|
Calculates vertex areas from surface file |
|
Updates GIFTI images so label IDs are consecutive across hemispheres |
|
Converts FreeSurfer-style annotation parcellation files to GIFTI images |
|
Converts CIFTI dlabel file to GIFTI images |
|
Converts CIVET obj surface file to GIFTI format |
|
Converts FreeSurfer surf surface file to GIFTI format |
|
Converts FreeSurfer morph data file to GIFTI format |
neuromaps.nulls - Null models
Functions for computing null models
|
Generates null maps from data using method from [SN1] |
|
Generates null maps from data using method from [SN1] |
|
Generates null maps for parcellated data using method from [SN2] |
|
Generates null maps for parcellated data using the Hungarian method ([SN3]) |
|
Generates null maps for parcellated data using method from [SN4] |
|
Generates null maps for parcellated data using method from [SN5] |
|
Generates null maps for data using method from [SN6] |
|
Generates null maps for data using method from [SN7] and [SN8] |
|
Generates null maps for data using method from [SN9] |
neuromaps.parcellate - Parcellation utilities
Functionality for parcellating data
|
Class for parcellating arbitrary volumetric / surface data |
neuromaps.plotting - Plotting functions
Functionality for plotting
|
Plots data on template surface |
neuromaps.points - Triangle mesh utilites
Functions for working with triangle meshes + surfaces
|
Constructs adjacency graph from surf. |
Calculates surface distance for vertices in surface |
neuromaps.resampling - Resampling workflows
Functions for comparing data
|
Resamples images src and trg to same space/density with resampling method |
neuromaps.stats - Statistical functions
Functions for statistical analyses
|
Compares images src and trg |
|
Generates non-parameteric p-value of a and b for metric |
neuromaps.transforms - Transformations between spaces
Functionality for transforming files between spaces
|
Projects img in MNI152 space to CIVET surface |
Projects img in MNI152 space to fsaverage surface |
|
|
Projects img in MNI152 space to fsLR surface |
|
Resamples img to target image (if supplied) or target resolution |
|
Resamples data on CIVET surface to the fsLR surface |
|
Resamples data on fsLR surface to the CIVET surface |
Resamples data on CIVET surface to the fsaverage surface |
|
Resamples data on fsaverage surface to the CIVET surface |
|
|
Resamples data on CIVET surface to new density |
Resamples data on fsLR surface to the fsaverage surface |
|
Resamples data on fsaverage surface to the fsLR surface |
|
|
Resamples data on fsLR surface to new density |
Resamples data on fsaverage surface to new density |