Source
Opacity getDryOpacity(unsigned int spwid, unsigned int nc){ if(!spwidAndIndexAreValid(spwid, nc)) return Opacity(-999.0); return getDryOpacity(v_transfertId_[spwid] + nc);}
/*******************************************************************************
* 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: ATMRefractiveIndexProfile.h Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* pardo 24/03/09 created
*/
ATM_NAMESPACE_BEGIN
/** \brief Profile of the absorption and Phase coefficient(s) at given frequency(ies) for an
* atmospheric profile (P/T/gas densities).
*
* Using the ATM library the vertical profile of the absorption
* coefficient corresponding to an atmospheric P/T/gas profile are build
* The absorption coefficient in each layer can be used
* later for radiative transfer purposes. The atmospheric P/T/gas profile is inherited
* from an object of type AtmProfile. The absorption coefficient profile
* is provided separately for O2 lines, H2O lines, CO lines, O3 lines, N2O lines, NO2 lines,
* SO2 lines dry and wet continuum. The total absorption coefficient profile (addition of
* those just described) is also available, since it is the only profile really needed
* for the WaterVaporRetrieval class which derives from this
* RefractiveIndexProfile class.
*/
class RefractiveIndexProfile: public AtmProfile, public SpectralGrid
{
public:
//@{
/** A full constructor for the case of a profile of absorption coefficients