Closed Eririf closed 2 months ago
To build an ePSF from dithered images, you would need to create a list of NDData
objects for each of your dithered images (data and WCS) and then create a single catalog for the stars in sky coordinates. You then would pass the list of NDData
and the catalog to the extract_stars
function:
https://photutils.readthedocs.io/en/latest/api/photutils.psf.extract_stars.html#photutils.psf.extract_stars
IIRC, everything else from the example in the docs should be the same.
I want to use ePSF to refine star center positions, then feed to Scamp for better wcs to do SWarp. But im not clear how EPSFBuilder work on dither images, LinkedEPSFStar seems work but details not provided in tutorial.