Loading csst_ifs_sim/csst_ifs_sim.py +11 −9 Original line number Diff line number Diff line Loading @@ -73,11 +73,13 @@ The code has been tested, but nevertheless bugs may be lurking in corners, so please report any weird or inconsistent simulations to the author. Note:: This class is Python 3 compatible. 2023.06.13 , add new lamp hole simulation 2023.06.13 add new lamp hole simulation 2023.12.26 add date frame transfer effect and software version 2024.1.19 add multiple exposure mode function; 2024.3.20 --- update the fits header as defined order 0 data format 2024.5.10 ---updata and correct the bug of frame transfer effect simulation 2024.3.20 update the fits header as defined order 0 data format 2024.5.10 updata and correct the bug of frame transfer effect simulation 2024.10..Access to the observation run choreography file for simulaiton 2025.1.3. delete TOML_TAG in the fits header """ # ####################### functions definition ############################# Loading Loading @@ -3455,7 +3457,7 @@ class IFSsimulator(): 'ICRS', 'coordinate system of the object') ofd_b.header['EQUINOX'] = (float(2000.0), '') ofd_b.header['FITSSWV'] = ( 'csst_ifs_sim_3.0.0', 'FITS creating software version') 'csst_ifs_sim_3.0.1', 'FITS creating software version') # ######## Object information ############# if self.source == 'SCI' or self.source == 'COMP': ofd_b.header['OBJECT'] = ( Loading Loading @@ -3781,7 +3783,7 @@ class IFSsimulator(): hdu_b.header['ROSPEED'] = (np.float32(100), 'readout speed (MHz)') hdu_b.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') # hdu_b.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') tt = write_end.utcnow() date_time = tt.strftime("%Y-%m-%dT%H:%M:%S") Loading Loading @@ -3822,7 +3824,7 @@ class IFSsimulator(): ofd_r.header['EQUINOX'] = (float(2000.0), '') ofd_r.header['FITSSWV'] = ( 'csst_ifs_sim_3.0.0', 'FITS creating software version') 'csst_ifs_sim_3.0.1', 'FITS creating software version') # ######## Object information ############# if self.source == 'SCI' or self.source == 'COMP': Loading Loading @@ -4158,7 +4160,7 @@ class IFSsimulator(): self.information['bias4_r']), 'amplifier bias voltage (ADU, channel4)') hdu_r.header['ROSPEED'] = (np.float32(100), 'readout speed (MHz)') hdu_r.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') # hdu_r.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') date_timer = write_end.strftime("%Y-%m-%dT%H:%M:%S") Loading csst_ifs_sim/ifs_data/IFS_sim_C10.config +3 −3 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ overscan =320 fullwellcapacity = 90000 #dark noise in electrons per second dark = 0.0008333 #dark = 0.0008333 dark1_b=0.0008 dark2_b=0.00085 dark3_b=0.00088 Loading @@ -39,7 +39,7 @@ dark4_r=0.00085 #readout noise in electrons [default=4.5] readout = 4.0 #readout = 4.0 rn1_b=4.0 rn2_b=3.5 rn3_b=4.5 Loading @@ -51,7 +51,7 @@ rn3_r=4.8 rn4_r=4.9 #bias level to add in electrons [default=1000] bias = 500.0 #bias = 500.0 bias1_b=500 bias2_b=525 bias3_b=485 Loading Loading
csst_ifs_sim/csst_ifs_sim.py +11 −9 Original line number Diff line number Diff line Loading @@ -73,11 +73,13 @@ The code has been tested, but nevertheless bugs may be lurking in corners, so please report any weird or inconsistent simulations to the author. Note:: This class is Python 3 compatible. 2023.06.13 , add new lamp hole simulation 2023.06.13 add new lamp hole simulation 2023.12.26 add date frame transfer effect and software version 2024.1.19 add multiple exposure mode function; 2024.3.20 --- update the fits header as defined order 0 data format 2024.5.10 ---updata and correct the bug of frame transfer effect simulation 2024.3.20 update the fits header as defined order 0 data format 2024.5.10 updata and correct the bug of frame transfer effect simulation 2024.10..Access to the observation run choreography file for simulaiton 2025.1.3. delete TOML_TAG in the fits header """ # ####################### functions definition ############################# Loading Loading @@ -3455,7 +3457,7 @@ class IFSsimulator(): 'ICRS', 'coordinate system of the object') ofd_b.header['EQUINOX'] = (float(2000.0), '') ofd_b.header['FITSSWV'] = ( 'csst_ifs_sim_3.0.0', 'FITS creating software version') 'csst_ifs_sim_3.0.1', 'FITS creating software version') # ######## Object information ############# if self.source == 'SCI' or self.source == 'COMP': ofd_b.header['OBJECT'] = ( Loading Loading @@ -3781,7 +3783,7 @@ class IFSsimulator(): hdu_b.header['ROSPEED'] = (np.float32(100), 'readout speed (MHz)') hdu_b.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') # hdu_b.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') tt = write_end.utcnow() date_time = tt.strftime("%Y-%m-%dT%H:%M:%S") Loading Loading @@ -3822,7 +3824,7 @@ class IFSsimulator(): ofd_r.header['EQUINOX'] = (float(2000.0), '') ofd_r.header['FITSSWV'] = ( 'csst_ifs_sim_3.0.0', 'FITS creating software version') 'csst_ifs_sim_3.0.1', 'FITS creating software version') # ######## Object information ############# if self.source == 'SCI' or self.source == 'COMP': Loading Loading @@ -4158,7 +4160,7 @@ class IFSsimulator(): self.information['bias4_r']), 'amplifier bias voltage (ADU, channel4)') hdu_r.header['ROSPEED'] = (np.float32(100), 'readout speed (MHz)') hdu_r.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') # hdu_r.header['TOML_TAG'] = ('csst-ifs-l0-c09', 'the tag of toml file') date_timer = write_end.strftime("%Y-%m-%dT%H:%M:%S") Loading
csst_ifs_sim/ifs_data/IFS_sim_C10.config +3 −3 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ overscan =320 fullwellcapacity = 90000 #dark noise in electrons per second dark = 0.0008333 #dark = 0.0008333 dark1_b=0.0008 dark2_b=0.00085 dark3_b=0.00088 Loading @@ -39,7 +39,7 @@ dark4_r=0.00085 #readout noise in electrons [default=4.5] readout = 4.0 #readout = 4.0 rn1_b=4.0 rn2_b=3.5 rn3_b=4.5 Loading @@ -51,7 +51,7 @@ rn3_r=4.8 rn4_r=4.9 #bias level to add in electrons [default=1000] bias = 500.0 #bias = 500.0 bias1_b=500 bias2_b=525 bias3_b=485 Loading