scitiff.io.load_scitiff#

scitiff.io.load_scitiff(file_path, *, squeeze=True)[source]#

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

Parameters:
  • file_path (str | Path) – The path to the SCITIFF format image file.

  • squeeze (bool, default: True) – If True, the dimensions with size 1 are squeezed out. You can also do it manually using sc.DataArray.squeeze method.

Returns:

DataGroup – The loaded image data in scipp.DataGroup. The data group should have the same structure as the scitiff.SciTiffMetadataContainer except the image data has values loaded from the tiff file not just the metadata.