modelarrayio.cli.h5_to_mif.write_mif
- modelarrayio.cli.h5_to_mif.write_mif(arr, template_img, out_file)[source]
Write array to MIF file.
- Parameters:
arr (
numpy.ndarray) – Array to write to file.template_img (
MifImage) – Template MIF image.out_file (
pathlib.Path) – Output file to write. If it already exists, this function will raise a warning and not overwrite.