Open kammerje opened 1 year ago
Have a look at webbpsf_ext.imreg_tools.get_expected_loc()
. I use this to get some initial expected location, then perform PSF cross correlation within a few pixels to fine tune the sub-pixel location.
Can use either a FITS header of jwst datamodel as input.
Currently, the
read_jwst_s3_data
function indatabase.py
assignsnp.nan
for the CRPIX1 and CRPIX2 values if they are not present in the input FITS file header. This is the case for Coron3Pipeline reductions. We need to figure out how to compute the host star position in the Coron3Pipeline reductions only from their headers.Bug because the CRPIX1 and CRPIX2 values are required for the contrast calculation step and it currently crashes with Coron3Pipeline reductions.