LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#include <SizeMagnitudeStarSelector.h>
Public Types | |
typedef float | PixelT |
typedef lsst::afw::image::Exposure < PixelT > | Exposure |
typedef lsst::afw::geom::PointD | PointD |
typedef lsst::pex::policy::Policy | Policy |
typedef lsst::afw::table::SourceRecord | SourceRecord |
typedef lsst::afw::table::SourceTable | SourceTable |
typedef lsst::afw::table::SourceCatalog | SourceCatalog |
typedef lsst::meas::algorithms::PsfCandidate < PixelT > | PsfCandidateT |
typedef PsfCandidateT::PtrList | PsfCandidateList |
Public Member Functions | |
SizeMagnitudeStarSelector (const Policy &policy) | |
Create a size-magnitude star selector from a policy. More... | |
~SizeMagnitudeStarSelector () | |
Destructor. More... | |
PsfCandidateList | selectStars (const Exposure &exposure, const SourceCatalog &sourceList, boost::shared_ptr< afw::table::ReferenceMatchVector const > matches=boost::shared_ptr< afw::table::ReferenceMatchVector const >()) const |
Find a set of stars from an input list of Sources. More... | |
Private Member Functions | |
double | calculateSourceSize (const SourceRecord &source, const Exposure &exposure) const |
Calculates a robust size measurement for a source. More... | |
SizeMagnitudeStarSelector (const SizeMagnitudeStarSelector &rhs) | |
This class is not intended to be copied. More... | |
void | operator= (const SizeMagnitudeStarSelector &rhs) |
Private Attributes | |
boost::shared_ptr < SizeMagnitudeStarSelectorImpl > | pImpl |
Definition at line 49 of file SizeMagnitudeStarSelector.h.
typedef lsst::afw::image::Exposure<PixelT> lsst::meas::algorithms::SizeMagnitudeStarSelector::Exposure |
Definition at line 53 of file SizeMagnitudeStarSelector.h.
Definition at line 52 of file SizeMagnitudeStarSelector.h.
Definition at line 54 of file SizeMagnitudeStarSelector.h.
Definition at line 55 of file SizeMagnitudeStarSelector.h.
Definition at line 61 of file SizeMagnitudeStarSelector.h.
typedef lsst::meas::algorithms::PsfCandidate<PixelT> lsst::meas::algorithms::SizeMagnitudeStarSelector::PsfCandidateT |
Definition at line 59 of file SizeMagnitudeStarSelector.h.
typedef lsst::afw::table::SourceCatalog lsst::meas::algorithms::SizeMagnitudeStarSelector::SourceCatalog |
Definition at line 58 of file SizeMagnitudeStarSelector.h.
typedef lsst::afw::table::SourceRecord lsst::meas::algorithms::SizeMagnitudeStarSelector::SourceRecord |
Definition at line 56 of file SizeMagnitudeStarSelector.h.
typedef lsst::afw::table::SourceTable lsst::meas::algorithms::SizeMagnitudeStarSelector::SourceTable |
Definition at line 57 of file SizeMagnitudeStarSelector.h.
lsst::meas::algorithms::SizeMagnitudeStarSelector::SizeMagnitudeStarSelector | ( | const Policy & | policy | ) |
Create a size-magnitude star selector from a policy.
[in] | policy: | see policy/SizeMagnitudeStarSelectorDictionary.paf |
Definition at line 58 of file SizeMagnitudeStarSelector.cc.
|
inline |
|
private |
This class is not intended to be copied.
|
private |
Calculates a robust size measurement for a source.
This measures the 2nd order shapelet decomposition of the object, allowing the sigma to vary until the b11 term goes to zero. When this happens, the sigma is basically the best-fit Gaussian sigma. Also, this value of sigma gives the best S/N properties for the rest of the shapelet vector.
This size measurement has proven to be a good one to use for the size-magnitude star finder algorithm, since the size is very stable with stellar magnitude.
Definition at line 99 of file SizeMagnitudeStarSelector.cc.
|
private |
SizeMagnitudeStarSelector::PsfCandidateList lsst::meas::algorithms::SizeMagnitudeStarSelector::selectStars | ( | const Exposure & | exposure, |
const SourceCatalog & | sourceList, | ||
boost::shared_ptr< afw::table::ReferenceMatchVector const > | matches = boost::shared_ptr< afw::table::ReferenceMatchVector const>() |
||
) | const |
Find a set of stars from an input list of Sources.
This function uses an algorithm based on looking for a stellar locus in the size-magnitude diagram that has constant size.
It basically construct a histogram of counts with respect to size, starting with just the bright objects and then pushing down in magnitude until the stellar peak starts to bleed into the galaxies, at which point it stops.
exposure | the exposure on which the sources are found |
sourceList | The input list of sources to consider |
matches | astrometric matches (ignored by this algorithm) |
Definition at line 133 of file SizeMagnitudeStarSelector.cc.
|
private |
Definition at line 126 of file SizeMagnitudeStarSelector.h.