compare_detector_to_legacy#

lsst.images.tests.compare_detector_to_legacy(detector: Detector, legacy_detector: Any, *, is_raw_assembled: bool, expect_nominal_calibrations: bool = True) None#

Compare a Detector to a lsst.afw.cameraGeom.Detector.

Parameters#

detector

Detector to compare.

legacy_detector

Legacy lsst.afw.cameraGeom.Detector to compare against.

is_raw_assembled

Whether the raw geometry is expected to be the assembled-raw geometry (True) or the unassembled-raw geometry (False).

expect_nominal_calibrations

Whether the detector’s amplifiers are expected to carry nominal calibrations.