Atmosphere.h

Classes

Atmosphere -- Basic class for atmospheric calculation wrapping the fortran code of IRAM for ATM model. Fortran code written by J. Cernicharo which interpolate atmospheric model between summer and winter at a latitude of 45 Only Oxygen and water vapor is modelled (full description)

class Atmosphere

Types

enum MODEL

IRAM
ALMA

Interface

Public Members
Atmosphere(Atmosphere::MODEL atmosmodel=Atmosphere::IRAM)
Atmosphere(const Quantity& temp, const Quantity& pressure, const Quantity& height, Atmosphere::MODEL atmosmodel=Atmosphere::IRAM)
virtual ~Atmosphere()
void setModel(const Quantity& temperature, const Quantity& pressure, const Quantity& height)
void setParam(const Quantity& water, const Float& airmass, const Quantity& freq)
void transmission( Quantity& tempEmission, Quantity& meanTemp, Float& tauOxygen, Float& tauWater, Float& tauOptical, Int& error)
Quantity path( Int& error)

Description

Member Description

enum MODEL

Different models and site that can be made. we have only IRAM's for now

Atmosphere(Atmosphere::MODEL atmosmodel=Atmosphere::IRAM)

Default Constructor

Atmosphere(const Quantity& temp, const Quantity& pressure, const Quantity& height, Atmosphere::MODEL atmosmodel=Atmosphere::IRAM)

Constructor at given Temperature, Pressure and Height

virtual ~Atmosphere()

Destructor

void setModel(const Quantity& temperature, const Quantity& pressure, const Quantity& height)

initialize the atmosphere model... default is the IRAM ATM model

void setParam(const Quantity& water, const Float& airmass, const Quantity& freq)

parameters needed for calculating transmission and path.. the following are for the IRAM model

void transmission( Quantity& tempEmission, Quantity& meanTemp, Float& tauOxygen, Float& tauWater, Float& tauOptical, Int& error)

return the emission and the different tau's

Quantity path( Int& error)

return the optical path