Skip to content

Supported Data

Source

Data supported by CAREamics.

SupportedData

Bases: str, BaseEnum

Supported data types.

Attributes:

Name Type Description
ARRAY str

Array data.

TIFF str

TIFF image data.

CZI str

CZI image data.

ZARR str

Zarr data.

CUSTOM str

Custom data.

get_extension(data_type) classmethod

Get file extension of corresponding data type.

Parameters:

Name Type Description Default
data_type str or SupportedData

Data type.

required

Returns:

Type Description
str

Corresponding extension.

get_extension_pattern(data_type) classmethod

Get Path.rglob and fnmatch compatible extension.

Parameters:

Name Type Description Default
data_type SupportedData

Data type.

required

Returns:

Type Description
str

Corresponding extension pattern.