8 typedef const blitz::Array<double, 1>& (
SpectralRange::*ftype)()
const;
22 Array<double, 1> dv(data_.value().shape()), uncer(uncertainty_.shape());
23 Array<double, 2> djac(data_.jacobian().shape());
24 dv = data_.value() * conv;
26 djac = data_.jacobian() * conv;
28 uncer = uncertainty_ * conv;
double conversion(const Unit &Dunit_from, const Unit &Dunit_to)
Return conversion factor to go from one unit to another.
#define REGISTER_LUA_CLASS(X)
Apply value function to a blitz array.
const Unit & units() const
Units of data.
We have a number of different spectrums that appear in different parts of the code.
Libraries such as boost::units allow unit handling where we know the units at compile time...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
#define REGISTER_LUA_END()
SpectralRange convert(const Unit &R) const
Convert to given units.
const blitz::Array< double, 1 > & data() const
Underlying data.