Transforms

class jwst.lib.set_telescope_pointing.Transforms(m_eci2fgs1: Optional[array] = None, m_eci2gs: Optional[array] = None, m_eci2j: Optional[array] = None, m_eci2siaf: Optional[array] = None, m_eci2sifov: Optional[array] = None, m_eci2v: Optional[array] = None, m_fgs12fgsx: Optional[array] = None, m_fgs12sifov: Optional[array] = None, m_gs2gsapp: Optional[array] = None, m_j2fgs1: Optional[array] = None, m_sifov_fsm_delta: Optional[array] = None, m_sifov2v: Optional[array] = None, m_v2siaf: Optional[array] = None, override: Optional[object] = None)[source]

Bases: object

The matrices used in calculation of the M_eci2siaf transformation

Attributes Summary

m_eci2fgs1

ECI to FGS1

m_eci2gs

ECI to Guide Star

m_eci2j

ECI to J-Frame

m_eci2siaf

ECI to SIAF

m_eci2sifov

ECI to SIFOV

m_eci2v

ECI to V

m_fgs12fgsx

FGS1 to FGSx transformation

m_fgs12sifov

FGS1 to SIFOV

m_gs2gsapp

Velocity aberration

m_j2fgs1

J-Frame to FGS1

m_sifov2v

SIFOV to V1

m_sifov_fsm_delta

FSM correction

m_v2siaf

V to SIAF

override

Override values.

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_eci2fgs1: array = None

ECI to FGS1

m_eci2gs: array = None

ECI to Guide Star

m_eci2j: array = None

ECI to J-Frame

m_eci2siaf: array = None

ECI to SIAF

m_eci2sifov: array = None

ECI to SIFOV

m_eci2v: array = None

ECI to V

m_fgs12fgsx: array = None

FGS1 to FGSx transformation

m_fgs12sifov: array = None

FGS1 to SIFOV

m_gs2gsapp: array = None

Velocity aberration

m_j2fgs1: array = None

J-Frame to FGS1

m_sifov2v: array = None

SIFOV to V1

m_sifov_fsm_delta: array = None

FSM correction

m_v2siaf: array = None

V to SIAF

override: object = None

Override values. Either another Transforms or dict-like object

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

Transforms

to_asdf()[source]

Serialize to AsdfFile

Returns

asdf_file – The ASDF serialization.

Return type

asdf.AsdfFile

Notes

The override transforms are not serialized, since the values of this transform automatically represent what is in the override.

write_to_asdf(path)[source]

Serialize to a file path

Parameters

path (Stream-like) –