ExtentedBodyInFov¶
-
class
ExtentedBodyInFov[source]¶ Bases:
objectInforms if an arbitrary astronomical body is in the filed of view of the ECLAIRs instrument.
Constructor
Methods Summary
compute_earth_frac(open_fov_map[, size_fov_map])Compute earth fraction in FOV; get_fov_direlev()get_fov_xyz()is_in_fov()Return whether Earth appears in ECALIRs field of view limb_angle()return: limb angle in degrees open_fov_map([n_size])Create the open field of view map, ie. set_eclairs_attitude(ecl_att)Set ECLAIRs attitude object set_pos_sat_time(c_pos[, c_time])Set satellite position at considered time. set_quater_svom(quater)Set SVOM quaternion Methods Documentation
-
compute_earth_frac(open_fov_map, size_fov_map=199)[source]¶ Compute earth fraction in FOV;
Parameters: - open_fov_map (int) – sky map with directions occulted by Earth
- size_fov_map – siwe of sky map. Default is 199.
Returns: earth fraction
Return type: float
-
is_in_fov()[source]¶ Return whether Earth appears in ECALIRs field of view
Returns: if Earth is in FOV Return type: bool
-
open_fov_map(n_size=199)[source]¶ Create the open field of view map, ie. a detector size array (199x199) filled with 0 and 1. Each pixel value is 0 if Earth is present in the LoS and 1 otherwise.
Parameters: idx_row (int) – row index in astropy table Returns: open fov 199x199 map Return type: 2D array(bool)
-
set_eclairs_attitude(ecl_att)[source]¶ Set ECLAIRs attitude object ..warning: set position satellite before :param ecl_att: ECLAIRs instrument attitude object :type ecl_att: array(float) of length 3
-