modelarrayio.utils.nifti

Utility functions for NIfTI data.

Functions

flattened_image(scalar_image, scalar_mask, ...)

Flatten a scalar image to a 1-D array.

load_cohort_voxels(cohort_long, ...)

Load all voxel rows from the cohort, optionally in parallel.