modelarrayio.utils.mif.gather_fixels
- modelarrayio.utils.mif.gather_fixels(index_file, directions_file)[source]
Load the index and directions files to get lookup tables.
- Parameters:
index_file (
str) – Path to a Nifti2 index filedirections_file (
str) – Path to a Nifti2 directions file
- Returns:
fixel_table (
pandas.DataFrame) – DataFrame with fixel_id, voxel_id, x, y, zvoxel_table (
pandas.DataFrame) – DataFrame with voxel_id, i, j, k