Skip to content

Commit f2ef782

Browse files
committed
capture inverse fit rms
1 parent bb982b7 commit f2ef782

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

geminidr/core/primitives_spect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4006,7 +4006,7 @@ def monitorWavelengthSolution(self, adinputs=None, **params):
40064006
log = self.log
40074007
log.debug(gt.log_message("primitive", self.myself(), "starting"))
40084008

4009-
tocapture = ('c0', 'c1', 'c2', 'c3', 'rms', 'fwidth')
4009+
tocapture = ('c0', 'c1', 'c2', 'c3', 'rms', 'inv_rms', 'fwidth')
40104010

40114011
for ad in adinputs:
40124012
for ext in ad:
@@ -4018,6 +4018,8 @@ def monitorWavelengthSolution(self, adinputs=None, **params):
40184018
# Capture values from WAVEVAL table into monitoring headers
40194019
if row['name'] in tocapture:
40204020
keyword = 'MWS_' + row['name'].upper()[:4]
4021+
if row['name'] == 'inv_rms':
4022+
keyword = 'MWS_IRMS'
40214023
ext.hdr[keyword] = (row['coefficients'],
40224024
f'WAVECAL {row['name']} coefficient')
40234025

0 commit comments

Comments
 (0)