ecpi.simu.lib.instru_x Module

Instrument simulation module

Created on 29 nov. 2017

@author: colley JM

Functions

convert_mjd_in_svomref_seconds(time_mjd) convert a time in mjd in a time in seconds from the mjd reference
intersection_rect Compute the rectangle formed by the intersection of two rectangles.
njit(*args, **kws) Equivalent to jit(nopython=True)
projection_mask_numba projection and intersection with numba library
surf_intersection_rect(p_r1, p_r2)
param p_r1:first rectangle
yzegp_to_ijdet_array(a_gpidx) convert array 2D in yzegp convention to ijdet convention

Classes

ArraySquareCell([ncel_x, ncel_y, size_cm]) Abstraction of the physical array
CatalogFovBasic() a catalog of sources in the FOV
SimuECLAIRsMaskProjection(catalog_x[, …]) Simulation with geometric method square intersection
SimuInstruXBase() Generic simulation of X instrument coded mask

Class diagram

_images/classes_ecpi.simu.lib.instru_x.png