Commit 3bb8ac48 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent a4a58186
Pipeline #4245 passed with stage
in 0 seconds
...@@ -3289,9 +3289,10 @@ class IFSsimulator(): ...@@ -3289,9 +3289,10 @@ class IFSsimulator():
hdu_b.header['NAXIS1'] = (np.int32(1344), 'length of first data axis') hdu_b.header['NAXIS1'] = (np.int32(1344), 'length of first data axis')
hdu_b.header['NAXIS2'] = (np.int32(9672), 'length of second data axis') hdu_b.header['NAXIS2'] = (np.int32(9672), 'length of second data axis')
hdu_b.header['NAXIS3'] = ( if self.information['exposuretimes']>1:
np.int32(self.information['exposuretimes']), 'length of third data axis') hdu_b.header['NAXIS3'] = (
np.int32(self.information['exposuretimes']), 'length of third data axis')
if self.source == 'SCI' or self.source == 'COMP': if self.source == 'SCI' or self.source == 'COMP':
hdu_b.header['EXTNAME'] = ('SCI', '') hdu_b.header['EXTNAME'] = ('SCI', '')
...@@ -3668,9 +3669,10 @@ class IFSsimulator(): ...@@ -3668,9 +3669,10 @@ class IFSsimulator():
hdu_r.header['NAXIS2'] = ( hdu_r.header['NAXIS2'] = (
np.int32(13768), 'length of second data axis') np.int32(13768), 'length of second data axis')
hdu_r.header['NAXIS3'] = ( if self.information['exposuretimes']>1:
np.int32(self.information['exposuretimes']), 'length of third data axis') hdu_r.header['NAXIS3'] = (
np.int32(self.information['exposuretimes']), 'length of third data axis')
if self.source == 'SCI' or self.source == 'COMP': if self.source == 'SCI' or self.source == 'COMP':
hdu_r.header['EXTNAME'] = ('SCI', '') hdu_r.header['EXTNAME'] = ('SCI', '')
......
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