poliastro.earth.atmosphere

Package Contents

Classes

COESA62

Holds the model for U.S Standard Atmosphere 1962.

COESA76

Holds the model for U.S Standard Atmosphere 1976.

class poliastro.earth.atmosphere.COESA62

Bases: poliastro.earth.atmosphere.base.COESA

Holds the model for U.S Standard Atmosphere 1962.

temperature(self, alt, geometric=True)

Solves for temperature at given altitude.

Parameters
  • alt (Quantity) – Geometric/Geopotential altitude.

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

Returns

T – Kinetic temeperature.

Return type

Quantity

pressure(self, alt, geometric=True)

Solves pressure at given altitude.

Parameters
  • alt (Quantity) – Geometric/Geopotential altitude.

  • geometric (boolean) – If True, assumes geometric altitude.

Returns

p – Pressure at given altitude.

Return type

Quantity

density(self, alt, geometric=True)

Solves density at given altitude.

Parameters
  • alt (Quantity) – Geometric/Geopotential altitude.

  • geometric (boolean) – If True, assumes geometric altitude.

Returns

rho – Density at given altitude.

Return type

Quantity

properties(self, alt, geometric=True)

Solves density at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

  • T (~astropy.units.Quantity) – Temperature at given height.

  • p (~astropy.units.Quantity) – Pressure at given height.

  • rho (~astropy.units.Quantity) – Density at given height.

sound_speed(self, alt, geometric=True)

Solves speed of sound at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

Cs – Speed of Sound at given height.

Return type

Quantity

viscosity(self, alt, geometric=True)

Solves dynamic viscosity at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

mu – Dynamic viscosity at given height.

Return type

Quantity

thermal_conductivity(self, alt, geometric=True)

Solves coefficient of thermal conductivity at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

k – coefficient of thermal conductivity at given height.

Return type

Quantity

class poliastro.earth.atmosphere.COESA76

Bases: poliastro.earth.atmosphere.base.COESA

Holds the model for U.S Standard Atmosphere 1976.

_get_coefficients_avobe_86(self, z, table_coeff)

Returns corresponding coefficients for 4th order polynomial approximation.

Parameters
  • z (Quantity) – Geometric altitude

  • table_coeff (list) – List containing different coefficient lists.

Returns

coeff_list – List of corresponding coefficients

Return type

list

temperature(self, alt, geometric=True)

Solves for temperature at given altitude.

Parameters
  • alt (Quantity) – Geometric/Geopotential altitude.

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

Returns

T – Kinetic temeperature.

Return type

Quantity

pressure(self, alt, geometric=True)

Solves pressure at given altitude.

Parameters
  • alt (Quantity) – Geometric/Geopotential altitude.

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

Returns

p – Pressure at given altitude.

Return type

Quantity

density(self, alt, geometric=True)

Solves density at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

rho – Density at given height.

Return type

Quantity

properties(self, alt, geometric=True)

Solves temperature, pressure, density at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

  • T (~astropy.units.Quantity) – Temperature at given height.

  • p (~astropy.units.Quantity) – Pressure at given height.

  • rho (~astropy.units.Quantity) – Density at given height.

sound_speed(self, alt, geometric=True)

Solves speed of sound at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

Cs – Speed of Sound at given height.

Return type

Quantity

viscosity(self, alt, geometric=True)

Solves dynamic viscosity at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

mu – Dynamic viscosity at given height.

Return type

Quantity

thermal_conductivity(self, alt, geometric=True)

Solves coefficient of thermal conductivity at given height.

Parameters
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (boolean) – If True, assumes that alt argument is geometric kind.

Returns

k – coefficient of thermal conductivity at given height.

Return type

Quantity