Loading [MathJax]/extensions/tex2jax.js
LSST Applications g0fba68d861+05816baf74,g1ec0fe41b4+f536777771,g1fd858c14a+a9301854fb,g35bb328faa+fcb1d3bbc8,g4af146b050+a5c07d5b1d,g4d2262a081+6e5fcc2a4e,g53246c7159+fcb1d3bbc8,g56a49b3a55+9c12191793,g5a012ec0e7+3632fc3ff3,g60b5630c4e+ded28b650d,g67b6fd64d1+ed4b5058f4,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8352419a5c+fcb1d3bbc8,g87b7deb4dc+7b42cf88bf,g8852436030+e5453db6e6,g89139ef638+ed4b5058f4,g8e3bb8577d+d38d73bdbd,g9125e01d80+fcb1d3bbc8,g94187f82dc+ded28b650d,g989de1cb63+ed4b5058f4,g9d31334357+ded28b650d,g9f33ca652e+50a8019d8c,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+d9fb1f8026,gb58c049af0+f03b321e39,gb665e3612d+2a0c9e9e84,gb89ab40317+ed4b5058f4,gcf25f946ba+e5453db6e6,gd6cbbdb0b4+bb83cc51f8,gdd1046aedd+ded28b650d,gde0f65d7ad+941d412827,ge278dab8ac+d65b3c2b70,ge410e46f29+ed4b5058f4,gf23fb2af72+b7cae620c0,gf5e32f922b+fcb1d3bbc8,gf67bdafdda+ed4b5058f4,w.2025.16
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
sersicparametricellipse.h
Go to the documentation of this file.
1#ifndef LSST_GAUSS2D_FIT_SERSICPARAMETRICELLIPSE_H
2#define LSST_GAUSS2D_FIT_SERSICPARAMETRICELLIPSE_H
3
4#include <memory>
5
7
8#include "parameters.h"
9#include "parametricellipse.h"
10
11namespace lsst::gauss2d::fit {
16public:
26 std::shared_ptr<RhoParameterD> rho = nullptr);
27 explicit SersicParametricEllipse(double size_x = 0, double size_y = 0, double rho = 0);
28
29 ParamRefs& get_parameters(ParamRefs& params, ParamFilter* filter = nullptr) const override;
30 ParamCRefs& get_parameters_const(ParamCRefs& params, ParamFilter* filter = nullptr) const override;
31
32 double get_rho() const override;
33 double get_size_x() const override;
34 double get_size_y() const override;
35 std::array<double, 3> get_xyr() const override;
36
37 RhoParameterD& get_rho_param() const override;
38 SizeXParameterD& get_size_x_param() const override;
39 SizeYParameterD& get_size_y_param() const override;
40
46
47 void set_rho(double rho) override;
48 void set_size_x(double size_x) override;
49 void set_size_y(double size_y) override;
50
51 std::string repr(bool name_keywords = false,
52 std::string_view namespace_separator = Object::CC_NAMESPACE_SEPARATOR) const override;
53 std::string str() const override;
54
55private:
59};
60} // namespace lsst::gauss2d::fit
61
62#endif
static constexpr std::string_view CC_NAMESPACE_SEPARATOR
The C++ namespace separator.
Definition object.h:45
double get_rho() const override
Get the rho value.
std::shared_ptr< ReffXParameterD > get_reff_x_param_ptr()
std::shared_ptr< SizeYParameterD > get_size_y_param_ptr() override
SizeYParameterD & get_size_y_param() const override
SersicParametricEllipse(std::shared_ptr< ReffXParameterD > size_x, std::shared_ptr< ReffYParameterD > size_y, std::shared_ptr< RhoParameterD > rho=nullptr)
Construct a SersicParametricEllipse with existing Parameter instances.
SizeXParameterD & get_size_x_param() const override
double get_size_y() const override
Get the size_y value.
std::string repr(bool name_keywords=false, std::string_view namespace_separator=Object::CC_NAMESPACE_SEPARATOR) const override
Return a full, callable string representation of this.
double get_size_x() const override
Get the size_x value.
std::shared_ptr< SizeXParameterD > get_size_x_param_ptr() override
std::string str() const override
Return a brief, human-readable string representation of this.
std::shared_ptr< RhoParameterD > get_rho_param_ptr() override
ParamRefs & get_parameters(ParamRefs &params, ParamFilter *filter=nullptr) const override
Add Parameter refs matching the filter to a vector, in order.
std::array< double, 3 > get_xyr() const override
Get the array of size_x, size_y, rho.
std::shared_ptr< ReffYParameterD > get_reff_y_param_ptr()
ParamCRefs & get_parameters_const(ParamCRefs &params, ParamFilter *filter=nullptr) const override
Same as get_parameters(), but for const refs.
std::vector< ParamBaseRef > ParamRefs
Definition param_defs.h:13
std::vector< ParamBaseCRef > ParamCRefs
Definition param_defs.h:11
Options for filtering Parameter instances.