c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Measurements need PSF photometry #222

Closed guynir42 closed 1 month ago

guynir42 commented 3 months ago

I'm not sure how to do that with an arbitrary PSF image.

It is not super urgent so I'm leaving it for later.

rknop commented 3 months ago

My suggestion: look at models.psf.get_clip(). That gets a image-resolution, possibly-normalized cutout of a psf, which can be positioned centered on fractional pixels. Use that as a weighting function.

The only issue is, right now that's only implemented for psfex. It would need to be implemented for any other PSF type that we use. (What is the format of the zogy PSFs? I think that's the only other one we have right now.)