Commit e6b9485e authored by Monica Rainer's avatar Monica Rainer

Fix FILENAME/IMANAME in AB nodding spectra

parent 62e53031
......@@ -655,6 +655,9 @@ class GBNodding():
heaspe = fits.Header(abhea)
heaspe[CONFIG['KEYS']['FILENAME']] = os.path.basename(abnome)
heaspe[CONFIG['KEYS']['IMANAME']] = os.path.basename(abnome)
barycorr, hjd = varie.berv_corr(heaspe)
heaspe[CONFIG['BERV'][0]] = (barycorr,CONFIG['BERV'][1])
heaspe[CONFIG['HJD'][0]] = (hjd,CONFIG['HJD'][1])
......@@ -725,7 +728,8 @@ class GBNodding():
except: obj_name = 'NONE'
if CONFIG['S1D']:
heaspe[CONFIG['KEYS']['FILENAME']] = os.path.basename(abnome1d)
heaspe[CONFIG['KEYS']['IMANAME']] = os.path.basename(abnome1d)
#s1d = varie.create_s1d(abcalib,snr,heaspe)
s1d, startval = varie.create_s1d(abcalib,heaspe)
heaspe['CRPIX1'] = (1.,'Reference pixel')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment