pyatmos.utils.atmosphere_vectorized package

pyatmos.utils.atmosphere_vectorized module

Contains the following atmospheric functions:

  • density = atm_density(alt, mach)
  • mach = atm_mach(alt, velocity)
  • velocity = atm_velocity(alt, mach)
  • pressure = atm_pressure(alt)
  • temperature = atm_temperature(alt)
  • sos = atm_speed_of_sound(alt)
  • mu = atm_dynamic_viscosity_mu(alt)
  • nu = atm_kinematic_viscosity_nu(alt)
  • eas = atm_equivalent_airspeed(alt, mach)

All the default units are in English units because the source equations are in English units.

pyatmos.utils.atmosphere_vectorized.atm_density_array(alt, R=1716.0, alt_units='ft', density_units='slug/ft^3')[source]

Gets the density as a numpy array

pyatmos.utils.atmosphere_vectorized.atm_dynamic_viscosity_mu_array(alt, alt_units='ft', visc_units='(lbf*s)/ft^2')[source]

Gets the dynamic viscosity as a numpy array

pyatmos.utils.atmosphere_vectorized.atm_equivalent_airspeed_array(alt, mach, alt_units='ft', eas_units='ft/s')[source]

Gets the equivalent airspeed as a numpy array

pyatmos.utils.atmosphere_vectorized.atm_kinematic_viscosity_nu_array(alt, alt_units='ft', visc_units='ft^2/s')[source]

Gets the kinematic viscosity as a numpy array

pyatmos.utils.atmosphere_vectorized.atm_pressure_array(alt, alt_units='ft', pressure_units='psf')[source]

Gets the pressure as a numpy array

pyatmos.utils.atmosphere_vectorized.atm_speed_of_sound_array(alt, alt_units='ft', velocity_units='ft/s', gamma=1.4)[source]

Gets the speed of sound as a numpy array

pyatmos.utils.atmosphere_vectorized.atm_temperature_array(alt, alt_units='ft', temperature_units='R')[source]

Gets the temperature as a numpy array

pyatmos.utils.atmosphere_vectorized.sutherland_viscoscity_array(T)[source]

Gets the Sutherland viscosity as a numpy array

Module contents