17 Radiance.
data() = Radiance.
data() * scaling;
19 for(
int i = 0; i < Radiance.
data_ad().
rows(); ++i) {
26 Os <<
"ApplyInstrumentUnits" 27 <<
"\tunits: " << spectral_units << std::endl
28 <<
"\tscale_factor: " << scaling << std::endl;
virtual void print(std::ostream &Os) const
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
virtual void apply_correction(const SpectralDomain &Pixel_grid, const std::vector< int > &Pixel_list, SpectralRange &Radiance) const
Apply correction to radiance values, in place.
const blitz::Array< double, 1 > & uncertainty() const
Uncertainty.
int number_variable() const
We have a number of different spectrums that appear in different parts of the code.
const ArrayAd< double, 1 > & data_ad() const
Underlying data, possibly with a Jacobian.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual boost::shared_ptr< InstrumentCorrection > clone() const
Clone an InstrumentCorrection object.
ApplyInstrumentUnits(const Unit &units, const double scale_factor=1.0)
const blitz::Array< double, 1 > & data() const
Underlying data.