Module orbdetpy.utilities

Functions

def get_density(drag_model: int, time: float, lla: List[float]) ‑> List[float]

Calculate atmospheric neutral density.

Parameters

drag_model : Atmospheric drag model; a constant from DragModel. time : Offset in TT from J2000 epoch [s]. Give a list for bulk calculations. lla : WGS-84 latitude, longitude, altitude. Give a list of lists for bulk calculations.

Returns

Atmospheric neutral density [kg/m^3] at the specified coordinates.

def import_SP3(file_name: str, dest_frame: int, times: List[float])

Import ephemerides from SP3 file.

Parameters

file_name : Fully qualified SP3 file name. dest_frame : Destination reference frame; a constant from Frame. times : List of times to propagate to; each a TT offset from J2000 epoch [s].

Returns

Ephemerides in a Measurement2DArray object.

def interpolate_ephemeris(source_frame: int, times: List[float], states, num_points: int, dest_frame: int, interp_start: float, interp_end: float, step_size: float)

Interpolate the given state vectors.

Parameters

source_frame : Source reference frame; a constant from Frame. times : Times of state vectors; each a TT offset from J2000 epoch [s]. states : State vectors to interpolate. num_points : Number of points to use for interpolation = order + 1. dest_frame : Destination reference frame; a constant from Frame. interp_start : Interpolation start time or list of arbitrary time instants. interp_end : Interpolation end time; ignored if interp_start is a list. step_size : Interpolation step size [s]; ignored if interp_start is a list.

Returns

Interpolated times and state vectors.

Classes

class DoubleArray (*args, **kwargs)

A ProtocolMessage

Ancestors

  • google.protobuf.pyext._message.CMessage
  • google.protobuf.message.Message

Class variables

var DESCRIPTOR

Instance variables

var array

Field DoubleArray.array

class InterpolateEphemerisInput (*args, **kwargs)

A ProtocolMessage

Ancestors

  • google.protobuf.pyext._message.CMessage
  • google.protobuf.message.Message

Class variables

var DESCRIPTOR

Instance variables

var dest_frame

Field InterpolateEphemerisInput.dest_frame

var ephem

Field InterpolateEphemerisInput.ephem

var interp_time

Field InterpolateEphemerisInput.interp_time

var num_points

Field InterpolateEphemerisInput.num_points

var source_frame

Field InterpolateEphemerisInput.source_frame

var time

Field InterpolateEphemerisInput.time

class TransformFrameInput (*args, **kwargs)

A ProtocolMessage

Ancestors

  • google.protobuf.pyext._message.CMessage
  • google.protobuf.message.Message

Class variables

var DESCRIPTOR

Instance variables

var UTC_time

Field TransformFrameInput.UTC_time

var dest_frame

Field TransformFrameInput.dest_frame

var pva

Field TransformFrameInput.pva

var src_frame

Field TransformFrameInput.src_frame

var time

Field TransformFrameInput.time