poliastro.earth.atmosphere.base

Holds different classes to model atmospheric models

Module Contents

Classes

COESA

Class for U.S Standard Atmosphere models.

class poliastro.earth.atmosphere.base.COESA(*tables)

Class for U.S Standard Atmosphere models.

property b_levels(self)
property zb_levels(self)
property hb_levels(self)
property Tb_levels(self)
property Lb_levels(self)
property pb_levels(self)
_check_altitude(self, alt, r0, geometric=True)

Checks if altitude is inside valid range.

Parameters
  • alt (Quantity) – Altitude to be checked.

  • r0 (Quantity) – Attractor radius.

  • geometric (bool) – If True, assumes geometric altitude kind.

Returns

  • z (~astropy.units.Quantity) – Geometric altitude.

  • h (~astropy.units.Quantity) – Geopotential altitude.

_get_index(self, x, x_levels)

Finds element in list and returns index.

Parameters
  • x (Quantity) – Element to be searched.

  • x_levels (list) – List for searching.

Returns

i – Index for the value.

Return type

int