Commit 349c1960 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

add prepare_header step into quantization_and_output

parent 6041fe88
...@@ -35,6 +35,9 @@ def apply_gain(self, chip, filt, tel, pointing, catalog, obs_param): ...@@ -35,6 +35,9 @@ def apply_gain(self, chip, filt, tel, pointing, catalog, obs_param):
def quantization_and_output(self, chip, filt, tel, pointing, catalog, obs_param): def quantization_and_output(self, chip, filt, tel, pointing, catalog, obs_param):
if not hasattr(self, 'h_ext'):
_, _ = self.prepare_headers(chip=chip, pointing=pointing)
if obs_param["format_output"] == True: if obs_param["format_output"] == True:
self.chip_output.Log_info(" Apply 1*16 format") self.chip_output.Log_info(" Apply 1*16 format")
chip.img = chip_utils.formatOutput(GSImage=chip.img) chip.img = chip_utils.formatOutput(GSImage=chip.img)
......
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