SourceXtractorPlusPlus  0.11
Please provide a description of the project.
IsophotalFluxPlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * IsophotalFluxPlugin.cpp
19  *
20  * Created on: Sep 28, 2016
21  * Author: mschefer
22  */
23 
25 
28 
30 
31 namespace SourceXtractor {
32 
34 
37 
39  "isophotal_flux",
40  [](const IsophotalFlux& prop){
41  return prop.getFlux();
42  },
43  "count",
44  "Isophotal flux"
45  );
46 
48  "isophotal_flux_err",
49  [](const IsophotalFlux& prop){
50  return prop.getFluxError();
51  },
52  "count",
53  "Isophotal flux error"
54  );
55 
57  "isophotal_mag",
58  [](const IsophotalFlux& prop){
59  return prop.getMag();
60  },
61  "mag",
62  "Isophotal magnitude"
63  );
64 
66  "isophotal_mag_err",
67  [](const IsophotalFlux& prop){
68  return prop.getMagError();
69  },
70  "mag",
71  "Isophotal magnitude error"
72  );
73 
74 
75 
76  plugin_api.getOutputRegistry().enableOutput<IsophotalFlux>("IsophotalFlux");
77 }
78 
80  return "IsophotalFlux";
81 }
82 
83 }
84 
IsophotalFluxPlugin.h
SourceXtractor::IsophotalFlux
Computes the isophotal flux and magnitude.
Definition: IsophotalFlux.h:36
std::string
STL class.
StaticPlugin.h
SourceXtractor::IsophotalFluxPlugin::getIdString
virtual std::string getIdString() const override
Definition: IsophotalFluxPlugin.cpp:79
SourceXtractor
Definition: Aperture.h:30
IsophotalFlux.h
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
SourceXtractor::IsophotalFluxPlugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api) override
Definition: IsophotalFluxPlugin.cpp:35
SourceXtractor::TaskFactoryRegistry::registerTaskFactory
void registerTaskFactory()
Definition: TaskFactoryRegistry.h:51
SourceXtractor::OutputRegistry::enableOutput
void enableOutput(std::string alias_name)
Definition: OutputRegistry.h:128
SourceXtractor::isophotal_flux_plugin
static StaticPlugin< IsophotalFluxPlugin > isophotal_flux_plugin
Definition: IsophotalFluxPlugin.cpp:33
SourceXtractor::PluginAPI::getOutputRegistry
virtual OutputRegistry & getOutputRegistry() const =0
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::IsophotalFluxTaskFactory
Produces IsophotalFluxTask.
Definition: IsophotalFluxTaskFactory.h:35
SourceXtractor::StaticPlugin
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
SourceXtractor::OutputRegistry::registerColumnConverter
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")
Definition: OutputRegistry.h:46
IsophotalFluxTaskFactory.h