CARMA C++
carma::pipeline::Tsys Class Reference

Class to calculate, store and update tsys and associated parameters. More...

#include <carma/pipeline/Tsys.h>

Public Member Functions

void calculateTsys ()
 Calculate tsys. More...
 
double getAmbPsysdBm () const
 Retrieve ambient load psys. More...
 
::std::string getDetails () const
 String of all calibration calculation information. More...
 
double getEffectiveTcal () const
 Retrieve effective calibration temperature. More...
 
double getJyPerK () const
 Retrieve janskys per kelvin for flux calibration. More...
 
double getTsysDsb () const
 Retrieve double sideband system temperature. More...
 
double getTsysLsb () const
 Retrieve lower sideband system temperature. More...
 
double getTsysUsb () const
 Retrieve upper sideband system temperature. More...
 
void invalidate ()
 Invalid tsys until the next complete ambient/sky cycle. More...
 
void setAtmosphericOpacity (double tauLSB, double tauUSB)
 Set atmospheric opacity. More...
 
void setAtmosphericTemperature (double atmosphericTemp)
 Set atmospheric temperature. More...
 
void setGroundOpacity (double opacity)
 Set effective opacity for ground spillover losses. More...
 
void setJanskysPerKelvin (double jyPerK)
 Set Janskys per Kelvin for flux calibration. More...
 
void setLoadTemperature (double calTemp)
 Set the effective load temperature. More...
 
void setOutsideAmbientTemperature (double ambTemp)
 Set outside ambient temperature. More...
 
void setReceiverSidebandRatio (double sbr)
 Set receiver sideband ratio. More...
 
void setTotalPower (carma::monitor::AntennaCommon::CalStateMonitorPointEnum::CALSTATE calState, double totalPower, carma::util::frameType frame)
 Set total power data for specified load state. More...
 
 Tsys ()
 Default Constructor. More...
 
 Tsys (const Tsys &other)
 Copy Constructor. More...
 
bool valid () const
 Is Tsys Valid? More...
 
 ~Tsys ()
 Destructor. More...
 

Detailed Description

Class to calculate, store and update tsys and associated parameters.

All calculations are based on CARMA Memo #33.

Definition at line 20 of file Tsys.h.

Constructor & Destructor Documentation

carma::pipeline::Tsys::Tsys ( )
explicit

Default Constructor.

carma::pipeline::Tsys::Tsys ( const Tsys other)

Copy Constructor.

carma::pipeline::Tsys::~Tsys ( )

Destructor.

Member Function Documentation

void carma::pipeline::Tsys::calculateTsys ( )

Calculate tsys.

double carma::pipeline::Tsys::getAmbPsysdBm ( ) const

Retrieve ambient load psys.

For deugging and system diagnostics.

::std::string carma::pipeline::Tsys::getDetails ( ) const

String of all calibration calculation information.

double carma::pipeline::Tsys::getEffectiveTcal ( ) const

Retrieve effective calibration temperature.

Debugging.

double carma::pipeline::Tsys::getJyPerK ( ) const

Retrieve janskys per kelvin for flux calibration.

Returns
JyPerK
double carma::pipeline::Tsys::getTsysDsb ( ) const

Retrieve double sideband system temperature.

double carma::pipeline::Tsys::getTsysLsb ( ) const

Retrieve lower sideband system temperature.

double carma::pipeline::Tsys::getTsysUsb ( ) const

Retrieve upper sideband system temperature.

void carma::pipeline::Tsys::invalidate ( )

Invalid tsys until the next complete ambient/sky cycle.

void carma::pipeline::Tsys::setAtmosphericOpacity ( double  tauLSB,
double  tauUSB 
)

Set atmospheric opacity.

These are used to determine the observed sideband ratio and double sideband atmospheric loss.

See Also
carma::environment::OpacityModel
void carma::pipeline::Tsys::setAtmosphericTemperature ( double  atmosphericTemp)

Set atmospheric temperature.

This temperature is commonly referred to as the sky temperature. It is often assumed to be 0.94 * the outside air temperature.

void carma::pipeline::Tsys::setGroundOpacity ( double  opacity)

Set effective opacity for ground spillover losses.

void carma::pipeline::Tsys::setJanskysPerKelvin ( double  jyPerK)

Set Janskys per Kelvin for flux calibration.

Parameters
jyPerKvalue.
void carma::pipeline::Tsys::setLoadTemperature ( double  calTemp)

Set the effective load temperature.

This is the temperature of either a temperature controlled hot load or the ambient temperature for a non temperature controlled hot load (e.g. absorber).

void carma::pipeline::Tsys::setOutsideAmbientTemperature ( double  ambTemp)

Set outside ambient temperature.

This is temperature as recorded by the weather station. This temperature is also referred to as the ground temperature in CARMA Memo #33.

void carma::pipeline::Tsys::setReceiverSidebandRatio ( double  sbr)

Set receiver sideband ratio.

This is the receiver sideband gain ratio. This is not to be confused with the observed sbr measured on a flat continuum astronomical source.

void carma::pipeline::Tsys::setTotalPower ( carma::monitor::AntennaCommon::CalStateMonitorPointEnum::CALSTATE  calState,
double  totalPower,
carma::util::frameType  frame 
)

Set total power data for specified load state.

Parameters
calStateCalibration wheel state.
totalPowerTotal power in DBm
frameFrame time associated with total power.
bool carma::pipeline::Tsys::valid ( ) const

Is Tsys Valid?


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