Commit bb5d1b1f authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent 0484bf5c
...@@ -4033,7 +4033,7 @@ class MCIsimulator(): ...@@ -4033,7 +4033,7 @@ class MCIsimulator():
hdu_g.header['FLAMP'] =( np.int16(0) , 'status of flat lamp') hdu_g.header['FLAMP'] =( np.int16(0) , 'status of flat lamp')
hdu_g.header['MCISTAT'] =( np.int16(0) , 'MCI components status parameter') hdu_g.header['MCISTAT'] =( np.int16(0) , 'MCI components status parameter')
hdu_g.header['DATE_OBS'] =(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)') hdu_g.header['DATE-OBS'] =(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)')
hdu_g.header['OBJECT'] =( 'MCI_obj' , 'object name') hdu_g.header['OBJECT'] =( 'MCI_obj' , 'object name')
hdu_g.header['TARGET'] =(self.information['target'][:15], 'target name (hhmmss.s+ddmmss)') hdu_g.header['TARGET'] =(self.information['target'][:15], 'target name (hhmmss.s+ddmmss)')
...@@ -4041,7 +4041,7 @@ class MCIsimulator(): ...@@ -4041,7 +4041,7 @@ class MCIsimulator():
hdu_g.header['OBSID'] =(str(obsid) , 'observation ID') hdu_g.header['OBSID'] =(str(obsid) , 'observation ID')
hdu_g.header['RA_OBJ'] =(float(self.information['ra_obj']) , 'object RA (deg)') hdu_g.header['RA_OBJ'] =(float(self.information['ra_obj']) , 'object RA (deg)')
hdu_g.header['DEC_OBJ']=(float(self.information['dec_obj']) , 'object Dec (deg)') hdu_g.header['DEC_OBJ']=(float(self.information['dec_obj']) , 'object Dec (deg)')
hdu_g.header['DATE-OBS']=(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)')
##### detector and Filter information ##### ##### detector and Filter information #####
hdu_g.header['FILTER'] =(self.filter_g[:6] , 'filter band') hdu_g.header['FILTER'] =(self.filter_g[:6] , 'filter band')
...@@ -4414,7 +4414,7 @@ class MCIsimulator(): ...@@ -4414,7 +4414,7 @@ class MCIsimulator():
hdu_r.header['FLAMP'] =( np.int16(0) , 'status of flat lamp') hdu_r.header['FLAMP'] =( np.int16(0) , 'status of flat lamp')
hdu_r.header['MCISTAT'] =( np.int16(0) , 'MCI components status parameter') hdu_r.header['MCISTAT'] =( np.int16(0) , 'MCI components status parameter')
hdu_r.header['DATE_OBS'] =(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)') hdu_r.header['DATE-OBS'] =(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)')
hdu_r.header['OBJECT'] =( 'MCI_obj' , 'object name') hdu_r.header['OBJECT'] =( 'MCI_obj' , 'object name')
hdu_r.header['TARGET'] =(self.information['target'][:15], 'target name (hhmmss.s+ddmmss)') hdu_r.header['TARGET'] =(self.information['target'][:15], 'target name (hhmmss.s+ddmmss)')
...@@ -4422,8 +4422,7 @@ class MCIsimulator(): ...@@ -4422,8 +4422,7 @@ class MCIsimulator():
hdu_r.header['OBSID'] =(str(obsid) , 'observation ID') hdu_r.header['OBSID'] =(str(obsid) , 'observation ID')
hdu_r.header['RA_OBJ'] =(float(self.information['ra_obj']) , 'object RA (deg)') hdu_r.header['RA_OBJ'] =(float(self.information['ra_obj']) , 'object RA (deg)')
hdu_r.header['DEC_OBJ']=(float(self.information['dec_obj']) , 'object Dec (deg)') hdu_r.header['DEC_OBJ']=(float(self.information['dec_obj']) , 'object Dec (deg)')
hdu_r.header['DATE-OBS']=(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)')
##### detector and Filter information ##### ##### detector and Filter information #####
hdu_r.header['FILTER'] =(self.filter_r[:6] , 'filter band') hdu_r.header['FILTER'] =(self.filter_r[:6] , 'filter band')
##### Detector information #### ##### Detector information ####
...@@ -4799,7 +4798,7 @@ class MCIsimulator(): ...@@ -4799,7 +4798,7 @@ class MCIsimulator():
hdu_i.header['FLAMP'] =( np.int16(0) , 'status of flat lamp') hdu_i.header['FLAMP'] =( np.int16(0) , 'status of flat lamp')
hdu_i.header['MCISTAT'] =( np.int16(0) , 'MCI components status parameter') hdu_i.header['MCISTAT'] =( np.int16(0) , 'MCI components status parameter')
hdu_i.header['DATE_OBS'] =(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)') hdu_i.header['DATE-OBS'] =(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)')
hdu_i.header['OBJECT'] =( 'MCI_obj' , 'object name') hdu_i.header['OBJECT'] =( 'MCI_obj' , 'object name')
hdu_i.header['TARGET'] =(self.information['target'][:15], 'target name (hhmmss.s+ddmmss)') hdu_i.header['TARGET'] =(self.information['target'][:15], 'target name (hhmmss.s+ddmmss)')
...@@ -4807,9 +4806,7 @@ class MCIsimulator(): ...@@ -4807,9 +4806,7 @@ class MCIsimulator():
hdu_i.header['OBSID'] =(str(obsid) , 'observation ID') hdu_i.header['OBSID'] =(str(obsid) , 'observation ID')
hdu_i.header['RA_OBJ'] =(float(self.information['ra_obj']) , 'object RA (deg)') hdu_i.header['RA_OBJ'] =(float(self.information['ra_obj']) , 'object RA (deg)')
hdu_i.header['DEC_OBJ']=(float(self.information['dec_obj']) , 'object Dec (deg)') hdu_i.header['DEC_OBJ']=(float(self.information['dec_obj']) , 'object Dec (deg)')
hdu_i.header['DATE-OBS']=(data_time[:21] , 'observation date (yyyy-mm-ddThh:mm:ss.s)')
##### detector and Filter information ##### ##### detector and Filter information #####
hdu_i.header['FILTER'] =(self.filter_i[:6] , 'filter band') hdu_i.header['FILTER'] =(self.filter_i[:6] , 'filter band')
##### Detector information #### ##### Detector information ####
......
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