CellIJ#
- class lsst.images.cells.CellIJ(i: int, j: int)#
Bases:
objectAn index in a grid of cells.
Notes#
This is deliberately not a
tupleor otherSequencein order to make it typing-incompatible with sequence-based pixel coordinate pairs (e.g.YX). This also allows it to have addition and subtraction operators.Methods Summary
from_legacy(legacy_index)Convert from a legacy
lsst.skymap.Index2Dinstance.Convert to a legacy
lsst.skymap.Index2Dinstance.Methods Documentation
- static from_legacy(legacy_index: Index2D) CellIJ#
Convert from a legacy
lsst.skymap.Index2Dinstance.Notes#
lsst.skymap.Index2Dis ordered(x, y), i.e.(j, i).
- to_legacy() Index2D#
Convert to a legacy
lsst.skymap.Index2Dinstance.Notes#
lsst.skymap.Index2Dis ordered(x, y), i.e.(j, i).