Source
/*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) Instituto de Estructura de la Materia, 2009
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* "@(#) $Id: ATMWaterVaporRadiometer.h Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* pardo 24/03/09 created
*/
using std::vector;
ATM_NAMESPACE_BEGIN
/*! \brief This is an axuliary class to SkyStatus that allows to identify the spectral windows
* that actually correspond to a dedicated water vapor radiometry system, and also to
* associate to those spectral windows some instrumental caracteristics such as the signal
* side band gain, the sky coupling or the spillover temperature.
*/
class WaterVaporRadiometer
{
public:
WaterVaporRadiometer() {}
/** Class constructor with identifiers of radiometric channels. Sky Coupling = 1.0, Sideband Gain: 50% (no spilloverTemperature given) */
WaterVaporRadiometer(const vector<unsigned int> &IdChannels);
/** Class constructor with identifiers of radiometric channels. Sideband Gain: 50% (no spilloverTemperature given) */
WaterVaporRadiometer(const vector<unsigned int> &IdChannels,
const vector<double> &skyCoupling);
inline WaterVaporRadiometer(const vector<unsigned int> &IdChannels,
double skyCoupling)
{
WaterVaporRadiometer(IdChannels, vector<double> (IdChannels.size(),