plugin.hpp
Go to the documentation of this file.
30 typedef Scanner::Plugins::Plugin_Interface<double (const std::vector<double> &), void (const std::vector<double> &, std::unordered_map<std::string,double> &)> plugin_type; 49 void transform(const std::vector<double> &unitpars, std::unordered_map<std::string,double> &outputMap) const 54 std::vector<double> inverse_transform(const std::unordered_map<std::string, double> &) const override
Interface details for scanner plugins. std::vector< std::string > param_names Definition: base_prior.hpp:46 Prior object construction routines. std::vector< double > inverse_transform(const std::unordered_map< std::string, double > &) const override Transform from parameter back to unit hypercube. Definition: plugin.hpp:54 void transform(const std::vector< double > &unitpars, std::unordered_map< std::string, double > &outputMap) const Transform from unit hypercube to parameter. Definition: plugin.hpp:49 bool hasKey(const args &... keys) const Getters for key/value pairs (which is all the options node should contain) Definition: yaml_options.hpp:67 double operator()(const std::vector< double > &vec) const Log of PDF density. Definition: plugin.hpp:60 #define scan_err Defined to macros to output errors in the form: scan_err << "error" << scan_end; scan_warn << "warnin... Definition: scanner_utils.hpp:54 Definition: plugin.hpp:27 Interface for a ScannerBit plugin. Definition: plugin_interface.hpp:162 RangePrior1D< flatprior > LOAD_PRIOR(cos, RangePrior1D< cosprior >) LOAD_PRIOR(sin Plugin(const std::vector< std::string > ¶ms, const Options &options) Definition: plugin.hpp:34 Scanner::Plugins::Plugin_Interface< double(const std::vector< double > &), void(const std::vector< double > &, std::unordered_map< std::string, double > &)> plugin_type Definition: plugin.hpp:30 |