ReFRACtor
solar_doppler_shift_l1b.h
Go to the documentation of this file.
1 #ifndef SOLAR_DOPPLER_SHIFT_L1B_H
2 #define SOLAR_DOPPLER_SHIFT_L1B_H
3 #include "solar_doppler_shift.h"
4 #include "fp_time.h"
5 #include "double_with_unit.h"
6 #include <boost/array.hpp>
7 #include "default_constant.h"
8 
9 namespace FullPhysics {
10 /****************************************************************/
18 public:
19  SolarDopplerShiftL1b(const DoubleWithUnit& Solar_distance,
20  const DoubleWithUnit& Solar_relative_velocity,
21  bool Apply_doppler_shift = true);
22 
23  virtual ~SolarDopplerShiftL1b() {}
24 
25 //-----------------------------------------------------------------------
27 //-----------------------------------------------------------------------
28 
29  virtual void print(std::ostream& Os) const;
30  virtual DoubleWithUnit solar_distance() const {return solar_distance_;}
32  const SpectralDomain& Spec_domain) const;
33 
34 //-----------------------------------------------------------------------
39 //-----------------------------------------------------------------------
40 
42  {return solar_relative_velocity_;}
43 
44  double doppler_shift() const {return doppler_shift_;}
45 
46 private:
47  DoubleWithUnit solar_distance_;
48  DoubleWithUnit solar_relative_velocity_;
49  double doppler_shift_;
50  bool apply_doppler_shift_;
51 };
52 
53 }
54 #endif
DoubleWithUnit solar_relative_velocity() const
Velocity of the sounding to the center of the sun.
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
SolarDopplerShiftL1b(const DoubleWithUnit &Solar_distance, const DoubleWithUnit &Solar_relative_velocity, bool Apply_doppler_shift=true)
Create a SolarDopplerShiftL1b.
virtual SpectralDomain doppler_stretch(const SpectralDomain &Spec_domain) const
Shift wavenumbers to account for doppler stretch.
This class handles the solar Doppler stretch to calculate the shift of the solar lines with respect t...
virtual DoubleWithUnit solar_distance() const
Return Earth-Sun distance.
virtual void print(std::ostream &Os) const
Print description of object.
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
This class handles the solar Doppler stretch to calculate the shift of the solar lines with respect t...

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