Source
xxxxxxxxxx
transmission_fit[i] = exp(-( (getDryContOpacity(spwId, i).get()+getO2LinesOpacity(spwId, i).get()+0.65*getO3LinesOpacity(spwId, i).get() ) //getDryOpacity(spwId, i).get()
/*******************************************************************************
* 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: ATMSkyStatus.cpp Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* pardo 24/03/09 created
*/
ATM_NAMESPACE_BEGIN
// Constructors
SkyStatus::SkyStatus(const RefractiveIndexProfile &refractiveIndexProfile) :
RefractiveIndexProfile(refractiveIndexProfile), airMass_(1.0),
skyBackgroundTemperature_(2.73, Temperature::UnitKelvin)
{
iniSkyStatus();
}
SkyStatus::SkyStatus(const RefractiveIndexProfile &refractiveIndexProfile,
double airMass) :
RefractiveIndexProfile(refractiveIndexProfile), airMass_(airMass),
skyBackgroundTemperature_(2.73, Temperature::UnitKelvin)
{
iniSkyStatus();
}
SkyStatus::SkyStatus(const RefractiveIndexProfile &refractiveIndexProfile,
const Temperature &temperatureBackground) :
RefractiveIndexProfile(refractiveIndexProfile), airMass_(1.0),
skyBackgroundTemperature_(temperatureBackground)
{
iniSkyStatus();
}
SkyStatus::SkyStatus(const RefractiveIndexProfile &refractiveIndexProfile,
const Length &wh2o) :
RefractiveIndexProfile(refractiveIndexProfile), airMass_(1.0),
skyBackgroundTemperature_(2.73, Temperature::UnitKelvin), wh2o_user_(wh2o)
{
iniSkyStatus();
}
SkyStatus::SkyStatus(const RefractiveIndexProfile &refractiveIndexProfile,
const Temperature &temperatureBackground,
double airMass) :
RefractiveIndexProfile(refractiveIndexProfile), airMass_(airMass),
skyBackgroundTemperature_(temperatureBackground)
{
iniSkyStatus();
}
SkyStatus::SkyStatus(const RefractiveIndexProfile &refractiveIndexProfile,
double airMass,
const Temperature &temperatureBackground) :
RefractiveIndexProfile(refractiveIndexProfile), airMass_(airMass),
skyBackgroundTemperature_(temperatureBackground)
{