Transforms
- class romancal.orientation.set_telescope_pointing.Transforms(m_b2fgs: ndarray | None = None, m_eci2b: ndarray | None = None, m_eci2fcs: ndarray | None = None, m_eci2gs: ndarray | None = None, m_eci2gsapp: ndarray | None = None, m_eci2v: ndarray | Any = None, m_fgs2gsapp: ndarray | None = None, m_gsapp2gsics: ndarray | None = None)[source]
Bases:
objectThe matrices used in calculation of the M_eci2siaf transformation.
Attributes Summary
B-frame to FGS
ECI to B-frame
ECI to FCS
ECI to GS
ECI to GS apparent
ECI to V
ECI to Guide star apparent position
GS apparent to GS corrected
Methods Summary
from_asdf(asdf_file)Create Transforms from AsdfFile.
to_asdf()Serialize to AsdfFile.
write_to_asdf(path)Serialize to a file path.
Attributes Documentation
- m_b2fgs: ndarray | None = None
B-frame to FGS
- m_eci2b: ndarray | None = None
ECI to B-frame
- m_eci2fcs: ndarray | None = None
ECI to FCS
- m_eci2gs: ndarray | None = None
ECI to GS
- m_eci2gsapp: ndarray | None = None
ECI to GS apparent
- m_eci2v: ndarray | Any = None
ECI to V
- m_fgs2gsapp: ndarray | None = None
ECI to Guide star apparent position
- m_gsapp2gsics: ndarray | None = None
GS apparent to GS corrected
Methods Documentation
- classmethod from_asdf(asdf_file)[source]
Create Transforms from AsdfFile.
- Parameters:
asdf_file (Stream-like or
asdf.AsdfFile) – The asdf to create from.- Returns:
transforms – The Transforms instance.
- Return type: