CARMA C++
|
Simple first cut placeholder for the CARMA opacity model. More...
#include <carma/services/SimpleOpacityModel.h>
Public Member Functions | |
double | calculateOpacityAtZenith (double frequencyInGHz, double temperatureInK, double dewpointInK, double pressureInMbar, double humidityInPercent) const |
Calculate atmospheric opacity at the zenith (Tau0) in Nepers. More... | |
Simple first cut placeholder for the CARMA opacity model.
This will not be in service very long but should serve our needs temporarily until the powers that be decide on a more permanent model. This model is the superposition of the zenith opacity produced by Woody119GHzO2 and the FreqDependent225GHz model.
Definition at line 19 of file SimpleOpacityModel.h.
|
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. |
Implements carma::services::OpacityModel.