fishtank.io.read_dax

Contents

fishtank.io.read_dax#

fishtank.io.read_dax(path, frames=None, shape=(2304, 2304), dtype='uint16')#

Read a MERFISH formatted dax file.

Parameters:
  • path (str | Path) – Path to dax file.

  • frames (Union[int, list, None] (default: None)) – Indices of frames to read.

  • shape (tuple (default: (2304, 2304))) – Shape of a single frame.

  • dtype (str (default: 'uint16')) – Data type of the image.

Return type:

ndarray

Returns:

img a numpy array with shape (F, Y, X) where F is the number of frames.