Commit f4c5e8cf authored by Monica Rainer's avatar Monica Rainer
Browse files

Reduction of stare spectra without sky

parent 75ddac1b
......@@ -85,7 +85,7 @@ class GBStare():
continue
# check the signal in a well-defined zone
if nod.header[CONFIG['KEYS']['STARE']] == CONFIG['OBJ']:
if nod.header[CONFIG['KEYS']['STARE']] == CONFIG['OBJ'] or nod.header[CONFIG['KEYS']['STARE']] == CONFIG['UNKNOWN']:
expt_obj.append(nod.header[CONFIG['KEYS']['EXPTIME']])
zone = nod.data[CONFIG['SCIENCECHECK'][0]:CONFIG['SCIENCECHECK'][1],CONFIG['SCIENCECHECK'][2]:CONFIG['SCIENCECHECK'][3]]
mean = np.mean(zone)
......
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