compare_detector_to_legacy#
- lsst.images.tests.compare_detector_to_legacy(detector, legacy_detector, *, is_raw_assembled, expect_nominal_calibrations=True)#
Compare a
Detectorto alsst.afw.cameraGeom.Detector.- Parameters:
detector (
Detector) – Detector to compare.legacy_detector (
Any) – Legacylsst.afw.cameraGeom.Detectorto compare against.is_raw_assembled (
bool) – Whether the raw geometry is expected to be the assembled-raw geometry (True) or the unassembled-raw geometry (False).expect_nominal_calibrations (
bool, default:True) – Whether the detector’s amplifiers are expected to carry nominal calibrations.
- Return type: