Skip to content

Mosaic

linc_convert.modalities.lsm.mosaic

Convert a collection of tiff files generated by the LSM pipeline into a Zarr.

Example input files can be found at https://lincbrain.org/dandiset/000004/0.240319.1924/files?location=derivatives%2F

convert

convert(inp, *, voxel_size=(1, 1, 1), general_config=None, zarr_config=None, nii_config=None)

Convert a collection of tiff files generated by the LSM pipeline into ZARR.

Parameters:

Name Type Description Default
inp str

Path to the root directory, which contains a collection of subfolders named *_z{:02d}_y{:02d}*, each containing a collection of files named *_plane{:03d}_c{:d}.tiff.

required
voxel_size list[float]

Voxel size along the X, Y and Z dimension, in micron.

(1, 1, 1)
general_config GeneralConfig

General configuration

None
zarr_config ZarrConfig

Zarr related configuration

None
nii_config NiftiConfig

NIfTI header related configuration

None