ReadoutCorner#
- class lsst.images.cameras.ReadoutCorner(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
StrEnumEnumeration of the possible readout corners of an amplifier.
Attributes Summary
Methods Summary
apply_flips(*, y, x)Return the new readout corner after applying the given flips.
as_flips()Return a tuple indicating how the image needs to be flipped to bring the readout corner to
LL.from_flips(*, y, x)Construct from booleans indicating how the image needs to be flipped to bring the readout corner to
LL.from_legacy(legacy_readout_corner)Convert from
lsst.afw.cameraGeom.ReadoutCorner.Convert to
lsst.afw.cameraGeom.ReadoutCorner.Attributes Documentation
- LL = 'LL'#
- LR = 'LR'#
- UL = 'UL'#
- UR = 'UR'#
Methods Documentation
- apply_flips(*, y, x)#
Return the new readout corner after applying the given flips.
- Parameters:
- Return type:
- as_flips()#
Return a tuple indicating how the image needs to be flipped to bring the readout corner to
LL.
- classmethod from_flips(*, y, x)#
Construct from booleans indicating how the image needs to be flipped to bring the readout corner to
LL.- Parameters:
- Return type:
- classmethod from_legacy(legacy_readout_corner)#
Convert from
lsst.afw.cameraGeom.ReadoutCorner.- Parameters:
legacy_readout_corner (
TypeAliasType) – Legacy readout corner to convert.- Return type:
- to_legacy()#
Convert to
lsst.afw.cameraGeom.ReadoutCorner.- Return type:
TypeAliasType