AttitudeMXT

class AttitudeMXT(p_frame_cat='gcrs', no_biais=False)[source]

Bases: ecpi.common.mission.attitude.AttitudeVT

Attitude for MXT instrument

Constructor

Methods Summary

cat_user_to_instru(p_ptg_catuf[, deg]) in : ra dec (n,2) [deg]
instru_to_cat_user(p_ptg_instruf[, deg]) in : xyz (n,3)
ori_instru([deg]) return orientation of instrument in IAU/pol convention
ptg_instru([deg]) Return pointing of instrument
set_attitude_instru_ptgori(p_ptg_ori) Set attitude instrument (no biais) with pointing vector and orientation
set_attitude_instru_quater(p_quater) Set attitude instru (no biais) satellite with quaternion in the same convention
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, deg=False)

in : ra dec (n,2) [deg] out : xyz (n,3)

Parameters:p_ptg_catuf (numpy array with shape (n,2)) – ra ,dec

:return : pointing in unit cartesian :rtype : numpy array with shape (n,3)

instru_to_cat_user(p_ptg_instruf, deg=False)

in : xyz (n,3) out : ra dec (n,2)

Parameters:p_ptg_instruf (numpy array with shape (n,3)) – pointing in unit cartesian

:return : ra ,dec :rtype : numpy array with shape (n,2)

ori_instru(deg=False)

return orientation of instrument in IAU/pol convention

:return : angle orientation :rtype : float

ptg_instru(deg=False)

Return pointing of instrument

:return : pointing of instrument ra, dec :rtype : numpy array with shape (1,2)

set_attitude_instru_ptgori(p_ptg_ori)

Set attitude instrument (no biais) with pointing vector and orientation

Parameters:p_ptg_ori (list) – ra, dec, ori in degree
set_attitude_instru_quater(p_quater)
Set attitude instru (no biais) satellite with quaternion in the same convention
as the message AAV

Quaternion given by AAV bulletin: J2000->GRF

  1. 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

  2. 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
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

  1. 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

  2. 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