scitiff.io.resolve_scitiff_channels#

scitiff.io.resolve_scitiff_channels(scitiff_image)[source]#

Slice channel dimension and recombine the DataArray.

If da is a DataGroup, it will replace the image data with the resolved image data. The rest of the DataGroup will be unchanged.

Parameters:

da – The DataArray or DataGroup to resolve channels. The DataArray should have a coordinate and dimension named ‘c’ with values of ‘intensities’, ‘stdevs’, and ‘mask’ (see Channel).

Return type:

TypeVar(T, DataArray, DataGroup)