scitiff.io#

Functions

concat_mask_as_channels(da, mask_name)

Concatenate intensities and a mask into channel dimension.

concat_stdevs_and_mask_as_channels(da[, ...])

Concatenate intensities, stdevs and a mask into channel dimension.

concat_stdevs_as_channels(da)

Concatenate intensities and stdevs into channel dimension.

extract_metadata(dg)

load_scitiff(file_path, *[, squeeze, ...])

Load an image in SCITIFF format to a scipp data structure.

resolve_scitiff_channels(scitiff_image)

Slice channel dimension and recombine the DataArray.

save_scitiff(dg, file_path)

Save an image in scipp data structure to a SCITIFF format including metadata.

to_scitiff_image(da[, ...])

Modify dimnesions and shapes to match the scitiff image schema.

Classes

Channel(value)

An enumeration.

Exceptions

ImageJMetadataNotFoundWarning

Warning for missing ImageJ metadata.

IncompatibleDtypeWarning

Warning for incompatible dtype.

ScitiffMetadataWarning

Warning for broken scitiff metadata.

UnmatchedMetadataWarning

Warning for unmatched metadata.