compare_field_to_legacy#

lsst.images.tests.compare_field_to_legacy(tc: TestCase, field: BaseField, legacy_field: Any, subimage_bbox: Box) None#

Test a Field object by comparing it to an equivalent lsst.afw.math.BoundedField.

Parameters#

tc

Test case object with assert methods to use.

field

Field to test.

legacy_fieldlsst.afw.math.BoundedField

Equivalent legacy bounded field.

subimage_bbox

Bounding box for full-image tests.