MIR.intensity_normalization.util.ioΒΆ

Input/output utilities for the project Author: Jacob Reinhold <jcreinhold@gmail.com> Created on: 01 Jun 2021

Functions

gather_images(dirpath, *[, ext, exclude])

return all images of extension ext from a directory

gather_images_and_masks(image_dir[, ...])

glob_ext(dirpath, *[, ext, exclude])

return a sorted list of ext files for a given directory path

split_filename(filepath, /, *[, resolve])

split a filepath into the directory, base, and extension .

zip_with_nones(*args)

zip sequence args but if an arg is None, yield None in that argument index .