Module: botec botec.py

BOTEC is a simple astrophysical and orbital mechanics calculator, including a database of all named Solar System objects.

Imported modules
import gzip
import math
import os
import re
import sys
import time
import types
Functions
save
```load ( filename=None )

```
save
```save (
system,
tag,
filename=DEFAULT_FILENAME,
protocol=1,
compressed=False,
)

```
Classes
 AltitudeLocation An altitude location is simply a location expressed in terms of BiellipticTransfer A bielliptic transfer, which can in some cases take less BiparabolicTransfer A biparabolic transfer, which is only included here for CosinesTransfer Given two speeds and an angle between their vectors, compute the Course The class which plots a series of transfers from a source ExtractionTransfer A transfer out of the theatre corresponding to the given GrazingLocation A grazing location is a location that grazes the top of a HohmannTransfer A low-energy Hohmann transfer. ImpulsiveTransfer An impulsive transfer approximation is one where the duration InsertionTransfer A transfer into the theatre corresponding to the given LagrangeLocation A location representing one of the remaining three Lagrange LandTransfer A transfer landing on the surface of a world. LateralTransfer The lateral or primary transfer that takes place and consists LaunchTransfer A transfer launching from the surface of a world. LibrationLocation A location representing one of the L1 or L2 points. Location A location represents an orbital position around a primary Maneuver A maneuver involves a list of burns (with some total deltavee) OberthManeuver An Oberth maneuver (possibly chained) is an insertion or Opportunity The representation of an opportunity between two objects in the Orbit A represention of an orbit, used as a supplementary class. PartialTransferManeuver A maneuver merely consisting of one burn associated with a PhaseLocation A location at a phase angle relative to another location (i.e., PhaseTransfer A phase transfer as the primary transfer. PlaneChangeTransfer Exceute a plane change transfer. ReprMixin A common mixin class for handling reprs. ReturnTransfer A transfer returning an object to a location from its L1 or L2 SI A class representing a value and an associated unit, capable of SendTransfer A transfer sending an object from a location to an L1 or L2 StationaryLocation A stationary location is one that is in an orbit that has the SurfaceLocation A location on the surface of a world. System The fundamental system class which holds all data on the Transfer A representation of a portion of a course identified by a TransferManeuver A maneuver merely consisting of those burns associated with a VectorTransfer Simple vector change. World A world represents a physical object in the system.