cellmap_data.utils.metadata#

Functions

add_multiscale_metadata_levels(multsc, ...)

create_multiscale_metadata(ds_name, ...[, ...])

generate_base_multiscales_metadata(ds_name, ...)

write_metadata(z_attrs, out_path)

cellmap_data.utils.metadata.generate_base_multiscales_metadata(ds_name: str, scale_level: int, voxel_size: list, translation: list, units: str, axes: list)[source]#
Parameters:
  • ds_name (str)

  • scale_level (int)

  • voxel_size (list)

  • translation (list)

  • units (str)

  • axes (list)

cellmap_data.utils.metadata.add_multiscale_metadata_levels(multsc, base_scale_level, levels_to_add)[source]#
cellmap_data.utils.metadata.create_multiscale_metadata(ds_name: str, voxel_size: list, translation: list, units: str, axes: list, base_scale_level: int = 0, levels_to_add: int = 0, out_path: str | None = None)[source]#
Parameters:
  • ds_name (str)

  • voxel_size (list)

  • translation (list)

  • units (str)

  • axes (list)

  • base_scale_level (int)

  • levels_to_add (int)

  • out_path (str | None)

cellmap_data.utils.metadata.write_metadata(z_attrs, out_path)[source]#