SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ErrorEllipsePlugin.cpp
Go to the documentation of this file.
1
17/*
18 * ErrorEllipsePlugin.cpp
19 *
20 * Created on: Feb 11 2022
21 * Author: mkuemmel
22 */
23
25
28
30
31namespace SourceXtractor {
32
34
37
39 "error_ellipse_a",
40 [](const ErrorEllipse& prop){
41 return prop.getEllipseAError();
42 },
43 "pixel",
44 "Major axis of the isophotal image centroid error ellipse"
45 );
46
48 "error_ellipse_b",
49 [](const ErrorEllipse& prop){
50 return prop.getEllipseBError();
51 },
52 "pixel",
53 "Minor axis of the isophotal image centroid error ellipse"
54 );
55
57 "error_ellipse_theta",
58 [](const ErrorEllipse& prop){
59 return prop.getEllipseThetaError() * 180.0 / M_PI;
60 },
61 "deg",
62 "Position angle of the isophotal image centroid ellipse"
63 );
64
66 "error_centroid_x2",
67 [](const ErrorEllipse& prop){
68 return prop.getEllipseCxxError();
69 },
70 "pixel^2",
71 "Estimated variance of isophotal image centroid x coordinate"
72 );
73
75 "error_centroid_y2",
76 [](const ErrorEllipse& prop){
77 return prop.getEllipseCyyError();
78 },
79 "pixel^2",
80 "Estimated variance of isophotal image centroid y coordinate"
81 );
82
84 "error_centroid_xy",
85 [](const ErrorEllipse& prop){
86 return prop.getEllipseCxyError();
87 },
88 "pixel^2",
89 "Estimated covariance of isophotal image centroid x and y coordinates"
90 );
91
92 plugin_api.getOutputRegistry().enableOutput<ErrorEllipse>("ErrorEllipse");
93}
94
96 return "ErrorEllipse";
97}
98
99}
100
std::string getIdString() const override
void registerPlugin(PluginAPI &plugin_api) 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< ErrorEllipsePlugin > error_ellipse_plugin