AttitudeECLAIRs¶
-
class
AttitudeECLAIRs(p_frame_cat='gcrs')[source]¶ Bases:
ecpi.common.mission.attitude.AttitudeVTMethods Summary
cat_user_to_instru(p_ptg_catuf)in : ra dec (n,2) [deg] instru_to_cat_user(p_ptg_instruf)in : xyz (n,3) ori_instru()return orientation of instrument in IAU/pol convention ori_instru_deg()return orientation of instrument in IAU/pol convention ptg_instru()Return pointing of instrument set_attitude_instru_ptgori(p_ptg_ori)Set attitude instrument with pointing vector and orientation set_attitude_svom_ptgori(p_ptg_ori)Set attitude SVOM with pointing vector and orientation set_attitude_svom_quater(p_quater)Set attitude svom satellite with quatenion in the same convention as the message AAV Methods Documentation
-
cat_user_to_instru(p_ptg_catuf)¶ in : ra dec (n,2) [deg] out : xyz (n,3)
Parameters: p_ptg_catuf (numpy array with shape (n,2)) – ra ,dec in degree :return : pointing in unit cartesian :rtype : numpy array with shape (n,3)
-
instru_to_cat_user(p_ptg_instruf)¶ in : xyz (n,3) out : ra dec (n,2) [deg]
Parameters: p_ptg_instruf (numpy array with shape (n,3)) – pointing in unit cartesian :return : ra ,dec in degree :rtype : numpy array with shape (n,2)
-
ori_instru()¶ return orientation of instrument in IAU/pol convention
:return : angle orientation in rad :rtype : float
-
ori_instru_deg()¶ return orientation of instrument in IAU/pol convention
:return : angle orientation in degree :rtype : float
-
ptg_instru()¶ Return pointing of instrument
:return : pointing of instrument ra, dec in degree :rtype : numpy array with shape (1,2)
-
set_attitude_instru_ptgori(p_ptg_ori)¶ Set attitude instrument with pointing vector and orientation
Parameters: p_ptg_ori (list) – ra, dec, ori in degree
-
set_attitude_svom_ptgori(p_ptg_ori)¶ Set attitude SVOM with pointing vector and orientation
Parameters: p_ptg_ori (list) – ra, dec, ori in degree
-
set_attitude_svom_quater(p_quater)¶ Set attitude svom satellite with quatenion in the same convention as the message AAV
Quaternion given by AAV bulletin: J2000->GRF
- with symbol ‘->’ convention CNES documentation “3.3 quaternion”
- x [B] = M B->A x [A]
where M is rotation matrix * Q R1->R3 = Q R1->R2 . Q R2->R3
- GRF = Guidance Reference Frame (which is VT sighting reference frame R VTlos as a
baseline, see CSC-R-4.2-0150)
3) For SVOM applications, J2000 and GCRF can be considered as identical, J2000 is considered the baseline coordination frame.
M out->in
Parameters: p_quater (list/array) – unit quaternion
-