Commit 6285580e authored by Zhang Xin's avatar Zhang Xin
Browse files

header value change with ccd json file:PSCAN1,PSCAN2,OSCAN1,OSCAN2

parent 7dadcef4
...@@ -73,7 +73,7 @@ class ChipOutput(object): ...@@ -73,7 +73,7 @@ class ChipOutput(object):
self.hdr += additional_column_names self.hdr += additional_column_names
def create_output_file(self): def create_output_file(self):
if self.pointing_type == 'WIDE' or self.pointing_type == 'DEEP': if self.pointing_type == 'WIDE' or self.pointing_type == 'DEEP' or self.pointing_type == 'CALF' or self.pointing_type == 'CALSP' or self.pointing_type == 'CALSS':
self.cat = open(os.path.join(self.subdir, self.cat_name), "w") self.cat = open(os.path.join(self.subdir, self.cat_name), "w")
self.logger.info("Creating catalog file %s ...\n" % self.logger.info("Creating catalog file %s ...\n" %
(os.path.join(self.subdir, self.cat_name))) (os.path.join(self.subdir, self.cat_name)))
......
...@@ -556,6 +556,10 @@ def generateExtensionHeader(chip, xlen=9216, ylen=9232, ra=60, dec=-40, pa=-23.4 ...@@ -556,6 +556,10 @@ def generateExtensionHeader(chip, xlen=9216, ylen=9232, ra=60, dec=-40, pa=-23.4
h_ext['GAIN14'] = chip.gain_channel[13] h_ext['GAIN14'] = chip.gain_channel[13]
h_ext['GAIN15'] = chip.gain_channel[14] h_ext['GAIN15'] = chip.gain_channel[14]
h_ext['GAIN16'] = chip.gain_channel[15] h_ext['GAIN16'] = chip.gain_channel[15]
h_ext['PSCAN1'] = chip.prescan_x
h_ext['PSCAN2'] = chip.prescan_y
h_ext['OSCAN1'] = chip.overscan_x
h_ext['OSCAN2'] = chip.overscan_y
h_ext['RON01'] = readout h_ext['RON01'] = readout
h_ext['RON02'] = readout h_ext['RON02'] = readout
h_ext['RON03'] = readout h_ext['RON03'] = readout
......
Supports Markdown
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