ContextSimulator¶
-
class
ContextSimulator[source]¶ Bases:
ecpi.simu.lib.context.ObservableDefines a general simulation context for ECLAIRs observations
Constructor
Attributes Summary
durationearth_limbearth_pos_fov_uniteclairs_attitudeenergy_rangeidx_chanpos_satt_startMethods Summary
add_observer(observer)param observer: del_observer(observer)param observer: earth_frac()is_in_fov()notify_observer()open_fov_map()set_duration(duration)param duration: simulation time in s set_idx_chan(idx_chan)Set energy channel index set_mdl_effect(mdl_effect)param mdl_effect: set_pos_sat(pos)param pos: satellite position in km in GCRS frame set_quaternion_svom(quater)..note :: proposal: set_sim_geom(sim_pts)param sim_pts: set_t_start(t_start)param t_start: start time of the simulated observation in s from mjdref Attributes Documentation
-
duration¶
-
earth_limb¶
-
earth_pos_fov_unit¶
-
eclairs_attitude¶
-
energy_range¶
-
idx_chan¶
-
pos_sat¶
-
t_start¶
Methods Documentation
-
add_observer(observer)¶ Parameters: observer –
-
del_observer(observer)¶ Parameters: observer –
-
notify_observer()¶
-
set_idx_chan(idx_chan)[source]¶ Set energy channel index
Parameters: idx_chan (int) – energy channel index
-