|
lsst.afw
14.0-60-ga423a1d65+1
|
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 } |
| typedef Eigen::Vector3d | ParameterVector |
| Parameter vector type. More... | |
| typedef Eigen::Matrix3d | Jacobian |
| Parameter Jacobian matrix type. More... | |
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. More... | |
| virtual std::string | getName () const |
| Return a string that identifies this parametrization. More... | |
| virtual void | normalize () |
| Put the parameters into a "standard form", if possible, and throw InvalidParameterError if they cannot be normalized. More... | |
| virtual void | readParameters (double const *iter) |
| virtual void | writeParameters (double *iter) const |
| Axes & | operator= (Axes const &other) |
| Standard assignment. More... | |
| Axes & | operator= (Axes &&other) |
| Axes & | operator= (BaseCore const &other) |
| Converting assignment. More... | |
| Axes (double a=1.0, double b=1.0, double theta=0.0, bool normalize=false) | |
| Construct from parameter values. More... | |
| Axes (BaseCore::ParameterVector const &vector, bool normalize=false) | |
| Construct from a parameter vector. More... | |
| Axes (Axes const &other) | |
| Copy constructor. More... | |
| Axes (Axes &&other) | |
| ~Axes ()=default | |
| Axes (BaseCore const &other) | |
| Converting copy constructor. More... | |
| Axes (BaseCore::Transformer const &transformer) | |
| Converting copy constructor. More... | |
| Axes (BaseCore::Convolution const &convolution) | |
| Converting copy constructor. More... | |
| void | grow (double buffer) |
| Increase the major and minor radii of the ellipse core by the given buffer. More... | |
| void | scale (double factor) |
| Scale the size of the ellipse core by the given factor. More... | |
| double | getArea () const |
| Return the area of the ellipse core. More... | |
| double | getDeterminantRadius () const |
| Return the radius defined as the 4th root of the determinant of the quadrupole matrix. More... | |
| double | getTraceRadius () const |
| Return the radius defined as the square root of one half the trace of the quadrupole matrix. More... | |
| GridTransform const | getGridTransform () const |
| Return the transform that maps the ellipse to the unit circle. More... | |
| Extent2D | computeDimensions () const |
| Return the size of the bounding box for the ellipse core. More... | |
| ParameterVector const | getParameterVector () const |
| Return the core parameters as a vector. More... | |
| void | setParameterVector (ParameterVector const &vector) |
| Set the core parameters from a vector. More... | |
| bool | operator== (BaseCore const &other) const |
| Compare two ellipse cores for equality. More... | |
| bool | operator!= (BaseCore const &other) const |
| Compare two ellipse cores for inequality. More... | |
| Jacobian | dAssign (BaseCore const &other) |
| Assign other to this and return the derivative of the conversion, d(this)/d(other). More... | |
| template<typename Output > | |
| Converter< Output > | as () const |
| Convert this to the core type specified as a template parameter. More... | |
Coordinate transforms | |
These member functions transform the ellipse by the given 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 (LinearTransform const &transform) |
| Transformer const | transform (LinearTransform const &transform) const |
Convolve two bivariate Gaussians defined by their 1-sigma ellipses. | |
| Convolution | convolve (BaseCore const &other) |
| Convolution const | convolve (BaseCore const &other) const |
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 | |
| virtual std::shared_ptr< BaseCore > | _clone () const |
| virtual void | _assignToQuadrupole (double &ixx, double &iyy, double &ixy) const |
| virtual void | _assignFromQuadrupole (double ixx, double iyy, double ixy) |
| virtual void | _assignToAxes (double &a, double &b, double &theta) const |
| virtual void | _assignFromAxes (double a, double b, double theta) |
| virtual Jacobian | _dAssignToQuadrupole (double &ixx, double &iyy, double &ixy) const |
| virtual Jacobian | _dAssignFromQuadrupole (double ixx, double iyy, double ixy) |
| virtual Jacobian | _dAssignToAxes (double &a, double &b, double &theta) const |
| virtual Jacobian | _dAssignFromAxes (double a, double b, double theta) |
Static Protected Member Functions | |
| static void | registerSubclass (std::shared_ptr< BaseCore > const &example) |
| static void | _assignQuadrupoleToAxes (double ixx, double iyy, double ixy, double &a, double &b, double &theta) |
| static Jacobian | _dAssignQuadrupoleToAxes (double ixx, double iyy, double ixy, double &a, double &b, double &theta) |
| static void | _assignAxesToQuadrupole (double a, double b, double theta, double &ixx, double &iyy, double &ixy) |
| static Jacobian | _dAssignAxesToQuadrupole (double a, double b, double theta, double &ixx, double &iyy, double &ixy) |
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 61 of file BaseCore.h.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
staticprotectedinherited |
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
staticprotectedinherited |
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
inlineprotectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
staticprotectedinherited |
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
staticprotectedinherited |
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
protectedvirtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
inlineinherited |
Convert this to the core type specified as a template parameter.
Definition at line 240 of file BaseCore.h.
|
inline |
|
inherited |
Return the size of the bounding box for the ellipse core.
|
inlineinherited |
Definition at line 93 of file Convolution.h.
|
inlineinherited |
Definition at line 97 of file Convolution.h.
Assign other to this and return the derivative of the conversion, d(this)/d(other).
|
inline |
|
inherited |
Return the area of the ellipse core.
|
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.
|
inlineinherited |
Return the transform that maps the ellipse to the unit circle.
The returned proxy object is implicitly convertible to LinearTransform and also supports differentiation.
Definition at line 108 of file GridTransform.h.
|
virtual |
Return a string that identifies this parametrization.
Implements lsst::afw::geom::ellipses::BaseCore.
|
inherited |
Return the core parameters as a vector.
|
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.
|
inherited |
Increase the major and minor radii of the ellipse core by the given buffer.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
virtual |
Put the parameters into a "standard form", if possible, and throw InvalidParameterError if they cannot be normalized.
Implements lsst::afw::geom::ellipses::BaseCore.
|
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.
|
inherited |
Compare two ellipse cores for equality.
Ellipse cores are only equal if they have the same type.
|
virtual |
Implements lsst::afw::geom::ellipses::BaseCore.
|
staticprotectedinherited |
|
inherited |
Scale the size of the ellipse core by the given factor.
|
inherited |
Set the core parameters from a vector.
|
inline |
|
inlineinherited |
Definition at line 114 of file Transformer.h.
|
inlineinherited |
Definition at line 118 of file Transformer.h.
|
virtual |
Implements lsst::afw::geom::ellipses::BaseCore.
1.8.13