File Span.h¶
-
template<>
structhash
<lsst::afw::geom::Span>¶ Public Types
-
template<>
usingresult_type
= size_t¶
Public Functions
-
result_type
operator()
(argument_type const &obj) const
-
template<>
-
namespace
lsst
Class for a simple mapping implementing a generic AstrometryTransform.
Remove all non-astronomical counts from the Chunk Exposure’s pixels.
Forward declarations for lsst::utils::Cache
For details on the Cache class, see the Cache.h file.
It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.
A base class for image defects
Numeric constants used by the Integrate.h integrator routines.
Compute Image Statistics
- Note
Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.
- Note
The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.
-
namespace
afw
-
namespace
geom
-
class
Span
- #include <Span.h>
A range of pixels within one row of an Image
Public Types
-
typedef SpanPixelIterator
Iterator
An iterator over points in the Span.
Public Functions
-
Span
(int y, int x0, int x1) - Parameters
y
: Row that Span’s inx0
: Starting column (inclusive)x1
: Ending column (inclusive)
-
Span
() Construct an empty Span with zero width at the origin.
-
Span
(Span const&)
-
Span
(Span&&)
-
~Span
()
-
int
getX0
() const Return the starting x-value.
-
int &
getX0
() Return the starting x-value.
-
int
getX1
() const Return the ending x-value.
-
int &
getX1
() Return the ending x-value.
-
int
getY
() const Return the y-value.
-
int &
getY
() Return the y-value.
-
int
getWidth
() const Return the number of pixels.
-
int
getMinX
() const Minimum x-value.
-
int
getMaxX
() const Maximum x-value.
-
int
getBeginX
() const Begin (inclusive) x-value.
-
int
getEndX
() const End (exclusive) x-value.
-
lsst::geom::Point2I const
getMin
() const Point corresponding to minimum x.
-
lsst::geom::Point2I const
getMax
() const Point corresponding to maximum x.
-
bool
contains
(int x) const
-
bool
contains
(int x, int y) const
-
bool
contains
(lsst::geom::Point2I const &point) const
-
bool
isEmpty
() const Return true if the span contains no pixels.
-
void
shift
(int dx, int dy)
-
bool
operator==
(Span const &other) const
-
bool
operator!=
(Span const &other) const
-
std::size_t
hash_value
() const Return a hash of this object.
-
bool
operator<
(const Span &b) const
Friends
-
friend
lsst::afw::geom::detection::Footprint
-
std::ostream &
operator<<
(std::ostream &os, Span const &span) Stream output; delegates to toString().
-
typedef SpanPixelIterator
-
class
-
namespace