Closed robelgeda closed 6 years ago
Can you explain a bit more about the pupil updates? What were you able to figure out about the coordinate system conventions?
I was able to obtain the instrument layout in both cycles. Both indicate that the coordinate system is Payload FOV {X, Y}
. See axis labels below:
I was able to figure out that the WSM rotated 90 degrees as follows.
Where purple and orange arrows point to the origin in cycle 6 and 7 respectively.
After that I checked if the pupil files do the same transformation.
I found this to be evidence that the pupil coordinate system conventions are the same.
@mperrin: Also, the people at Goddard shared a script to convert the pupil from tiffs to fits. One thing to note is that I had to flip the image upside down (edited the code they sent) because the y axis of a fits file starts to index at the top left (as opposed to the image reader which indexes at the bottom left).
I tested the changes using the example Jupyter netbooks and the /webbpsf/tests/test_wfits.py script. Everything seems to be in order.
This is the final draft of WFIRST Cycle 7 updates. The Following changes have been made:
webbpsf:
webbpsf-data-source:
WFI/filters/R062_throughput.fits
.WFI/filters.tsv
to add R062.WFI/wim_zernikes_cycle7.csv
.WFIRST_SRR_WFC_Pupil_Mask_Longwave_2048.fits
andWFIRST_SRR_WFC_Pupil_Mask_Shortwave_2048.fits
.WFI/sources/cycle6/WFI/wim_zernikes_cycle6.csv
_Obsolete/cycle6_pupils/.
.WFI/sources/cycle7
.