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 10 forks source link

Create a more robust process to mask known companions #27

Open AarynnCarter opened 2 years ago

AarynnCarter commented 2 years ago

At the moment companions are being masked both in the raw and calibrated contrast calculation using a simple circular mask with radius N*fwhm for that filter. Issues with this are:

1) The value of N is different between NIRCam and MIRI, but isn't specific to a given filter. 2) A circle is a naive mask to use for the JWST PSF's, particularly those from NIRCam, which have lobes arranged in a hexagonal pattern.

A better method might be to use a forward modelled PSF of an injected companion to identify which specific pixels need to be masked.

mperrin commented 1 year ago

Still not done in version 2; this remains relevant.