File StarList.h¶
-
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
jointcal
Functions
-
template<class
Star
>
classStarList
: public std::list<std::shared_ptr<Star>> - #include <StarList.h>
std::lists of Stars.
It is a template class, which means that the Star type remains undefined until a user defines it. The std::list related operations (insertion, sort, traversal) are to be carried out using STL list operations. Most of the Star operations rely on routines to be provided in the Star class, usually user defined. The instanciation of this class for BaseStar (i.e. the replacement of the formal parameter ‘Star’ by ‘BaseStar’) is called BaseStarList. Take care: what is stored is pointers on Star’s and NOT Star’s. This implies that Stars being inserted in the std::list have to be obtained using ‘new’.
Public Types
-
typedef std::shared_ptr<Star>
Element
Public Functions
-
StarList
() : default constructor (empty std::list).
-
virtual
~StarList
()
-
void
dump
(std::ostream &stream = std::cout) const invokes dump(stream) for all Stars in the std::list.
-
void
fluxSort
() a model routine to sort the std::list
see decreasingFlux() to see what it is, if you want another sorting criterion)
-
void
cutTail
(const int nKeep) cuts the end of the std::list
-
void
extractInFrame
(StarList<Star> &out, const Frame &frame) const copy the part of the std::list which is included in the frame at the end of another std::list
-
void
copyTo
(StarList<Star> ©) const clears copy and makes a copy of the std::list to copy
-
void
clearList
() Clears the std::list.
-
template<class
Operator
>
voidapplyTransform
(const Operator &op) enables to apply a geometrical transform if Star is Basestar or derives from it.
could be extended to other type of transformations.
-
typedef std::shared_ptr<Star>
-
template<class