ReFRACtor
pca_binning.h
Go to the documentation of this file.
1 #ifndef PCA_BINNING_H
2 #define PCA_BINNING_H
3 
4 #include "rt_atmosphere.h"
5 #include "spectral_domain.h"
6 
7 namespace FullPhysics {
8 
9 /****************************************************************/
12 class PCABinning {
13 public:
14  PCABinning(const boost::shared_ptr<RtAtmosphere>& atm) : atmosphere(atm) {};
15 
16  void compute_bins(const SpectralDomain& spec_domain, int chanel_index);
17 
18  const blitz::Array<double, 1> binlims() const { return binlims_; }
19  const blitz::Array<int, 1> ncnt() const { return ncnt_; }
20  const blitz::Array<int, 1> index() const { return index_; }
21 
22 private:
24 
25  blitz::Array<double, 1> binlims_;
26  blitz::Array<int, 1> ncnt_;
27  blitz::Array<int, 1> index_;
28 
29 };
30 
31 }
32 
33 #endif
const blitz::Array< int, 1 > ncnt() const
Definition: pca_binning.h:19
void compute_bins(const SpectralDomain &spec_domain, int chanel_index)
Definition: pca_binning.cc:12
PCABinning(const boost::shared_ptr< RtAtmosphere > &atm)
Definition: pca_binning.h:14
const blitz::Array< double, 1 > binlims() const
Definition: pca_binning.h:18
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
const blitz::Array< int, 1 > index() const
Definition: pca_binning.h:20

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