compare_aperture_corrections_to_legacy#

lsst.images.tests.compare_aperture_corrections_to_legacy(tc: TestCase, aperture_corrections: ApertureCorrectionMap, legacy_ap_corr_map: Any, subimage_bbox: Box) None#

Test an aperture correction dict by comparing it to an equivalent lsst.afw.image.ApCorrMap.

Parameters#

tc

Test case object with assert methods to use.

aperture_corrections

Dictionary to test.

legacy_ap_corr_maplsst.afw.image.ApCorrMap

Equivalent legacy aperture correction map.

subimage_bbox

Bounding box for full-image tests.