Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic_usage notebook won't run #36

Open
epantin opened this issue Oct 19, 2020 · 0 comments
Open

basic_usage notebook won't run #36

epantin opened this issue Oct 19, 2020 · 0 comments

Comments

@epantin
Copy link

epantin commented Oct 19, 2020

  • pyNRC version:0.9
  • Python version:3.6
  • Operating System: mac OS

Description

BAsic_usage notebook does not run

nrc = pynrc.NIRCam(filter='F430M')
print('Filter: {}; Pupil: {}; Mask: {}; Module: {}'
.format(nrc.filter, nrc.pupil, nrc.mask, nrc.module))

~/Softs/Python/anaconda3/envs/pynrc/lib/python3.6/site-packages/pynrc/nrc_utils.py in gen_psf_coeff(filter_or_bp, pupil, mask, module, fov_pix, oversample, npsf, ndeg, tel_pupil, offset_r, offset_theta, jitter, jitter_sigma, opd, wfe_drift, drift_file, include_si_wfe, detector, detector_position, apname, bar_offset, force, save, save_name, return_save_name, quick, return_webbpsf, add_distortion, crop_psf, use_legendre, pynrc_mod, **kwargs)
938
939 # Print aperture and detector info
--> 940 _log.debug(inst.aperturename, inst.detector, inst.detector_position)
941
942 # Telescope Pupil

AttributeError: 'webbpsf_NIRCam_mod' object has no attribute 'aperturename'

Looks like there is some unconsistency with webbpsf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant