Pressure Modules (taurex.pressure)

Base

class PressureProfile(name, nlayers)[source]

Bases: taurex.data.fittable.Fittable, taurex.log.logger.Logger, taurex.output.writeable.Writeable, taurex.data.citation.Citable

Abstract Class

Base pressure class. Simple. Defines the layering of the atmosphere. Only requires implementation of:

Parameters
  • name (str) – Name used in logging

  • nlayers (int) – Number of layers in atmosphere

compute_pressure_profile()[source]

Requires implementation

Compute pressure profile and generate pressure array in Pa

Returns

pressure_profile – Pressure profile array in Pa

Return type

array

property nLayers

Number of layers

Returns

Return type

int

property nLevels
property profile

Returns pressure at each atmospheric layer (Pascal)

Returns

pressure_profile

Return type

array

write(output)[source]

Simple

class SimplePressureProfile(nlayers=100, atm_min_pressure=0.0001, atm_max_pressure=1000000.0)[source]

Bases: taurex.data.profiles.pressure.pressureprofile.PressureProfile

A basic pressure profile.

Parameters
  • nlayers (int) – Number of layers in atmosphere

  • atm_min_pressure (float) – minimum pressure in Pascal (top of atmosphere)

  • atm_max_pressure (float) – maximum pressure in Pascal (surface of planet)

compute_pressure_profile()[source]

Sets up the pressure profile for the atmosphere model

classmethod input_keywords()[source]
property maxAtmospherePressure

Maximum pressure of atmosphere (surface) in Pascal

property minAtmospherePressure

Minimum pressure of atmosphere (top layer) in Pascal

property profile

Returns pressure at each atmospheric layer (Pascal)

Returns

pressure_profile

Return type

array

write(output)[source]