CARMA C++
carma::services::SimpleOpacityModel Class Reference

Simple first cut placeholder for the CARMA opacity model. More...

#include <carma/services/SimpleOpacityModel.h>

Inheritance diagram for carma::services::SimpleOpacityModel:
carma::services::OpacityModel

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...
 

Detailed Description

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.

Member Function Documentation

double carma::services::SimpleOpacityModel::calculateOpacityAtZenith ( double  frequencyInGHz,
double  temperatureInK,
double  dewpointInK,
double  pressureInMbar,
double  humidityInPercent 
) const
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.

Implements carma::services::OpacityModel.


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