ecpi.extras.simu.data_test_files_creation module
Section author: ECLAIRs GP team
scripts to create the data files used for testing
Summary
Functions:
|
|
create events files to common/data for the tests |
|
create events files with energy to common/data for the tests |
|
|
Reference
- create_att_orb_test_files(l_start, l_elements)[source]
- Parameters
l_start –
l_elements –
- Type
l_start:
- Type
l_elements:
- Returns
- create_test_files(cat_filename='catalog_test.fits', shad_filename='sim_shadowgram_test.fits', evts_filename='sim_evts_test.fits')[source]
create events files to common/data for the tests
simulation are done with CXB bkg
fixed random seed
3 sources (80,20,3) , (60,0,1) , (70,90,1.2) in elev/dir coordinates
observation time = 30s
product files: catalog_test.fits, sim_shadowgram_test.fits, sim_evts_test.fits # TODO: update with simulator eclairs_channel
- create_test_files_energy(l_start, l_time, cat_energy_filename='catalog_energy_test.fits', evts_energy_filename='sim_evts_energy_test.fits')[source]
create events files with energy to common/data for the tests
simulation are done with CXB bkg
fixed random seed
3 sources (80,20,[3,3]) , (60,0,[1,1]) , (70,90,[1.2,1.2]) in elev/dir coordinates
observation time = 30s
product files: catalog_energy_test.fits, sim_shadowgram_energy_test.fits, sim_evts_energy_test.fits