SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
FluxRadiusPlugin.cpp
Go to the documentation of this file.
1
17
22
23using namespace Euclid::NdArray;
24
25namespace SourceXtractor {
26
28
30 return "FluxRadiusPlugin";
31}
32
35
37 "flux_radius",
38 [](const FluxRadius& prop){
39 return prop.getFluxRadius();
40 },
41 "pixel",
42 "Radius containing a fraction of the flux"
43 );
44
45 plugin_api.getOutputRegistry().enableOutput<FluxRadius>("FluxRadius");
46}
47
48} // end of namespace SourceXtractor
void registerPlugin(PluginAPI &plugin_api) override
std::string getIdString() const override
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")
void enableOutput(std::string alias_name, bool configurable_output=false)
This interface is given to the plugin to let it access object instances from the framework.
Definition PluginAPI.h:40
virtual OutputRegistry & getOutputRegistry() const =0
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
Used to register compile-time (static) plugins with the PluginManager.
static StaticPlugin< FluxRadiusPlugin > flux_radius_plugin