ReFRACtor
spectrum_sampling_fixed_spacing.h
Go to the documentation of this file.
1 #ifndef SPECTRUM_SAMPLING_FIXED_SPACING_H
2 #define SPECTRUM_SAMPLING_FIXED_SPACING_H
3 
4 #include "spectrum_sampling.h"
5 
6 namespace FullPhysics {
7 /****************************************************************/
19 public:
21  : spec_spacing(Spec_spacing), SpectrumSampling(Spec_spacing.rows()) { }
22 
24  virtual SpectralDomain spectral_domain(int spec_index,
25  const SpectralDomain& Lowres_grid,
26  const DoubleWithUnit& Ils_half_width) const;
27  virtual void print(std::ostream& Os) const
28  { Os << "SpectrumSamplingFixedSpacing\n"
29  << " Spacing: " << spec_spacing << "\n";}
30 private:
31  ArrayWithUnit<double, 1> spec_spacing;
32 };
33 }
34 #endif
This generates a spectrum sampling that covers all the high resolution points needed to create the sp...
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 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
SpectrumSamplingFixedSpacing(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