SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MoffatModelFittingPlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * MoffatModelFittingPlugin.cpp
19  *
20  * Created on: May 2, 2017
21  * Author: mschefer
22  */
23 
29 
30 
31 namespace SourceXtractor {
32 
34 
38 
40  "smf_x",
41  [](const MoffatModelFitting& prop) {
42  return prop.getX() + 1.0;
43  },
44  "pixel",
45  "X-position of the Moffat fit"
46  );
47 
49  "smf_y",
50  [](const MoffatModelFitting& prop) {
51  return prop.getY() + 1.0;
52  },
53  "pixel",
54  "Y-position of the Moffat fit"
55  );
56 
58  "smf_iter",
59  [](const MoffatModelFitting& prop){
60  return prop.getIterations();
61  },
62  "",
63  "Number of iterations in the Moffat fitting"
64  );
65 
66  plugin_api.getOutputRegistry().enableOutput<MoffatModelFitting>("MoffatModelFitting");
67 }
68 
70  return "MoffatModelFitting";
71 }
72 
73 }
void enableOutput(std::string alias_name, bool configurable_output=false)
virtual OutputRegistry & getOutputRegistry() const =0
STL class.
static StaticPlugin< MoffatModelFittingPlugin > simple_modelfitting_plugin
virtual void registerPlugin(PluginAPI &plugin_api) override
virtual std::string getIdString() const override
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")