ecpi.scripts.ecpi_simu module
Section author: ECLAIRs GP team
Reference
- class EcpiSimu(duration, pos, n_file, t_0, t_ref=<Time object: scale='utc' format='isot' value=2017-01-01T00:00:00.000>)[source]
Bases:
object- create_attitude_file(dest_dir)[source]
Create .fits file with a single line that corresponds to attitude during DC1.
- Parameters
dest_dir (str) – destination directory.
- create_event_files(dest_dir, sim_arf_mean=True)[source]
Run simulation.
- Parameters
dest_dir (str) – destination directory.
sim_arf_mean – whether or not to simulate ARF. Default is True.
- create_obj_simu(use_irf=False, cxb_mode='no_cxb')[source]
Initiate simulation
- Parameters
use_irf (boolean) – whether or not to use IRF. Default is False
cxb_mode (str) –
switch for the CXB model if any. Available choices are: ‘flat_no_spec’, ‘flat_spec’,
’shapebased_spec’ ‘shapedbased_spec_earth’ and ‘no_cxb’.
Default is ‘no_cxb’.