Commit b3dade42 authored by Zhang Xin's avatar Zhang Xin
Browse files

fix bug, earthshine and starlight is 0 for QE file wavelength unit is nm

parent 9f1aaa66
......@@ -188,6 +188,7 @@ class Straylight(object):
band_s = 2000
band_e = 11000
q_ccd_f[:,0] = q_ccd_f[:,0]*10
q_ccd = np.zeros([q_ccd_f.shape[0]+2,q_ccd_f.shape[1]])
q_ccd[1:-1,:] = q_ccd_f
q_ccd[0] = [band_s,0]
......
......@@ -54,6 +54,7 @@ setup(name='CSSTSim',
'Catalog.data': ['*.fits'],
'ObservationSim.Config.Header':['*.header','*.lst'],
'ObservationSim.Straylight.data': ['*.dat'],
'ObservationSim.Straylight.data.sky': ['*.dat'],
'ObservationSim.Straylight.lib': ['*'],
},
ext_modules = cythonize(extensions),
......
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