compare_cell_coadd_to_legacy#

lsst.images.tests.compare_cell_coadd_to_legacy(tc: unittest.TestCase, cell_coadd: CellCoadd, legacy_cell_coadd: MultipleCellCoadd, *, tract_bbox: Box, plane_map: Mapping[str, MaskPlane] | None = None, alternates: Mapping[str, Any] | None = None, psf_points: XY[np.ndarray] | YX[np.ndarray] | None = None) None#

Compare a cells.CellCoadd object to a legacy lsst.cell_coadds.MultipleCellCoadd object.

Parameters#

tc

Test case to use for asserts.

cell_coadd

New coadd to test.

legacy_cell_coadd

Legacy coadd to test against.

tract_bbox

Bounding box of the full tract.

psf_points

Points to use to compare the PSFs.

plane_map

Mapping between new and legacy mask planes.

alternates

A mapping of other versions of one or more (new) components to also check against the legacy versions of those components.