Use QE.csv file
This commit is contained in:
parent
4323d7cafa
commit
7a7ceb936d
12
tests/data/ccd/QE.csv
Normal file
12
tests/data/ccd/QE.csv
Normal file
@ -0,0 +1,12 @@
|
||||
wavelength [nm],QE [electron / photon]
|
||||
400,1
|
||||
410,1
|
||||
420,1
|
||||
430,1
|
||||
440,1
|
||||
450,1
|
||||
460,1
|
||||
470,1
|
||||
480,1
|
||||
490,1
|
||||
500,1
|
|
@ -45,7 +45,7 @@
|
||||
<pixel_geometry val="1024, 1024" val_unit="pix" comment="Pixel geometry"/>
|
||||
<center_offset val="0, 0" val_unit="pix" comment="Shift of the array center"/>
|
||||
<pixel>
|
||||
<quantum_efficiency val="data/ccd/PCO-Edge-42-QE.txt" comment="Quantum efficiency of the detector pixel"/>
|
||||
<quantum_efficiency val="tests/data/ccd/QE.csv" comment="Quantum efficiency of the detector pixel"/>
|
||||
<pixel_size val="6.5" val_unit="um"/>
|
||||
<dark_current val="20" val_unit="electron / (pix * s)" comment="Detector dark current"/>
|
||||
<sigma_read_out val="10.0" val_unit="electron(1/2) / pix" comment="Detector readout noise in e-rms"/>
|
||||
|
@ -23,7 +23,7 @@ class TestImager(TestCase):
|
||||
|
||||
def test_getSNR(self):
|
||||
snr = self.imager.getSNR(0.1 * u.s)
|
||||
self.assertAlmostEqual(snr.value, 5.694075373738752)
|
||||
self.assertAlmostEqual(snr.value, 7.112939048582188)
|
||||
|
||||
def test_getExpTime(self):
|
||||
exp_time = 0.1 * u.s
|
||||
|
Loading…
x
Reference in New Issue
Block a user