You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In testing out WebbPSF version 0.6, I found that when trying to make a simulation of the NRM mode for NIRISS, I can no longer normalize the PSF at the exit pupil (as described in the PSF Normalization section here) because the key word argument 'normalize' is unexpected.
Here is an example of what I get when I try to use 'normalize':
In [3]: niriss = webbpsf.NIRISS()
In [4]: niriss.pupil_mask = 'MASK_NRM'
In [5]: niriss.calcPSF(outfile='niriss_psf_exit.fits',normalize='exit_pupil')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-6-e3bd53f6b57e> in <module>()
----> 1 niriss.calcPSF(outfile='niriss_psf_exit.fits',normalize='exit_pupil')
TypeError: calc_psf() got an unexpected keyword argument 'normalize'
The text was updated successfully, but these errors were encountered:
In testing out WebbPSF version 0.6, I found that when trying to make a simulation of the NRM mode for NIRISS, I can no longer normalize the PSF at the exit pupil (as described in the PSF Normalization section here) because the key word argument 'normalize' is unexpected.
Here is an example of what I get when I try to use 'normalize':
The text was updated successfully, but these errors were encountered: