addVisitInfoToCatTable¶
- lsst.ts.wep.task.addVisitInfoToCatTable(exposure: Exposure, donutCat: QTable)¶
Add visit info from the exposure object to the catalog QTable metadata. This should include all information we will need downstream in the WEP / donut_viz tasks that would otherwise require loading VisitInfo from the butler.
Parameters¶
- exposurelsst.afw.image.Exposure
Image with donut sources that go in to the accompanying catalog.
- donutCatastropy.table.QTable
Donut catalog for given exposure.
Returns¶
astropy.table.QTable
Catalog with relevant exposure metadata added to catalog metadata.