|
LSSTApplications
11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
LSSTDataManagementBasePackage
|
Namespaces | |
| detail | |
| details | |
| ellipses | |
| polygon | |
| testUtils | |
| transformConfig | |
| utils | |
| xyTransformFactory | |
Classes | |
| class | AffineTransform |
| An affine coordinate transformation consisting of a linear transformation and an offset. More... | |
| class | AngleUnit |
| A class used to convert scalar POD types such as double to Angle. More... | |
| class | Angle |
| A class representing an Angle. More... | |
| class | Box2I |
| An integer coordinate rectangle. More... | |
| class | Box2D |
| A floating-point coordinate rectangle geometry. More... | |
| class | Point |
| A coordinate class intended to represent absolute positions. More... | |
| class | Extent |
| A coordinate class intended to represent offsets and dimensions. More... | |
| class | CoordinateBase |
| A CRTP base class for coordinate objects. More... | |
| class | CoordinateBase< Derived, T, 2 > |
| Specialization of CoordinateBase for 2 dimensions. More... | |
| class | CoordinateBase< Derived, T, 3 > |
| Specialization of CoordinateBase for 3 dimensions. More... | |
| class | CoordinateExpr |
| A boolean coordinate. More... | |
| class | ExtentBase |
| class | Extent< T, 2 > |
| A coordinate class intended to represent offsets and dimensions (2-d specialization). More... | |
| class | Extent< T, 3 > |
| A coordinate class intended to represent offsets and dimensions (3-d specialization). More... | |
| class | Functor |
| Abstract base class for function objects. More... | |
| class | LinearFunctor |
| Concrete implementation of Functor subclass for testing. More... | |
| class | LinearTransform |
| A 2D linear coordinate transformation. More... | |
| class | PointBase |
| class | Point< T, 2 > |
| A coordinate class intended to represent absolute positions (2-d specialization). More... | |
| class | Point< T, 3 > |
| A coordinate class intended to represent absolute positions (3-d specialization). More... | |
| class | SeparableXYTransform |
| A 2D transform for which the pixel distortions in the in the x- and y-directions are separable. More... | |
| class | Span |
| A range of pixels within one row of an Image. More... | |
| class | SpanPixelIterator |
| An iterator that yields Point2I and increases in the x direction. More... | |
| class | SpanSet |
| A compact representation of a collection of pixels. More... | |
| class | SpherePoint |
| Point in an unspecified spherical coordinate system. More... | |
| class | TransformMap |
| A registry of 2-dimensional coordinate transforms, templated on a coordinate system type. More... | |
| class | XYTransform |
| Virtual base class for 2D transforms. More... | |
| class | IdentityXYTransform |
| A trivial XYTransform satisfying f(x)=x. More... | |
| class | InvertedXYTransform |
| Wrap an XYTransform, swapping forward and reverse transforms. More... | |
| class | MultiXYTransform |
| Wrap a sequence of multiple XYTransforms. More... | |
| class | AffineXYTransform |
| Wrap an AffineTransform. More... | |
| class | RadialXYTransform |
| A purely radial polynomial distortion, up to 6th order. More... | |
Typedefs | |
| typedef Box2D | BoxD = Box2D |
| typedef Box2I | BoxI = Box2I |
| typedef CoordinateExpr< 2 > | CoordinateExpr2 |
| typedef CoordinateExpr< 3 > | CoordinateExpr3 |
| typedef Extent< int, 2 > | ExtentI = Extent2I |
| typedef Extent< int, 2 > | Extent2I |
| typedef Extent< int, 3 > | Extent3I |
| typedef Extent< double, 2 > | ExtentD = Extent2D |
| typedef Extent< double, 2 > | Extent2D |
| typedef Extent< double, 3 > | Extent3D |
| typedef Point< int, 2 > | PointI = Point2I |
| typedef Point< int, 2 > | Point2I |
| typedef Point< int, 3 > | Point3I |
| typedef Point< double, 2 > | PointD = Point2D |
| typedef Point< double, 2 > | Point2D |
| typedef Point< double, 3 > | Point3D |
Enumerations | |
| enum | Stencil { Stencil::CIRCLE, Stencil::BOX, Stencil::MANHATTAN } |
| An enumeration class which describes the shapes. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, lsst::afw::geom::AffineTransform const &transform) |
| AffineTransform | makeAffineTransformFromTriple (Point2D const &p1, Point2D const &p2, Point2D const &p3, Point2D const &q1, Point2D const &q2, Point2D const &q3) |
| double | degToRad (double x) |
| double | radToDeg (double x) |
| double | radToArcsec (double x) |
| double | radToMas (double x) |
| double | arcsecToRad (double x) |
| double | masToRad (double x) |
| const Angle | operator+ (Angle const a, Angle const d) |
| const Angle | operator- (Angle const a, Angle const d) |
| const Angle | operator* (Angle const a, Angle const d) |
| const Angle | operator* (Angle const a, double d) |
| const Angle | operator* (double d, Angle const a) |
| const Angle | operator* (Angle const a, int d) |
| const Angle | operator* (int d, Angle const a) |
| const Angle | operator/ (Angle const a, int d) |
| const Angle | operator/ (Angle const a, double d) |
| template<typename T > | |
| double | operator/ (T const lhs, Angle const rhs) |
| template<typename T > | |
| bool | isAngle (T) |
| Allow a user to check if they have an angle (yes; they could do this themselves via trivial TMP) More... | |
| bool | isAngle (Angle const &) |
| template<typename T > | |
| const Angle | operator* (T lhs, AngleUnit const rhs) |
| Use AngleUnit to convert a POD (e.g. More... | |
| std::ostream & | operator<< (std::ostream &s, Angle const a) |
| Output operator for an Angle. More... | |
| std::ostream & | operator<< (std::ostream &os, Box2I const &box) |
| std::ostream & | operator<< (std::ostream &os, Box2D const &box) |
| template<typename Derived , typename T , int N> | |
| bool | allclose (CoordinateBase< Derived, T, N > const &a, CoordinateBase< Derived, T, N > const &b, T rtol=static_cast< T >(1E-5), T atol=static_cast< T >(1E-8)) |
| template<typename Derived , typename T , int N> | |
| std::ostream & | operator<< (std::ostream &os, CoordinateBase< Derived, T, N > const &coordinate) |
| template<int N> | |
| bool | all (CoordinateExpr< N > const &expr) |
| Return true if all elements are true. More... | |
| template<int N> | |
| bool | any (CoordinateExpr< N > const &expr) |
| Return true if any elements are true. More... | |
| template<int N> | |
| Extent< int, N > | truncate (Extent< double, N > const &input) |
| Return the component-wise truncation (round towards zero). More... | |
| template<int N> | |
| Extent< int, N > | floor (Extent< double, N > const &input) |
| Return the component-wise floor (round towards more negative). More... | |
| template<int N> | |
| Extent< int, N > | ceil (Extent< double, N > const &input) |
| Return the component-wise ceil (round towards more positive). More... | |
| template<typename T , int N> | |
| Extent< T, N > | operator* (T scalar, ExtentBase< T, N > const &rhs) |
| template<int N> | |
| Extent< double, N > | operator* (ExtentBase< int, N > const &lhs, double rhs) |
| template<int N> | |
| void | operator*= (ExtentBase< int, N > &lhs, double rhs) |
| template<int N> | |
| Extent< double, N > | operator/ (ExtentBase< int, N > const &lhs, double rhs) |
| template<int N> | |
| void | operator/= (ExtentBase< int, N > &lhs, double rhs) |
| template<int N> | |
| Extent< double, N > | operator* (double lhs, ExtentBase< int, N > const &rhs) |
| template<int N> | |
| Extent< double, N > | operator+ (Extent< double, N > const &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Extent< double, N > & | operator+= (Extent< double, N > &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Extent< double, N > | operator- (Extent< double, N > const &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Extent< double, N > & | operator-= (Extent< double, N > &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Extent< double, N > | operator+ (Extent< int, N > const &lhs, Extent< double, N > const &rhs) |
| template<int N> | |
| Extent< double, N > | operator- (Extent< int, N > const &lhs, Extent< double, N > const &rhs) |
| std::ostream & | operator<< (std::ostream &os, lsst::afw::geom::LinearTransform const &t) |
| template<int N> | |
| Point< double, N > | operator+ (Point< double, N > const &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Point< double, N > | operator+ (Extent< int, N > const &rhs, Point< double, N > const &lhs) |
| template<int N> | |
| Point< double, N > & | operator+= (Point< double, N > &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Point< double, N > | operator+ (Point< int, N > const &lhs, Extent< double, N > const &rhs) |
| template<int N> | |
| Point< double, N > | operator- (Point< double, N > const &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Point< double, N > & | operator-= (Point< double, N > &lhs, Extent< int, N > const &rhs) |
| template<int N> | |
| Point< double, N > | operator- (Point< int, N > const &lhs, Extent< double, N > const &rhs) |
| template<int N> | |
| Extent< double, N > | operator- (Point< double, N > const &lhs, Point< int, N > const &rhs) |
| template<int N> | |
| Extent< double, N > | operator- (Point< int, N > const &lhs, Point< double, N > const &rhs) |
| template<typename T , typename UnaryPredicate = details::AnyBitSetFunctor<T>> | |
| std::shared_ptr< geom::SpanSet > | maskToSpanSet (image::Mask< T > const &mask, UnaryPredicate p=details::AnyBitSetFunctor< T >()) |
| Create a SpanSet from a mask. More... | |
| std::ostream & | operator<< (std::ostream &os, SpherePoint const &point) |
| Print the value of a point to a stream. More... | |
Variables | |
| dictionary | Point = {(int, 2):Point2I, (float, 2):Point2D, (int, 3):Point3I, (float, 3):Point3D} |
| dictionary | Extent = {(int, 2):Extent2I, (float, 2):Extent2D, (int, 3):Extent3I, (float, 3):Extent3D} |
| dictionary | CoordinateExpr = {2:CoordinateExpr2, 3:CoordinateExpr3} |
| double const | PI = boost::math::constants::pi<double>() |
| The ratio of a circle's circumference to diameter. More... | |
| double const | TWOPI = boost::math::constants::pi<double>() * 2.0 |
| double const | HALFPI = boost::math::constants::pi<double>() * 0.5 |
| double const | ONE_OVER_PI = 1.0 / boost::math::constants::pi<double>() |
| double const | SQRTPI = sqrt(boost::math::constants::pi<double>()) |
| double const | INVSQRTPI = 1.0/sqrt(boost::math::constants::pi<double>()) |
| double const | ROOT2 = boost::math::constants::root_two<double>() |
| AngleUnit const | radians = AngleUnit(1.0) |
| constant with units of radians More... | |
| AngleUnit const | degrees = AngleUnit(PI/180.0) |
| AngleUnit const | hours = AngleUnit(PI*15.0/180.0) |
| AngleUnit const | arcminutes = AngleUnit(PI/60/180.0) |
| AngleUnit const | arcseconds = AngleUnit(PI/180.0/3600.0) |
| Angle const | NullAngle = Angle(-1000000., degrees) |
| typedef CoordinateExpr<2> lsst::afw::geom.CoordinateExpr2 |
Definition at line 92 of file CoordinateExpr.h.
| typedef CoordinateExpr<3> lsst::afw::geom.CoordinateExpr3 |
Definition at line 93 of file CoordinateExpr.h.
| typedef Extent<double,2> lsst::afw::geom.Extent2D |
| typedef Extent<int,2> lsst::afw::geom.Extent2I |
| typedef Extent<double,3> lsst::afw::geom.Extent3D |
| typedef Extent<int,3> lsst::afw::geom.Extent3I |
| typedef Point<double,2> lsst::afw::geom.Point2D |
| typedef Point< int, 2 > lsst::afw::geom::Point2I |
| typedef Point<double,3> lsst::afw::geom.Point3D |
| typedef Point<int,3> lsst::afw::geom.Point3I |
|
strong |
|
inline |
Return true if all elements are true.
Definition at line 80 of file CoordinateExpr.h.
| bool lsst::afw::geom::allclose | ( | CoordinateBase< Derived, T, N > const & | a, |
| CoordinateBase< Derived, T, N > const & | b, | ||
| T | rtol = static_cast< T >(1E-5), |
||
| T | atol = static_cast< T >(1E-8) |
||
| ) |
|
inline |
Return true if any elements are true.
Definition at line 87 of file CoordinateExpr.h.
|
inline |
Definition at line 40 of file Angle.h.
| Extent<int,N> lsst::afw::geom::ceil | ( | Extent< double, N > const & | input | ) |
Return the component-wise ceil (round towards more positive).
In Python, this is available as both a free function and a method on ExtentD.
|
inline |
Definition at line 28 of file Angle.h.
| Extent<int,N> lsst::afw::geom::floor | ( | Extent< double, N > const & | input | ) |
Return the component-wise floor (round towards more negative).
In Python, this is available as both a free function and a method on ExtentD.
|
inline |
|
inline |
| AffineTransform lsst::afw::geom::makeAffineTransformFromTriple | ( | Point2D const & | p1, |
| Point2D const & | p2, | ||
| Point2D const & | p3, | ||
| Point2D const & | q1, | ||
| Point2D const & | q2, | ||
| Point2D const & | q3 | ||
| ) |
| std::shared_ptr<geom::SpanSet> lsst::afw::geom::maskToSpanSet | ( | image::Mask< T > const & | mask, |
| UnaryPredicate | p = details::AnyBitSetFunctor<T>() |
||
| ) |
Create a SpanSet from a mask.
Create a SpanSet from a class. The default behaivor is to include any pixels which have any bits set. More complex selection/filtering of bit patterns can be done by supplying a comparator function.
| mask | - mask to convert to a SpanSet |
| comparator | - Functor object to use in the decision to include pixel in SpanSet. Should return true when a given pixel in the mask should be part of the SpanSet, and false otherwise. The functor takes a single value taken from the mask at the pixel under consideration. Defaults to evaluating true if the mask has bits set, and false otherwise. |
| T | - Pixel type of the Mask |
| F | - Type of the functor |
Definition at line 88 of file SpanSet.h.
|
inline |
Definition at line 43 of file Angle.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Extent<T,N> lsst::afw::geom::operator* | ( | T | scalar, |
| ExtentBase< T, N > const & | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator* | ( | ExtentBase< int, N > const & | lhs, |
| double | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator* | ( | double | lhs, |
| ExtentBase< int, N > const & | rhs | ||
| ) |
| void lsst::afw::geom::operator*= | ( | ExtentBase< int, N > & | lhs, |
| double | rhs | ||
| ) |
|
inline |
| Point<double,N> lsst::afw::geom::operator+ | ( | Point< double, N > const & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
| Point<double,N> lsst::afw::geom::operator+ | ( | Extent< int, N > const & | rhs, |
| Point< double, N > const & | lhs | ||
| ) |
| Point<double,N> lsst::afw::geom::operator+ | ( | Point< int, N > const & | lhs, |
| Extent< double, N > const & | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator+ | ( | Extent< double, N > const & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator+ | ( | Extent< int, N > const & | lhs, |
| Extent< double, N > const & | rhs | ||
| ) |
| Point<double,N>& lsst::afw::geom::operator+= | ( | Point< double, N > & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
| Extent<double,N>& lsst::afw::geom::operator+= | ( | Extent< double, N > & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
|
inline |
| Point<double,N> lsst::afw::geom::operator- | ( | Point< double, N > const & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
| Point<double,N> lsst::afw::geom::operator- | ( | Point< int, N > const & | lhs, |
| Extent< double, N > const & | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator- | ( | Point< double, N > const & | lhs, |
| Point< int, N > const & | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator- | ( | Point< int, N > const & | lhs, |
| Point< double, N > const & | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator- | ( | Extent< double, N > const & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator- | ( | Extent< int, N > const & | lhs, |
| Extent< double, N > const & | rhs | ||
| ) |
| Point<double,N>& lsst::afw::geom::operator-= | ( | Point< double, N > & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
| Extent<double,N>& lsst::afw::geom::operator-= | ( | Extent< double, N > & | lhs, |
| Extent< int, N > const & | rhs | ||
| ) |
|
inline |
|
inline |
| double lsst::afw::geom::operator/ | ( | T const | lhs, |
| Angle const | rhs | ||
| ) |
| Extent<double,N> lsst::afw::geom::operator/ | ( | ExtentBase< int, N > const & | lhs, |
| double | rhs | ||
| ) |
| void lsst::afw::geom::operator/= | ( | ExtentBase< int, N > & | lhs, |
| double | rhs | ||
| ) |
| std::ostream& lsst::afw::geom::operator<< | ( | std::ostream & | os, |
| lsst::afw::geom::LinearTransform const & | t | ||
| ) |
| std::ostream& lsst::afw::geom::operator<< | ( | std::ostream & | os, |
| CoordinateBase< Derived, T, N > const & | coordinate | ||
| ) |
Definition at line 199 of file CoordinateBase.h.
| std::ostream& lsst::afw::geom::operator<< | ( | std::ostream & | os, |
| lsst::afw::geom::AffineTransform const & | transform | ||
| ) |
| std::ostream& lsst::afw::geom::operator<< | ( | std::ostream & | s, |
| Angle const | a | ||
| ) |
Output operator for an Angle.
| s | The output stream |
| a | The angle |
| std::ostream & operator<< | ( | std::ostream & | os, |
| SpherePoint const & | point | ||
| ) |
Print the value of a point to a stream.
The exact details of the string representation are unspecified and subject to change, but the following may be regarded as typical: "(10.543250, +32.830583)".
| os | the stream to which to print point |
| point | the point to print to the stream |
os| std::ostream::failure | Thrown if an I/O state flag was set that was registered with os.exceptions(). See the documentation of std::ostream for more details. |
| std::ostream& lsst::afw::geom::operator<< | ( | std::ostream & | os, |
| Box2I const & | box | ||
| ) |
| std::ostream& lsst::afw::geom::operator<< | ( | std::ostream & | os, |
| Box2D const & | box | ||
| ) |
|
inline |
Definition at line 34 of file Angle.h.
|
inline |
Definition at line 31 of file Angle.h.
|
inline |
Definition at line 37 of file Angle.h.
| Extent<int,N> lsst::afw::geom::truncate | ( | Extent< double, N > const & | input | ) |
Return the component-wise truncation (round towards zero).
In Python, this is available as both a free function and a method on ExtentD.
| dictionary lsst.afw.geom.CoordinateExpr = {2:CoordinateExpr2, 3:CoordinateExpr3} |
Definition at line 41 of file __init__.py.
| dictionary lsst.afw.geom.Extent = {(int, 2):Extent2I, (float, 2):Extent2D, (int, 3):Extent3I, (float, 3):Extent3D} |
Definition at line 40 of file __init__.py.
| double const lsst::afw::geom.HALFPI = boost::math::constants::pi<double>() * 0.5 |
| double const lsst::afw::geom.INVSQRTPI = 1.0/sqrt(boost::math::constants::pi<double>()) |
| double const lsst::afw::geom.ONE_OVER_PI = 1.0 / boost::math::constants::pi<double>() |
| double const lsst::afw::geom.PI = boost::math::constants::pi<double>() |
| dictionary lsst.afw.geom.Point = {(int, 2):Point2I, (float, 2):Point2D, (int, 3):Point3I, (float, 3):Point3D} |
Definition at line 39 of file __init__.py.
| double const lsst::afw::geom.ROOT2 = boost::math::constants::root_two<double>() |
| double const lsst::afw::geom.SQRTPI = sqrt(boost::math::constants::pi<double>()) |
1.8.5