CellIdentifiers#

class lsst.cell_coadds.CellIdentifiers(skymap: str, tract: int, patch: Index2D, band: str | None, cell: Index2D)#

Bases: PatchIdentifiers

Struct of identifiers for a coadd cell.

Attributes Summary

band

Name of the band, if any.

cell

Identifiers for the cell itself.

patch

Identifiers for the patch itself.

skymap

The name of the skymap this patch belongs to.

tract

The name of the tract this patch belongs to.

Methods Summary

from_data_id(data_id, cell)

Construct from a data ID and a cell index.

Attributes Documentation

band: str | None = <dataclasses._MISSING_TYPE object>#

Name of the band, if any.

cell: Index2D = <dataclasses._MISSING_TYPE object>#

Identifiers for the cell itself.

patch: Index2D = <dataclasses._MISSING_TYPE object>#

Identifiers for the patch itself.

skymap: str = <dataclasses._MISSING_TYPE object>#

The name of the skymap this patch belongs to.

tract: int = <dataclasses._MISSING_TYPE object>#

The name of the tract this patch belongs to.

Methods Documentation

classmethod from_data_id(data_id: DataCoordinate, cell: Index2D) CellIdentifiers#

Construct from a data ID and a cell index.

Parameters#

data_idDataCoordinate

Fully-expanded data ID that includes the ‘patch’ dimension and optionally the band dimension.

cellIndex2D

Index of the cell within the patch.

Returns#

identifiersCellIdentifiers

Struct of identifiers for this cell within a patch.