AircraftSimulation

class sofia_redux.scan.custom.sofia.simulation.aircraft.AircraftSimulation[source]

Bases: ABC

Initialize a simulated SOFIA aircraft.

The simulated SOFIA contains location (longitude, latitude, altitude) coordinates, speeds, and times. This is used to model a flight path and angle of the telescope towards the observed source.

Methods Summary

calculate_end_position()

Calculate the end position of the flight using Vicenty's formula.

initialize_from_header(header)

Initialize the aircraft from settings in a primary FITS header.

orient_to_source()

Orient the aircraft wrt the source.

Methods Documentation

calculate_end_position()[source]

Calculate the end position of the flight using Vicenty’s formula.

Returns:
None
initialize_from_header(header)[source]

Initialize the aircraft from settings in a primary FITS header.

Parameters:
headerfits.Header
Returns:
None
orient_to_source()[source]

Orient the aircraft wrt the source.

Alters the heading of the aircraft so the source is at 90 degrees to the side.

Returns:
None