ReFRACtor
uniform_spectrum_sampling.h
Go to the documentation of this file.
1 #ifndef UNIFORM_SPECTRUM_SAMPLING_H
2 #define UNIFORM_SPECTRUM_SAMPLING_H
3 
4 #include "spectrum_sampling.h"
5 #include "fp_exception.h"
6 #include <vector>
7 
8 namespace FullPhysics {
9 /****************************************************************/
20 public:
22  : spec_spacing(Spec_spacing), SpectrumSampling(Spec_spacing.rows()) { }
23 
25 
26  virtual SpectralDomain spectral_domain(int spec_index,
27  const SpectralDomain& Lowres_grid,
28  const DoubleWithUnit& Ils_half_width) const;
29 
30  virtual void print(std::ostream& Os) const;
31 
32 private:
33  ArrayWithUnit<double, 1> spec_spacing;
34 };
35 }
36 #endif
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
virtual SpectralDomain spectral_domain(int spec_index, const SpectralDomain &Lowres_grid, const DoubleWithUnit &Ils_half_width) const
Wavenumbers/Wavelengths to use for the given spectrometer.
virtual void print(std::ostream &Os) const
Print to stream.
This spectrum sampling creates a grid that begins the nearest ils_half_width before the low resolutio...
This determines the sampling of the spectrum that should be used for each of the spectrum indexes...
We frequently have a double with units associated with it.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
UniformSpectrumSampling(const ArrayWithUnit< double, 1 > &Spec_spacing)

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10