AmplifierGeometryComparison

class lsst.afw.cameraGeom.AmplifierGeometryComparison

Bases: enum.Flag

Flags used to report geometric differences between amplifier

Attributes Summary

ASSEMBLY_DIFFERS Amplifiers differ in offsets relative to raw, indicating at least a difference in assembly state.
EQUAL All tested properties of the two amplifiers are equal.
FLIPPED Amplifiers differ by (at least) a coordinate flip.
FLIPPED_X Amplifiers differ by (at least) an X-coordinate flip.
FLIPPED_Y Amplifiers differ by (at least) a Y-coordinate flip.
REGIONS_DIFFER Amplifiers have different full/data/overscan/prescan regions.
SHIFTED Amplifiers are different offsets relative to assembled raw.
SHIFTED_X Amplifiers have different X offsets relative to assembled raw.
SHIFTED_Y Amplifiers have different Y offsets relative to assembled raw.

Attributes Documentation

ASSEMBLY_DIFFERS = 15

Amplifiers differ in offsets relative to raw, indicating at least a difference in assembly state.

EQUAL = 0

All tested properties of the two amplifiers are equal.

FLIPPED = 12

Amplifiers differ by (at least) a coordinate flip.

FLIPPED_X = 4

Amplifiers differ by (at least) an X-coordinate flip.

FLIPPED_Y = 8

Amplifiers differ by (at least) a Y-coordinate flip.

REGIONS_DIFFER = 16

Amplifiers have different full/data/overscan/prescan regions.

If assembly=True was passed to Amplifier.compare, this will only be set if regions differ even after applying flips and offsets to make the assembly states the same. If assembly=False was passed to Amplifier.compare, regions will be compared while assuming that assembly state is the same.

SHIFTED = 3

Amplifiers are different offsets relative to assembled raw.

SHIFTED_X = 1

Amplifiers have different X offsets relative to assembled raw.

SHIFTED_Y = 2

Amplifiers have different Y offsets relative to assembled raw.