|
LSST Applications g00d0e8bbd7+8c5ae1fdc5,g013ef56533+603670b062,g083dd6704c+2e189452a7,g199a45376c+0ba108daf9,g1c5cce2383+bc9f6103a4,g1fd858c14a+cd69ed4fc1,g210f2d0738+c4742f2e9e,g262e1987ae+612fa42d85,g29ae962dfc+83d129e820,g2cef7863aa+aef1011c0b,g35bb328faa+8c5ae1fdc5,g3fd5ace14f+5eaa884f2a,g47891489e3+e32160a944,g53246c7159+8c5ae1fdc5,g5b326b94bb+dcc56af22d,g64539dfbff+c4742f2e9e,g67b6fd64d1+e32160a944,g74acd417e5+c122e1277d,g786e29fd12+668abc6043,g87389fa792+8856018cbb,g88cb488625+47d24e4084,g89139ef638+e32160a944,g8d7436a09f+d14b4ff40a,g8ea07a8fe4+b212507b11,g90f42f885a+e1755607f3,g97be763408+34be90ab8c,g98df359435+ec1fa61bf1,ga2180abaac+8c5ae1fdc5,ga9e74d7ce9+43ac651df0,gbf99507273+8c5ae1fdc5,gc2a301910b+c4742f2e9e,gca7fc764a6+e32160a944,gd7ef33dd92+e32160a944,gdab6d2f7ff+c122e1277d,gdb1e2cdc75+1b18322db8,ge410e46f29+e32160a944,ge41e95a9f2+c4742f2e9e,geaed405ab2+0d91c11c6d,w.2025.44
LSST Data Management Base Package
|
An ellipse core for the semimajor/semiminor axis and position angle parametrization (a,b,theta). More...
#include <Axes.h>
Public Types | |
| enum | ParameterEnum { A = 0 , B = 1 , THETA = 2 } |
| using | ParameterVector = Eigen::Vector3d |
| Parameter vector type. | |
| using | Jacobian = Eigen::Matrix3d |
| Parameter Jacobian matrix type. | |
Public Member Functions | |
| double const | getA () const |
| void | setA (double a) |
| double const | getB () const |
| void | setB (double b) |
| double const | getTheta () const |
| void | setTheta (double theta) |
| std::shared_ptr< Axes > | clone () const |
| Deep copy the ellipse core. | |
| std::string | getName () const override |
| Return a string that identifies this parametrization. | |
| void | normalize () override |
| Put the parameters into a "standard form", if possible, and throw InvalidParameterError if they cannot be normalized. | |
| void | readParameters (double const *iter) override |
| Return the size of the bounding box for the ellipse core. | |
| void | writeParameters (double *iter) const override |
| Return the size of the bounding box for the ellipse core. | |
| Axes & | operator= (Axes const &other) |
| Standard assignment. | |
| Axes & | operator= (Axes &&other) |
| Axes & | operator= (BaseCore const &other) |
| Converting assignment. | |
| Axes (double a=1.0, double b=1.0, double theta=0.0, bool normalize=false) | |
| Construct from parameter values. | |
| Axes (BaseCore::ParameterVector const &vector, bool normalize=false) | |
| Construct from a parameter vector. | |
| Axes (Axes const &other) | |
| Copy constructor. | |
| Axes (Axes &&other) | |
| ~Axes () override=default | |
| Axes (BaseCore const &other) | |
| Converting copy constructor. | |
| Axes (BaseCore::Transformer const &transformer) | |
| Converting copy constructor. | |
| Axes (BaseCore::Convolution const &convolution) | |
| Converting copy constructor. | |
| void | grow (double buffer) |
| Increase the major and minor radii of the ellipse core by the given buffer. | |
| void | scale (double factor) |
| Scale the size of the ellipse core by the given factor. | |
| double | getArea () const |
| Return the area of the ellipse core. | |
| double | getDeterminantRadius () const |
| Return the radius defined as the 4th root of the determinant of the quadrupole matrix. | |
| double | getTraceRadius () const |
| Return the radius defined as the square root of one half the trace of the quadrupole matrix. | |
Coordinate transforms | |
These member functions transform the ellipse by the given lsst::geom::LinearTransform. The transform can be done in-place by calling inPlace() on the returned expression object, or returned as a new shared_ptr by calling copy(). | |
| Transformer | transform (lsst::geom::LinearTransform const &transform) |
| Return the transform that maps the ellipse to the unit circle. | |
| Transformer const | transform (lsst::geom::LinearTransform const &transform) const |
| Return the transform that maps the ellipse to the unit circle. | |
| GridTransform const | getGridTransform () const |
| Return the transform that maps the ellipse to the unit circle. | |
Static Public Member Functions | |
| static std::shared_ptr< BaseCore > | make (std::string const &name) |
| static std::shared_ptr< BaseCore > | make (std::string const &name, ParameterVector const ¶meters) |
| static std::shared_ptr< BaseCore > | make (std::string const &name, double v1, double v2, double v3) |
| static std::shared_ptr< BaseCore > | make (std::string const &name, BaseCore const &other) |
| static std::shared_ptr< BaseCore > | make (std::string const &name, Transformer const &other) |
| static std::shared_ptr< BaseCore > | make (std::string const &name, Convolution const &other) |
Protected Member Functions | |
| std::shared_ptr< BaseCore > | _clone () const override |
| Return the size of the bounding box for the ellipse core. | |
| void | _assignToQuadrupole (double &ixx, double &iyy, double &ixy) const override |
| Return the size of the bounding box for the ellipse core. | |
| void | _assignFromQuadrupole (double ixx, double iyy, double ixy) override |
| Return the size of the bounding box for the ellipse core. | |
| void | _assignToAxes (double &a, double &b, double &theta) const override |
| Return the size of the bounding box for the ellipse core. | |
| void | _assignFromAxes (double a, double b, double theta) override |
| Return the size of the bounding box for the ellipse core. | |
| Jacobian | _dAssignToQuadrupole (double &ixx, double &iyy, double &ixy) const override |
| Return the size of the bounding box for the ellipse core. | |
| Jacobian | _dAssignFromQuadrupole (double ixx, double iyy, double ixy) override |
| Return the size of the bounding box for the ellipse core. | |
| Jacobian | _dAssignToAxes (double &a, double &b, double &theta) const override |
| Return the size of the bounding box for the ellipse core. | |
| Jacobian | _dAssignFromAxes (double a, double b, double theta) override |
| Return the size of the bounding box for the ellipse core. | |
Convolve two bivariate Gaussians defined by their 1-sigma ellipses. | |
| Convolution | convolve (BaseCore const &other) |
| Return the size of the bounding box for the ellipse core. | |
| Convolution const | convolve (BaseCore const &other) const |
| Return the size of the bounding box for the ellipse core. | |
| lsst::geom::Extent2D | computeDimensions () const |
| Return the size of the bounding box for the ellipse core. | |
| ParameterVector const | getParameterVector () const |
| Return the core parameters as a vector. | |
| void | setParameterVector (ParameterVector const &vector) |
| Set the core parameters from a vector. | |
| bool | operator== (BaseCore const &other) const |
| Compare two ellipse cores for equality. | |
| bool | operator!= (BaseCore const &other) const |
| Compare two ellipse cores for inequality. | |
| Jacobian | dAssign (BaseCore const &other) |
| Assign other to this and return the derivative of the conversion, d(this)/d(other). | |
| template<typename Output> | |
| Converter< Output > | as () const |
| Convert this to the core type specified as a template parameter. | |
| static void | registerSubclass (std::shared_ptr< BaseCore > const &example) |
| Return the size of the bounding box for the ellipse core. | |
| static void | _assignQuadrupoleToAxes (double ixx, double iyy, double ixy, double &a, double &b, double &theta) |
| Return the size of the bounding box for the ellipse core. | |
| static Jacobian | _dAssignQuadrupoleToAxes (double ixx, double iyy, double ixy, double &a, double &b, double &theta) |
| Return the size of the bounding box for the ellipse core. | |
| static void | _assignAxesToQuadrupole (double a, double b, double theta, double &ixx, double &iyy, double &ixy) |
| Return the size of the bounding box for the ellipse core. | |
| static Jacobian | _dAssignAxesToQuadrupole (double a, double b, double theta, double &ixx, double &iyy, double &ixy) |
| Return the size of the bounding box for the ellipse core. | |
An ellipse core for the semimajor/semiminor axis and position angle parametrization (a,b,theta).
|
inherited |
Parameter Jacobian matrix type.
Definition at line 64 of file BaseCore.h.
|
inherited |
Parameter vector type.
Definition at line 63 of file BaseCore.h.
|
inlineexplicit |
Construct from parameter values.
Definition at line 91 of file Axes.h.
|
inlineexplicit |
|
inline |
|
inline |
|
overridedefault |
|
inline |
|
inline |
|
inline |
|
staticprotectedinherited |
Return the size of the bounding box for the ellipse core.
Definition at line 218 of file BaseCore.cc.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Return the size of the bounding box for the ellipse core.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 82 of file Axes.cc.
|
staticprotectedinherited |
Return the size of the bounding box for the ellipse core.
Definition at line 183 of file BaseCore.cc.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Return the size of the bounding box for the ellipse core.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 61 of file Axes.cc.
|
inlineoverrideprotectedvirtual |
Return the size of the bounding box for the ellipse core.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 117 of file Axes.h.
|
staticprotectedinherited |
Return the size of the bounding box for the ellipse core.
Definition at line 231 of file BaseCore.cc.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Return the size of the bounding box for the ellipse core.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 87 of file Axes.cc.
|
staticprotectedinherited |
Return the size of the bounding box for the ellipse core.
Definition at line 193 of file BaseCore.cc.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Return the size of the bounding box for the ellipse core.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 65 of file Axes.cc.
|
inlineinherited |
Convert this to the core type specified as a template parameter.
Definition at line 238 of file BaseCore.h.
|
inline |
Deep copy the ellipse core.
Definition at line 61 of file Axes.h.
|
inherited |
Return the size of the bounding box for the ellipse core.
Definition at line 129 of file BaseCore.cc.
|
inlineinherited |
Return the size of the bounding box for the ellipse core.
Definition at line 91 of file Convolution.h.
|
inlineinherited |
Return the size of the bounding box for the ellipse core.
Definition at line 95 of file Convolution.h.
|
inherited |
Assign other to this and return the derivative of the conversion, d(this)/d(other).
Definition at line 168 of file BaseCore.cc.
|
inline |
|
inherited |
Return the area of the ellipse core.
Definition at line 111 of file BaseCore.cc.
|
inline |
|
inherited |
Return the radius defined as the 4th root of the determinant of the quadrupole matrix.
The determinant radius is equal to the standard radius for a circle, and its square times pi is the area of the ellipse.
Definition at line 117 of file BaseCore.cc.
|
inlineinherited |
Return the transform that maps the ellipse to the unit circle.
The returned proxy object is implicitly convertible to lsst::geom::LinearTransform and also supports differentiation.
Definition at line 110 of file GridTransform.h.
|
overridevirtual |
Return a string that identifies this parametrization.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 34 of file Axes.cc.
|
inherited |
Return the core parameters as a vector.
Definition at line 143 of file BaseCore.cc.
|
inline |
|
inherited |
Return the radius defined as the square root of one half the trace of the quadrupole matrix.
The trace radius is equal to the standard radius for a circle.
Definition at line 123 of file BaseCore.cc.
|
inherited |
Increase the major and minor radii of the ellipse core by the given buffer.
Definition at line 95 of file BaseCore.cc.
|
staticinherited |
Definition at line 55 of file BaseCore.cc.
|
staticinherited |
Definition at line 73 of file BaseCore.cc.
|
staticinherited |
Definition at line 85 of file BaseCore.cc.
|
staticinherited |
Definition at line 67 of file BaseCore.cc.
|
staticinherited |
Definition at line 61 of file BaseCore.cc.
|
staticinherited |
Definition at line 79 of file BaseCore.cc.
|
overridevirtual |
Put the parameters into a "standard form", if possible, and throw InvalidParameterError if they cannot be normalized.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 36 of file Axes.cc.
|
inlineinherited |
Compare two ellipse cores for inequality.
Ellipses are only equal if they have the same type.
Definition at line 167 of file BaseCore.h.
Converting assignment.
|
inherited |
Compare two ellipse cores for equality.
Ellipse cores are only equal if they have the same type.
Definition at line 151 of file BaseCore.cc.
|
overridevirtual |
|
staticprotectedinherited |
Return the size of the bounding box for the ellipse core.
Definition at line 91 of file BaseCore.cc.
|
inherited |
Scale the size of the ellipse core by the given factor.
Definition at line 103 of file BaseCore.cc.
|
inline |
|
inline |
|
inherited |
Set the core parameters from a vector.
Definition at line 149 of file BaseCore.cc.
|
inline |
|
inlineinherited |
Return the transform that maps the ellipse to the unit circle.
The returned proxy object is implicitly convertible to lsst::geom::LinearTransform and also supports differentiation.
Definition at line 116 of file Transformer.h.
|
inlineinherited |
Return the transform that maps the ellipse to the unit circle.
The returned proxy object is implicitly convertible to lsst::geom::LinearTransform and also supports differentiation.
Definition at line 120 of file Transformer.h.
|
overridevirtual |
Return the size of the bounding box for the ellipse core.
Implements lsst::afw::geom::ellipses::BaseCore.
Definition at line 55 of file Axes.cc.