Skip to content

Commit

Permalink
Update nrc_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarronL committed Apr 9, 2020
1 parent 6c7f9f7 commit 7e340f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynrc/nrc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ def detector(self, value):

def _get_fits_header(self, hdulist, options):
""" Format NIRCam-like FITS headers, based on JWST DMS SRD 1 FITS keyword info """
super(NIRCam, self)._get_fits_header(hdulist, options)
super(webbpsf_NIRCam, self)._get_fits_header(hdulist, options)

hdulist[0].header['MODULE'] = (self.module, 'NIRCam module: A or B')
hdulist[0].header['CHANNEL'] = ('Short' if self.channel == 'short' else 'Long', 'NIRCam channel: long or short')
Expand Down

0 comments on commit 7e340f3

Please sign in to comment.