Skip to content

Commit

Permalink
apname -> aperturename in webbpsf
Browse files Browse the repository at this point in the history
  • Loading branch information
JarronL committed Jun 10, 2020
1 parent 49a2992 commit f19e574
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pynrc/nrc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,8 @@ def gen_psf_coeff(filter_or_bp, pupil=None, mask=None, module='A',

# Set the SIAF apertur name
if apname is not None:
inst.auto_apname = False
inst.apname = apname
inst.auto_aperturename = False
inst.aperturename = apname

# Detector position
# define defaults
Expand All @@ -937,7 +937,7 @@ def gen_psf_coeff(filter_or_bp, pupil=None, mask=None, module='A',
inst.detector_position = detector_position

# Print aperture and detector info
_log.debug(inst.apname, inst.detector, inst.detector_position)
_log.debug(inst.aperturename, inst.detector, inst.detector_position)

# Telescope Pupil
if tel_pupil is not None:
Expand Down

0 comments on commit f19e574

Please sign in to comment.