spatialdata._io.format.CurrentPointsFormat#

spatialdata._io.format.CurrentPointsFormat#

alias of PointsFormatV01

Attributes table#

Methods table#

attrs_from_dict(metadata)

attrs_to_dict(data)

generate_coordinate_transformations(shapes)

generate_well_dict(well, rows, columns)

init_channels()

init_store(path[, mode])

Not ideal.

matches(metadata)

validate_coordinate_transformations(ndim, ...)

Validates that a list of dicts contains a 'scale' transformation

validate_well_dict(well, rows, columns)

Attributes#

CurrentPointsFormat.REQUIRED_PLATE_WELL_KEYS: Dict[str, type] = {'columnIndex': <class 'int'>, 'path': <class 'str'>, 'rowIndex': <class 'int'>}#
CurrentPointsFormat.spatialdata_format_version#
CurrentPointsFormat.version#

Methods#

CurrentPointsFormat.attrs_from_dict(metadata)#
Return type:

dict[str, dict[str, Any]]

CurrentPointsFormat.attrs_to_dict(data)#
Return type:

dict[str, dict[str, Any]]

CurrentPointsFormat.generate_coordinate_transformations(shapes)#
Return type:

Optional[List[List[Dict[str, Any]]]]

CurrentPointsFormat.generate_well_dict(well, rows, columns)#
Return type:

dict

CurrentPointsFormat.init_channels()#
Return type:

None

CurrentPointsFormat.init_store(path, mode='r')#

Not ideal. Stores should remain hidden TODO: could also check dimension_separator

Return type:

FSStore

CurrentPointsFormat.matches(metadata)#
Return type:

bool

CurrentPointsFormat.validate_coordinate_transformations(ndim, nlevels, coordinate_transformations=None)#

Validates that a list of dicts contains a ‘scale’ transformation

Raises ValueError if no ‘scale’ found or doesn’t match ndim.

Parameters:

ndim (int) – Number of image dimensions.

Return type:

None

CurrentPointsFormat.validate_well_dict(well, rows, columns)#
Return type:

None