clearex.file_operations.dask

Functions

report_chunks(data)

Log the number of chunks and their sizes for each dimension in the volumes.

tiff_to_zarr(data_path, output_path[, ...])

Convert a set of TIFF files to a Zarr dataset.

clearex.file_operations.dask.report_chunks(data)

Log the number of chunks and their sizes for each dimension in the volumes.

Parameters:

data (dask.array.Array) – Dask array containing the data

Return type:

None

clearex.file_operations.dask.tiff_to_zarr(data_path, output_path, position=0, channel=0)

Convert a set of TIFF files to a Zarr dataset.

Parameters:
  • data_path (str) – The path to the TIFF file to convert.

  • output_path (str) – The path to save the Zarr dataset.

  • position (int) – The position index to save the data to.

  • channel (int) – The channel index to save the data to.

Return type:

None