Closed AarynnCarter closed 2 weeks ago
This is the case for the 400x256 subarray now used for the SW+LW bar mask observations too, but is slightly worse because in that case the 320x320 hardcoded file produces a size error in, e.g. the contrast curve steps.
I saw that the PSF mask files on CRDS have been updated now so that we can pull them directly from there. This makes the entire make_psfmasks.py
file obsolete (I suggest we remove it from the repo eventually) and simplifies the installation of spaceKLIP
. I tested this with the ERS data and some of @AarynnCarter's new data and it worked correctly.
Fixed with this commit.
Generated mask files for the SW filters are not accurate when using a LW coronagraph. In this situation the field of view is compressed to 320x320 pixels and the ND squares are not visible. Nevertheless, these squares are present in the spaceKLIP generated masks and the coronagraph transmission also seems too focused. See attached images of Jdocs vs spaceKLIP.
Suggest removing hardcoding of file names in
make_psfmasks.py
, or at a minimum updating them to the current valid files.Seems that many of the psfmask files are hardcoded, and may be out of date, driving this issue.
![image (8)](https://github.com/kammerje/spaceKLIP/assets/23636747/5db41803-bd99-4784-89bb-9869338e5e1a)