11 #ifndef CARMA_PIPELINE_TSYSPIPELINEINFO_H
12 #define CARMA_PIPELINE_TSYSPIPELINEINFO_H
16 #include "carma/monitor/PipelineMonitorInput.h"
17 #include "carma/pipeline/pipelineUtils.h"
38 void resetTsys(
const std::vector< int > & carmaAntNoVec,
39 const carma::monitor::PipelineMonitorInput & plmi );
41 void updateWithPipelineMonitorInput(
42 const carma::monitor::PipelineMonitorInput & plmi );
44 double getTsysDsb(
unsigned int inputNo,
45 unsigned int bandNo )
const;
47 double getTsysDsb(
const carma::monitor::AntPolPair & antPol,
48 unsigned int bandNo )
const;
54 unsigned int inputNo2,
57 std::pair< bool, bool > & validity )
const;
60 const carma::monitor::AntPolPair & antPol2,
64 double getBaselineTsysUsb(
unsigned int inputNo1,
65 unsigned int inputNo2,
67 std::pair<bool, bool> & validity )
const;
69 double getBaselineTsysLsb(
unsigned int inputNo1,
70 unsigned int inputNo2,
72 std::pair<bool, bool> & validity )
const;
74 double getBaselineTsysUsb(
75 const carma::monitor::AntPolPair & antPol1,
76 const carma::monitor::AntPolPair & antPol2,
77 unsigned int bandNo )
const;
79 double getBaselineTsysLsb(
80 const carma::monitor::AntPolPair & antPol1,
81 const carma::monitor::AntPolPair & antPol2,
82 unsigned int bandNo )
const;
88 unsigned int inputNo2,
89 unsigned int bandNo )
const;
92 const carma::monitor::AntPolPair & antPol1,
93 const carma::monitor::AntPolPair & antPol2,
94 unsigned int bandNo )
const;
99 unsigned int inputNo )
const;
101 const Tsys &
getTsys(
const carma::monitor::AntPolPair & antPol,
102 unsigned int bandNo )
const;
114 ::std::auto_ptr< TsysPipelineInfo::Pimpl > pimpl_;
Calculates and stores Tsys values.
const Tsys & getTsys(unsigned int bandNo, unsigned int inputNo) const
Retrieve Tsys object for a particular band and input.
double getBaselineJanskysPerKelvin(unsigned int inputNo1, unsigned int inputNo2, unsigned int bandNo) const
Retrieve geometrically averaged Jy/K for given inputs and band.
Class to calculate, store and update tsys and associated parameters.
double getBaselineTsys(unsigned int inputNo1, unsigned int inputNo2, unsigned int bandNo, bool usb, std::pair< bool, bool > &validity) const
Retrieve geometrically averaged tsys for given inputs and band.