modelarrayio.cli.h5_to_nifti.h5_to_nifti
- modelarrayio.cli.h5_to_nifti.h5_to_nifti(in_file, analysis_name, group_mask_file, compress, output_dir)[source]
Convert stat results in .h5 file to a list of volume (.nii or .nii.gz) files.
- Parameters:
in_file (str) – abspath to an h5 file that contains statistical results and their metadata.
analysis_name (str) – the name for the analysis results to be saved
group_mask_file (str) – abspath to a NIfTI-1 binary group mask file.
compress (bool) – whether to compress output NIfTI files
output_dir (str) – abspath to where the output NIfTI files will go.
Outputs
-------
None