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

update

parent 6e9e32cf
Pipeline #7151 passed with stage
in 0 seconds
......@@ -3474,13 +3474,6 @@ class IFSsimulator():
"""
######
# add random pointing error to telescope, the telescope poingt parameter in
# fits header have random pointing error
ud_ra = np.random.random() # Choose a random shift in arcsec
self.information['ra_pnt0'] = self.information['ra_pnt0']+0.01*ud_ra
ud_dec = np.random.random()
self.information['dec_pnt0'] = self.information['dec_pnt0']+0.01*ud_dec
HeaderTest = 'no'
sim_ver = str(self.information['sim_ver'])
......@@ -3514,6 +3507,14 @@ class IFSsimulator():
obsid = 30100000000+obnum # 3+OBSTYPE+8位曝光编号;
else:
obsid = 30200000000+obnum # 3+OBSTYPE+8位曝光编号;
# #############################
# add random pointing error to telescope, the telescope poingt parameter in
# fits header have random pointing error
ud_ra = np.random.random() # Choose a random shift in arcsec
self.information['ra_pnt0'] = self.information['ra_pnt0']+0.01*ud_ra
ud_dec = np.random.random()
self.information['dec_pnt0'] = self.information['dec_pnt0']+0.01*ud_dec
filename_b = 'CSST_IFS_B_'+self.source+'_'+exp_start_str + \
'_'+exp_end_str+'_'+str(obsid)+'_B_L0_V'+sim_ver
......
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