1 #ifndef HIGH_RES_SPECTRUM_OUTPUT_H 2 #define HIGH_RES_SPECTRUM_OUTPUT_H 20 public Observer<boost::shared_ptr<NamedSpectrum> >,
21 public Observer<std::vector<boost::shared_ptr<NamedSpectrum> > > {
30 output_files.push_back(out);
40 virtual std::string
desc()
const {
return "HighResSpectrumOutput"; }
43 const std::string& domain_prefix,
const std::string& range_prefix);
45 std::map<std::string, std::vector<boost::shared_ptr<Spectrum> > > saved_spectra;
46 mutable std::vector<boost::shared_ptr<Output> > output_files;
const blitz::Array< double, 1 > saved_spectral_domain(const std::string &spectra_name)
virtual void register_output(const boost::shared_ptr< Output > &out) const
Saves a pointer to all interested output files The datasets will be actually registered as they are s...
virtual void notify_update(const boost::shared_ptr< NamedSpectrum > &Obs)
On notification this class registers a dataset based on the name in the NamedSpectrum.
This class will recieve observer notifications from any class that pushes out NamedSpectrum and write...
virtual std::string desc() const
Description of object, to be printed to stream.
const blitz::Array< double, 1 > saved_spectral_range(const std::string &spectra_name)
As described in the Output class, we have a decentralized model of producing output for L2 Full Physi...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual ~HighResSpectrumOutput()
Simple Mixin to be and Observer of another object of class T.
virtual void register_output_apriori(const boost::shared_ptr< Output > &out) const
Register apriori portions of class.