1 #ifndef _ATM_REFRACTIVEINDEXPROFILE_H
2 #define _ATM_REFRACTIVEINDEXPROFILE_H
29 #error This is a C++ include file and cannot be used from plain C
104 double tropoLapseRate,
106 const Length &wvScaleHeight);
113 unsigned int refChan,
122 unsigned int refChan,
124 const string &freqUnits)
133 const string &freqUnits)
141 const vector<double> &chanFreq,
142 const string &freqUnits)
149 unsigned int refChan,
207 unsigned int nl)
const
226 unsigned int nl)
const
245 unsigned int nl)
const
264 unsigned int nl)
const
283 unsigned int nl)
const
302 unsigned int nl)
const
323 unsigned int nl)
const
342 unsigned int nl)
const
362 unsigned int nl)
const
389 unsigned int nl)
const
413 unsigned int nl)
const
888 double tropoLapseRate,
890 const Length &wvScaleHeight);
#define ATM_NAMESPACE_END
Length getCOLinesPathLength()
Function to retrieve the integrated Atmospheric Path length (due to CO Lines) along the atmospheric p...
InverseLength getAbsDryCont(unsigned int nl) const
Function to retrieve Dry continuum Absorption Coefficient at layer nl, for single frequency Refractiv...
Opacity getAverageO2LinesOpacity(unsigned int spwid)
Angle getAverageN2OLinesPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (due to N2O Lines) in spectral Wi...
Angle getAverageNonDispersiveDryPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (Dry part) in spectral Window spw...
Opacity getAverageNO2LinesOpacity(unsigned int spwid)
InverseLength getAbsH2OLines(unsigned int nf, unsigned int nl) const
Accessor to get H2O lines Absorption Coefficient at layer nl and frequency channel nf...
InverseLength getAbsO2Lines(unsigned int nl) const
Function to retrieve O2 lines Absorption Coefficient at layer nl, for single frequency RefractiveInde...
std::vector< unsigned int > v_transfertId_
Spectral grid defined as a list of frequencies with basic complementary informations.
Angle getAverageO2LinesPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (due to O2 Lines) in spectral Win...
bool updateRefractiveIndexProfile(const Length &altitude, const Pressure &groundPressure, const Temperature &groundTemperature, double tropoLapseRate, const Humidity &relativeHumidity, const Length &wvScaleHeight)
Length getO2LinesPathLength()
Function to retrieve the integrated Atmospheric Path length (due to O2 Lines) along the atmospheric p...
Opacity getAverageDryContOpacity(unsigned int spwid)
InverseLength getAbsO2Lines(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve O2 lines Absorption Coefficient at layer nl, spectral window spwid and channel n...
void updateNewSpectralWindows()
unsigned int getNumIndividualFrequencies() const
Accessor to total number of Frequency points in the SpectralGrid object.
Opacity getO2LinesOpacity()
Function to retrieve the integrated O2 Lines Opacity along the atmospheric path for single frequency ...
Angle getAverageNonDispersiveH2OPhaseDelay(const Length &integratedwatercolumn, unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (Non-Dispersive part) in spectral...
bool setBasicAtmosphericParameters(const Length &altitude, const Pressure &groundPressure, const Temperature &groundTemperature, double tropoLapseRate, const Humidity &relativeHumidity, const Length &wvScaleHeight)
Setter to update the AtmProfile and RefractiveIndexProfile if some basic atmospheric parameter has ch...
Length getO3LinesPathLength()
Function to retrieve the integrated Atmospheric Path length (due to O3 Lines) along the atmospheric p...
Angle getCOLinesPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (due to CO lines) along the atmospheric p...
ATM_NAMESPACE_BEGIN typedef ATM_NAMESPACE::Percent Humidity
void addNewSpectralWindow(unsigned int numChan, double refFreq, const vector< double > &chanFreq, const string &freqUnits)
Setter of new spectral windows (adds frequencies to the SpectralGrid and calculates the corresponding...
Opacity getAverageN2OLinesOpacity(unsigned int spwid)
Length getGroundWH2O() const
Method to get the zenith column of water vapor.
Opacity getAverageH2OContOpacity(const Length &integratedwatercolumn, unsigned int spwid)
LatticeExprNode imag(const LatticeExprNode &expr)
bool spwidAndIndexAreValid(unsigned int spwid, unsigned int idx)
Method to assess if a channel frequency index of a given spectral window is valid.
void mkRefractiveIndexProfile()
Method to build the profile of the absorption coefficients,.
InverseLength getAbsH2OLines(unsigned int spwid, unsigned int nf, unsigned int nl) const
Accessor to get H2O Continuum Absorption Coefficient at layer nl, spectral window spwid and channel n...
Angle getNonDispersiveH2OPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (Non-Dispersive part) along the atmospher...
InverseLength getAbsO3Lines(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve O3 lines Absorption Coefficient at layer nl, spectral window spwid and channel n...
Length getNO2LinesPathLength()
Function to retrieve the integrated Atmospheric Path length (due to NO2 Lines) along the atmospheric ...
vector< vector< std::complex< double > > * > vv_N_H2OContPtr_
H2O continuum absorption coefficient and delay term (rad m^-1,m^-1)
InverseLength getAbsNO2Lines(unsigned int nf, unsigned int nl) const
Function to retrieve NO2 lines Absorption Coefficient at layer nl and frequency channel nf...
Opacity getN2OLinesOpacity()
Function to retrieve the integrated N2O Lines Opacity along the atmospheric path for single frequency...
InverseLength getAbsNO2Lines(unsigned int nl) const
Function to retrieve NO2 lines Absorption Coefficient at layer nl, for single frequency RefractiveInd...
Angle getO3LinesPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (due to O3 lines) along the atmospheric p...
InverseLength getAbsH2OCont(unsigned int spwid, unsigned int nf, unsigned int nl) const
Accessor to get H2O Continuum Absorption Coefficient at layer nl, spectral window spwid and channel n...
Length getAverageDispersiveH2OPathLength(const Length &integratedwatercolumn, unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (Dispersive part) in spectral Win...
void addNewSpectralWindow(const vector< Frequency > &chanFreq)
InverseLength getAbsN2OLines(unsigned int nf, unsigned int nl) const
Function to retrieve N2O lines Absorption Coefficient at layer nl and frequency channel nf...
Opacity getAverageWetOpacity(const Length &integratedwatercolumn, unsigned int spwid)
Length getSO2LinesPathLength()
Function to retrieve the integrated Atmospheric Path length (due to SO2 Lines) along the atmospheric ...
InverseLength getAbsTotalDry(unsigned int nl) const
Function to retrieve total Dry Absorption Coefficient at layer nl, for single frequency RefractiveInd...
void addNewSpectralWindow(unsigned int numChan, unsigned int refChan, double *chanFreq, const string &freqUnits)
Setter of new spectral windows (adds frequencies to the SpectralGrid and calculates the corresponding...
InverseLength getAbsNO2Lines(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve NO2 lines Absorption Coefficient at layer nl, spectral window spwid and channel ...
Length getN2OLinesPathLength()
Function to retrieve the integrated Atmospheric Path length (due to N2O Lines) along the atmospheric ...
void addNewSpectralWindow(unsigned int numChan, unsigned int refChan, const Frequency &refFreq, const Frequency &chanSep, const Frequency &intermediateFreq, const SidebandSide &sbSide, const SidebandType &sbType)
Setter of new spectral windows (adds frequencies to the SpectralGrid and calculates the corresponding...
Opacity getDryContOpacity()
Function to retrieve the integrated Dry Continuum Opacity along the atmospheric path for single frequ...
void addNewSpectralWindow(unsigned int numChan, double refFreq, double *chanFreq, const string &freqUnits)
Setter of new spectral windows (adds frequencies to the SpectralGrid and calculates the corresponding...
Opacity getDryOpacity()
Function to retrieve the integrated Dry Opacity along the atmospheric path for single frequency Refra...
Opacity getCOLinesOpacity()
Function to retrieve the integrated CO Lines Opacity along the atmospheric path for single frequency ...
Angle getN2OLinesPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (due to N2O lines) along the atmospheric ...
Opacity getAverageSO2LinesOpacity(unsigned int spwid)
InverseLength getAbsO2Lines(unsigned int nf, unsigned int nl) const
Function to retrieve O2 lines Absorption Coefficient at layer nl and frequency channel nf...
Length getDispersiveDryPathLength()
Function to retrieve the integrated Atmospheric Path length (Dry part) along the atmospheric path cor...
InverseLength getAbsH2OCont(unsigned int nf, unsigned int nl) const
Accessor to get H2O Continuum Absorption Coefficient at layer nl and frequency channel nf...
Angle getAverageO3LinesPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (due to O3 Lines) in spectral Win...
vector< vector< std::complex< double > > * > vv_N_DryContPtr_
Dry continuum absorption coefficient and delay term (rad m^-1,m^-1)
InverseLength getAbsN2OLines(unsigned int nl) const
Function to retrieve N2O lines Absorption Coefficient at layer nl, for single frequency RefractiveInd...
Opacity getAverageO3LinesOpacity(unsigned int spwid)
vector< vector< std::complex< double > > * > vv_N_SO2LinesPtr_
SO2 lines absorption coefficient and delay term (rad m^-1,m^-1)
Opacity getH2OLinesOpacity()
Function to retrieve the integrated H2O Lines Opacity along the atmospheric path corresponding to a g...
Class for those physical parameters having dimensions of Inverse Length [L^-1].
vector< vector< std::complex< double > > * > vv_N_NO2LinesPtr_
NO2 lines absorption coefficient and delay term (rad m^-1,m^-1)
Opacity getSO2LinesOpacity()
Function to retrieve the integrated SO2 Lines Opacity along the atmospheric path for single frequency...
InverseLength getAbsCOLines(unsigned int nl) const
Function to retrieve CO lines Absorption Coefficient at layer nl, for single frequency RefractiveInde...
Opacity getDryOpacityUpTo(Length refalti)
Angle getSO2LinesPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (due to SO2 lines) along the atmospheric ...
double getFrequency(const string &freqUnits) const
Accessor to the single frequency (or the frequency of the first grid point in case of a spectrum) in ...
InverseLength getAbsDryCont(unsigned int nf, unsigned int nl) const
Function to retrieve Dry continuum Absorption Coefficient at layer nl and frequency channel nf...
#define ATM_NAMESPACE_BEGIN
InverseLength getAbsSO2Lines(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve SO2 lines Absorption Coefficient at layer nl, spectral window spwid and channel ...
Angle getAverageNO2LinesPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (due to NO2 Lines) in spectral Wi...
Length getAverageDispersiveDryPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (Dry part) in spectral Window spw...
InverseLength getAbsTotalWet(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve total Wet Absorption Coefficient at layer nl, spectral window spwid and channel ...
Length getAverageO2LinesPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (due to O2 Lines) in spectral Win...
Angle getNO2LinesPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (due to NO2 lines) along the atmospheric ...
InverseLength getAbsSO2Lines(unsigned int nf, unsigned int nl) const
Function to retrieve SO2 lines Absorption Coefficient at layer nl and frequency channel nf...
virtual ~RefractiveIndexProfile()
Angle getDispersiveDryPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (Dry part) along the atmospheric path cor...
Opacity getWetOpacity()
Function to retrieve the integrated Wet Opacity along the atmospheric path corresponding to the 1st g...
Opacity getAverageH2OLinesOpacity(const Length &integratedwatercolumn, unsigned int spwid)
double get() const
Accessor to get the numerical value of frequency (in International System units: Hz) ...
InverseLength getAbsTotalWet(unsigned int nl) const
Function to retrieve total Wet Absorption Coefficient at layer nl, for single frequency RefractiveInd...
Frequency getChanFreq(unsigned int chanNum) const
Accessor to the frequency (Hz) for a given grid point (for the first spectral window) ...
Length getAverageSO2LinesPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (due to SO2 Lines) in spectral Wi...
Length getAverageNonDispersiveH2OPathLength(const Length &integratedwatercolumn, unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (Non-Dispersive part) in spectral...
Profile of the absorption and Phase coefficient(s) at given frequency(ies) for an atmospheric profile...
InverseLength getAbsTotalWet(unsigned int nf, unsigned int nl) const
Function to retrieve total Wet Absorption Coefficient at layer nl and frequency channel nf...
Length getAverageN2OLinesPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (due to N2O Lines) in spectral Wi...
InverseLength getAbsTotalDry(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve total Dry Absorption Coefficient at layer nl, spectral window spwid and channel ...
InverseLength getAbsH2OCont(unsigned int nl) const
Accessor to get H2O Continuum Absorption Coefficient at layer nl, for single frequency RefractiveInde...
unsigned int add(unsigned int numChan, unsigned int refChan, const Frequency &refFreq, const Frequency &chanSep)
Add a new spectral window, uniformly sampled, this spectral window having no sideband.
bool chanIndexIsValid(unsigned int nc)
Method to assess if a channel frequency index is valid.
Defines pressure with units.
InverseLength getAbsCOLines(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve CO lines Absorption Coefficient at layer nl, spectral window spwid and channel n...
Class for an atmospheric profile object.
Class for opacities [no dimensions].
InverseLength getAbsCOLines(unsigned int nf, unsigned int nl) const
Function to retrieve CO lines Absorption Coefficient at layer nl and frequency channel nf...
vector< vector< std::complex< double > > * > vv_N_H2OLinesPtr_
H2O lines absorption coefficient and delay term (rad m^-1,m^-1)
Length getNonDispersiveH2OPathLength()
Function to retrieve the integrated Atmospheric Path Length (Non-Dispersive part) along the atmospher...
std::vector< double > v_chanFreq_
Channel frequencies of ALL the channels (i.e. all spectral window appended)
Length getNonDispersiveDryPathLength()
Function to retrieve the integrated Atmospheric Path length (Dry part) along the atmospheric path cor...
Length getDispersiveH2OPathLength()
Function to retrieve the integrated Atmospheric Path length (Dispersive part) along the atmospheric p...
Length getAverageO3LinesPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (due to O3 Lines) in spectral Win...
vector< vector< std::complex< double > > * > vv_N_O3LinesPtr_
O3 lines absorption coefficient and delay term (rad m^-1,m^-1)
vector< vector< std::complex< double > > * > vv_N_N2OLinesPtr_
N2O lines absorption coefficient and delay term (rad m^-1,m^-1)
vector< vector< std::complex< double > > * > vv_N_O2LinesPtr_
O2 lines absorption coefficient and delay term (rad m^-1,m^-1)
Length getAverageNonDispersiveDryPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (Dry part) in spectral Window spw...
Angle getAverageDispersiveDryPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (Dry part) in spectral Window spw...
Angle getNonDispersiveDryPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (Dry part) along the atmospheric path cor...
Opacity getAverageDryOpacity(unsigned int spwid)
Opacity getDryOpacity(unsigned int spwid, unsigned int nc)
void rmRefractiveIndexProfile()
deletes all the layer profiles for all the frequencies
InverseLength getAbsH2OLines(unsigned int nl) const
Accessor to get H2O lines Absorption Coefficient at layer nl, for single frequency RefractiveIndexPro...
Length getAverageNO2LinesPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (due to NO2 Lines) in spectral Wi...
Defines a Class for those parameters being angles.
InverseLength getAbsDryCont(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve Dry continuum Absorption Coefficient at layer nl, spectral window spwid and chan...
Temperature value with units.
Opacity getNO2LinesOpacity()
Function to retrieve the integrated NO2 Lines Opacity along the atmospheric path for single frequency...
InverseLength getAbsO3Lines(unsigned int nf, unsigned int nl) const
Function to retrieve O3 lines Absorption Coefficient at layer nl and frequency channel nf...
Defines a frequency value with units.
InverseLength getAbsTotalDry(unsigned int nf, unsigned int nl) const
Function to retrieve total Dry Absorption Coefficient at layer nl and frequency channel nf...
InverseLength getAbsO3Lines(unsigned int nl) const
Function to retrieve O3 lines Absorption Coefficient at layer nl, for single frequency RefractiveInde...
Angle getO2LinesPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (due to O2 lines) along the atmospheric p...
Angle getAverageSO2LinesPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (due to SO2 Lines) in spectral Wi...
Angle getDispersiveH2OPhaseDelay()
Function to retrieve the integrated Atmospheric Phase Delay (Dispersive part) along the atmospheric p...
double getFrequency() const
Accessor to the single frequency (or the frequency of the first grid point in case of a spectrum) in ...
Class for those physical parameters having dimensions of Length [L].
Opacity getO3LinesOpacity()
Function to retrieve the integrated O3 Lines Opacity along the atmospheric path for single frequency ...
Length getAverageCOLinesPathLength(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Path Length (due to CO Lines) in spectral Win...
Opacity getDryOpacityUpTo(unsigned int spwid, unsigned int nc, Length refalti)
Opacity getH2OContOpacity()
Function to retrieve the integrated H2O Continuum Opacity along the atmospheric path corresponding to...
InverseLength getAbsSO2Lines(unsigned int nl) const
Function to retrieve SO2 lines Absorption Coefficient at layer nl, for single frequency RefractiveInd...
vector< vector< std::complex< double > > * > vv_N_COLinesPtr_
CO lines absorption coefficient and delay term (rad m^-1,m^-1)
void addNewSpectralWindow(unsigned int numChan, unsigned int refChan, const Frequency &refFreq, const Frequency &chanSep)
Setter of new spectral windows (adds frequencies to the SpectralGrid and calculates the corresponding...
Angle getAverageDispersiveH2OPhaseDelay(const Length &integratedwatercolumn, unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (Dispersive part) in spectral Win...
InverseLength getAbsN2OLines(unsigned int spwid, unsigned int nf, unsigned int nl) const
Function to retrieve N2O lines Absorption Coefficient at layer nl, spectral window spwid and channel ...
Angle getAverageCOLinesPhaseDelay(unsigned int spwid)
Function to retrieve the average integrated Atmospheric Phase Delay (due to CO Lines) in spectral Win...
Opacity getAverageCOLinesOpacity(unsigned int spwid)