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
I've been looking at the new WebbPSF code for rendering WFIRST PSF images here, and running their script, I got an ImportError from poppy:
$ python wim_psf_basic_f0v_even.py
Script to generate WFIRST imaging PSFs for each SCA in the FPA
Please ensure that updates to the zernike file are copied to
{$HOME}/Projects/WebbPSF/webbpsf-data/WFI/wim_zernikes_cycle8.csv
Traceback (most recent call last):
File "wim_psf_basic_f0v_even.py", line 139, in <module>
s_src = webbpsf.specFromSpectralType(sp_type, catalog='phoenix')
File "/anaconda3/envs/py3/lib/python3.6/site-packages/poppy/utils.py", line 1433, in specFromSpectralType
import pysynphot
ModuleNotFoundError: No module named 'pysynphot'
Installing pysynphot fixed the problem (or at least got farther before hitting a different error), but it seems like poppy is missing a dependence on pysynphot in the pip and/or conda specification. (I installed webbpsf via conda, which in turn installed poppy.)
The text was updated successfully, but these errors were encountered:
I've been looking at the new WebbPSF code for rendering WFIRST PSF images here, and running their script, I got an ImportError from poppy:
Installing pysynphot fixed the problem (or at least got farther before hitting a different error), but it seems like poppy is missing a dependence on pysynphot in the pip and/or conda specification. (I installed webbpsf via conda, which in turn installed poppy.)
The text was updated successfully, but these errors were encountered: