Skip to content

Single volume

linc_convert.modalities.psoct.single_volume

Matlab to OME-Zarr.

Converts Matlab files generated by the MGH in-house OCT pipeline into a OME-ZARR pyramid.

convert

convert(inp, *, key=None, meta=None, general_config=None, zarr_config=None, nii_config=None)

Matlab to OME-Zarr.

Convert OCT volumes in raw matlab files into a pyramidal OME-ZARR (or NIfTI-Zarr) hierarchy.

Parameters:

Name Type Description Default
inp str

Path to the input mat file

required
key Optional[str]

Key of the array to be extracted, default to first key found

None
meta str

Path to the metadata file

None
general_config GeneralConfig

General configuration

None
zarr_config ZarrConfig

Zarr related configuration

None
nii_config NiftiConfig

NIfTI header related configuration

None