Loading ObservationSim/Config/Header/ImageHeader.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -419,7 +419,7 @@ def generatePrimaryHeader(xlen = 9216, ylen = 9232, pointing_id = '00000001', po ra_hms = format(co.ra.hms.h, '02.0f') + format(co.ra.hms.m, '02.0f') + format(co.ra.hms.s, '02.1f') ra_hms = format(co.ra.hms.h, '02.0f') + format(co.ra.hms.m, '02.0f') + format(co.ra.hms.s, '02.1f') dec_hms = format(co.dec.dms.d, '02.0f') + format(abs(co.dec.dms.m), '02.0f') + format(abs(co.dec.dms.s), '02.0f') dec_hms = format(co.dec.dms.d, '02.0f') + format(abs(co.dec.dms.m), '02.0f') + format(abs(co.dec.dms.s), '02.0f') if dec > 0: if dec >= 0: h_prim['TARGET'] = ra_hms + '+' + dec_hms h_prim['TARGET'] = ra_hms + '+' + dec_hms else: else: h_prim['TARGET'] = ra_hms + dec_hms h_prim['TARGET'] = ra_hms + dec_hms Loading ObservationSim/MockObject/FlatLED.py +6 −0 Original line number Original line Diff line number Diff line Loading @@ -141,6 +141,12 @@ class FlatLED(object): return np.ones([self.chip.npix_y,self.chip.npix_x]) return np.ones([self.chip.npix_y,self.chip.npix_x]) ledFlat = np.zeros([self.chip.npix_y,self.chip.npix_x]) ledFlat = np.zeros([self.chip.npix_y,self.chip.npix_x]) ledStat = '00000000000000' ledTimes = [0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] nledStat = '2' for i in np.arange(len(led_type_list)): for i in np.arange(len(led_type_list)): led_type = led_type_list[i] led_type = led_type_list[i] exp_t = exp_t_list[i] exp_t = exp_t_list[i] Loading Loading
ObservationSim/Config/Header/ImageHeader.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -419,7 +419,7 @@ def generatePrimaryHeader(xlen = 9216, ylen = 9232, pointing_id = '00000001', po ra_hms = format(co.ra.hms.h, '02.0f') + format(co.ra.hms.m, '02.0f') + format(co.ra.hms.s, '02.1f') ra_hms = format(co.ra.hms.h, '02.0f') + format(co.ra.hms.m, '02.0f') + format(co.ra.hms.s, '02.1f') dec_hms = format(co.dec.dms.d, '02.0f') + format(abs(co.dec.dms.m), '02.0f') + format(abs(co.dec.dms.s), '02.0f') dec_hms = format(co.dec.dms.d, '02.0f') + format(abs(co.dec.dms.m), '02.0f') + format(abs(co.dec.dms.s), '02.0f') if dec > 0: if dec >= 0: h_prim['TARGET'] = ra_hms + '+' + dec_hms h_prim['TARGET'] = ra_hms + '+' + dec_hms else: else: h_prim['TARGET'] = ra_hms + dec_hms h_prim['TARGET'] = ra_hms + dec_hms Loading
ObservationSim/MockObject/FlatLED.py +6 −0 Original line number Original line Diff line number Diff line Loading @@ -141,6 +141,12 @@ class FlatLED(object): return np.ones([self.chip.npix_y,self.chip.npix_x]) return np.ones([self.chip.npix_y,self.chip.npix_x]) ledFlat = np.zeros([self.chip.npix_y,self.chip.npix_x]) ledFlat = np.zeros([self.chip.npix_y,self.chip.npix_x]) ledStat = '00000000000000' ledTimes = [0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] nledStat = '2' for i in np.arange(len(led_type_list)): for i in np.arange(len(led_type_list)): led_type = led_type_list[i] led_type = led_type_list[i] exp_t = exp_t_list[i] exp_t = exp_t_list[i] Loading