spacetelescope / pysiaf

Handling of Science Instrument Aperture Files (SIAF) for space telescopes
https://pysiaf.readthedocs.io
BSD 3-Clause "New" or "Revised" License
13 stars 28 forks source link

Updated with Dec 2023 Roman SIAF #333

Closed Witchblade101 closed 8 months ago

Witchblade101 commented 8 months ago

Updated with XML file from #329

Witchblade101 commented 8 months ago

Looks good from a code stand point, did you test it yet to make sure you get the plot at the end @Witchblade101?

No, but I'll do that now.

Witchblade101 commented 8 months ago

I think it looks good:

`import pysiaf import numpy as np import matplotlib.pyplot as plt instrument = 'Roman' siaf = pysiaf.Siaf(instrument)

for aperture_name, aperture in siaf.apertures.items(): aperture.plot() plt.show()`

image

mfixstsci commented 8 months ago

Cool @Witchblade101 I am good with this