kammerje / spaceKLIP

Pipeline for reducing JWST high-contrast imaging data. Published in Kammerer et al. 2022 and Carter et al. 2022.
https://ui.adsabs.harvard.edu/abs/2022SPIE12180E..3NK/abstract
MIT License
16 stars 9 forks source link

Update JWST_PSF #105

Closed JarronL closed 11 months ago

JarronL commented 11 months ago

Fix how bar mask offsets were implemented for JWST_PSF class. First, we now initialize the JWST_PSF class by passing the aperture name. The appropriate webbpsf_ext object(s) is then created, which internally handles the positioning of the PSF on the bar mask. This is particularly important for those simultaneous observations that have non-standard aperture names; (e.g., NRCA4_MASKLWB_F335M paired with the F210M filter). Should now generate a PSF for the appropriate location relative to the ideal (0,0) coordinate frame.

Modified the init calls in imagetools.py and analysistools.py.

Switched to quick=True for PSFs being used to calculate occulting mask transmission loss.