poliastro2.worldview.earth.atmosphere.base

Holds different classes to model atmospheric models.

Classes

COESA(*tables)

Class for U.S Standard Atmosphere models.

class poliastro2.worldview.earth.atmosphere.base.COESA(*tables)

Class for U.S Standard Atmosphere models.

property Lb_levels
property Tb_levels
_check_altitude(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(x, x_levels)

Finds element in list and returns index.

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

  • x_levels (Quantity) – List for searching.

Returns:

i – Index for the value.

Return type:

int

property b_levels
property hb_levels
property pb_levels
property zb_levels