CARMA C++
carma::services::OpacityModel Class Referenceabstract

An atmospheric model is used to estimate atmospheric opacity given local environment variables ( temperature, pressure, etc ) and observing variables ( frequency ). More...

#include <carma/services/OpacityModel.h>

Inheritance diagram for carma::services::OpacityModel:
carma::services::FreqDependent225GHz carma::services::SimpleOpacityModel carma::services::Waters90GHz carma::services::Woody119GHzO2Line

Public Member Functions

virtual double calculateOpacityAtZenith (double frequencyInGHz, double temperatureInK, double dewpointInK, double pressureInMbar, double humidityInPercent) const =0
 Calculate atmospheric opacity at the zenith (Tau0) in Nepers. More...
 

Detailed Description

An atmospheric model is used to estimate atmospheric opacity given local environment variables ( temperature, pressure, etc ) and observing variables ( frequency ).

Since no one model has been established yet, this base class exists to allow models to be easily interchanged while establishing the basic interface that should satisfy any needed model.

Definition at line 15 of file OpacityModel.h.

Member Function Documentation

virtual double carma::services::OpacityModel::calculateOpacityAtZenith ( double  frequencyInGHz,
double  temperatureInK,
double  dewpointInK,
double  pressureInMbar,
double  humidityInPercent 
) const
pure virtual

Calculate atmospheric opacity at the zenith (Tau0) in Nepers.

Note that not all models will use all input parameters. Note also that the input parameters include only measured quantities, other parameters, such as water vapor density, can be calculated from these using the carma::services::Atmosphere class.

Parameters
frequencyFrequency in GHz.
temperatureAmbient temperature in Kelvin.
dewpointDewpoint temperature in Kelvin.
pressureBarometric pressure in millibar.
humidityRelative humidity in percent.

Implemented in carma::services::SimpleOpacityModel, carma::services::Waters90GHz, carma::services::FreqDependent225GHz, and carma::services::Woody119GHzO2Line.


The documentation for this class was generated from the following file: