ReFRACtor
dispersion_fit.h
Go to the documentation of this file.
1 #ifndef DISPERSION_FIT_H
2 #define DISPERSION_FIT_H
4 
5 namespace FullPhysics {
6 /****************************************************************/
18  class DispersionFit : public Printable<DispersionFit> {
19 public:
20 
22  blitz::Array<double, 2> fit(const blitz::Array<double, 2> disp_initial,
23  const DoubleWithUnit& aband_solar_line_location,
24  const DoubleWithUnit& aband_solar_line_width,
25  const DoubleWithUnit& aband_search_width,
26  const DoubleWithUnit& aband_ils_offset,
27  const ArrayWithUnit<double, 1>& offset_scaling) const;
28 
30  blitz::Array<double, 1> shift() const { return shift_; };
31 
32  void print(std::ostream& Os) const;
33 
34 private:
35 
37  mutable blitz::Array<double, 1> shift_;
38 
39 };
40 }
41 #endif
42 
43 
blitz::Array< double, 2 > fit(const blitz::Array< double, 2 > disp_initial, const DoubleWithUnit &aband_solar_line_location, const DoubleWithUnit &aband_solar_line_width, const DoubleWithUnit &aband_search_width, const DoubleWithUnit &aband_ils_offset, const ArrayWithUnit< double, 1 > &offset_scaling) const
Given a single frame of data, estimate the spectral shift in band 1P.
This is used to read a Level 1B file.
Definition: level_1b.h:15
This is a Mixin for classes that can be printed.
Definition: printable.h:24
We frequently have a double with units associated with it.
blitz::Array< double, 1 > shift() const
Return computed shift in each band.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
void print(std::ostream &Os) const
DispersionFit(const boost::shared_ptr< Level1bSampleCoefficient > &Level1b)
Initialize class with data needed to perform fit.

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