read_ndtiff_index

tifffile.read_ndtiff_index(file, /)

Return iterator over fields in Micro-Manager NDTiff.index file.

Parameters:

file (str | os.PathLike[Any]) – Path of NDTiff.index file.

Yields:

Fields in NDTiff.index file

  • axes_dict: Axes indices of frame in image.

  • filename: Name of file containing frame and metadata.

  • dataoffset: Offset of frame data in file.

  • width: Width of frame.

  • height: Height of frame.

  • pixeltype: Pixel type. 0: 8-bit monochrome; 1: 16-bit monochrome; 2: 8-bit RGB; 3: 10-bit monochrome; 4: 12-bit monochrome; 5: 14-bit monochrome; 6: 11-bit monochrome.

  • compression: Pixel compression. 0: Uncompressed.

  • metaoffset: Offset of JSON metadata in file.

  • metabytecount: Length of metadata.

  • metacompression: Metadata compression. 0: Uncompressed.

Return type:

Iterator[tuple[dict[str, int | str], str, int, int, int, int, int, int, int, int]]