CARMA C++
|
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>
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... | |
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.
|
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.
frequency | Frequency in GHz. |
temperature | Ambient temperature in Kelvin. |
dewpoint | Dewpoint temperature in Kelvin. |
pressure | Barometric pressure in millibar. |
humidity | Relative humidity in percent. |
Implemented in carma::services::SimpleOpacityModel, carma::services::Waters90GHz, carma::services::FreqDependent225GHz, and carma::services::Woody119GHzO2Line.