LSSTApplications  1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst::ap::cluster::ClusteringControl Struct Reference

Parameters for the clustering algorithm and its internals. More...

#include <ClusteringControl.h>

Public Member Functions

 ClusteringControl ()
 
 ~ClusteringControl ()
 
lsst::afw::geom::Angle const getEpsilon () const
 
lsst::afw::geom::Angle const getLeafExtentThreshold () const
 
void validate () const
 

Public Attributes

double epsilonArcsec
 "Clustering distance (arcsec) to use when generating clusters with\n" "the OPTICS algorithm. If a source S has at least minNeighbors\n" "other sources within an angular separation of epsilonArcsec, then\n" "it is always assigned to a cluster.\n" ; More...
 
int minNeighbors
 "The minimum cardinality of the epsilonArcsec-neighborhood of a source\n" "S for S to be considered a core-source by the OPTICS algorithm. Core\n" "sources are always assigned to a cluster, whereas sources with\n" "epsilonArcsec-neighborhoods containing less than minNeighbors sources\n" "may or may not be. If such a source is assigned to a cluster, it is\n" "called a border source. Otherwise, it is called a noise source.\n" "\n" "This parameter is essentially a lower bound on the number of times\n" "an astrophysical object must be detected before its detections are\n" "clustered and turned into a catalog entry and can be tuned to avoid\n" "generating too many spurious entries. To ensure that every source is\n" "assigned to a cluster, set the value to zero. However, setting the\n" "value to a non-negligeable fraction of the number of times the sky is\n" "covered by the data-set in question will typically result in better\n" "clusters. There is currently no way to adjust the value to account\n" "for data-sets with non uniform coverage.\n" ; More...
 
int pointsPerLeaf
 "A performance tuning parameter for the k-d tree used internally by\n" "the OPTICS implementation. The height of the tree is picked such\n" "that no leaf will contain more than pointsPerLeaf sources. A value\n" "in the tens of sources is generally a good pick.\n" ; More...
 
double leafExtentThresholdArcsec
 "A performance tuning parameter for the k-d tree used internally by\n" "the OPTICS implementation. Nodes that have a maximum extent below\n" "this threshold value in each dimension are not subdivided. The value\n" "should be of the same order as epsilonArcsec - nodes much smaller\n" "than this are useless in the sense that the sources belonging to\n" "such a node become increasingly likely to all lie in the\n" "neighborhood of a query point. Note also that the k-d tree\n" "implementation does not store bounding boxes for nodes, meaning\n" "that an entire node cannot be determined to satisfy a range\n" "query without traversal of its children/contents. This saves on tree\n" "size, and makes sense for the target use-case because query regions\n" "are typically very small.\n" ; More...
 

Detailed Description

Parameters for the clustering algorithm and its internals.

Definition at line 40 of file ClusteringControl.h.

Constructor & Destructor Documentation

lsst::ap::cluster::ClusteringControl::ClusteringControl ( )

Definition at line 38 of file ClusteringControl.cc.

38  :
39  epsilonArcsec(0.75),
40  minNeighbors(2),
41  pointsPerLeaf(32),
43 {
44  validate();
45 }
double epsilonArcsec
&quot;Clustering distance (arcsec) to use when generating clusters with\n&quot; &quot;the OPTICS algorithm...
double leafExtentThresholdArcsec
&quot;A performance tuning parameter for the k-d tree used internally by\n&quot; &quot;the OPTICS implementation...
int pointsPerLeaf
&quot;A performance tuning parameter for the k-d tree used internally by\n&quot; &quot;the OPTICS implementation...
int minNeighbors
&quot;The minimum cardinality of the epsilonArcsec-neighborhood of a source\n&quot; &quot;S for S to be considered a...
lsst::ap::cluster::ClusteringControl::~ClusteringControl ( )

Definition at line 47 of file ClusteringControl.cc.

47 { }

Member Function Documentation

lsst::afw::geom::Angle const lsst::ap::cluster::ClusteringControl::getEpsilon ( ) const
inline

Definition at line 88 of file ClusteringControl.h.

88  {
90  }
double epsilonArcsec
&quot;Clustering distance (arcsec) to use when generating clusters with\n&quot; &quot;the OPTICS algorithm...
AngleUnit const arcseconds
Definition: Angle.h:95
lsst::afw::geom::Angle const lsst::ap::cluster::ClusteringControl::getLeafExtentThreshold ( ) const
inline

Definition at line 92 of file ClusteringControl.h.

92  {
94  }
double leafExtentThresholdArcsec
&quot;A performance tuning parameter for the k-d tree used internally by\n&quot; &quot;the OPTICS implementation...
AngleUnit const arcseconds
Definition: Angle.h:95
void lsst::ap::cluster::ClusteringControl::validate ( ) const

Definition at line 49 of file ClusteringControl.cc.

49  {
50  if (epsilonArcsec < 0.0 || epsilonArcsec > 36000.0) {
51  throw LSST_EXCEPT(InvalidParameterError,
52  "epsilonArcsec must lie in the range [0, 36000]");
53  }
54  if (minNeighbors < 0) {
55  throw LSST_EXCEPT(InvalidParameterError,
56  "minNeighbors must be non-negative");
57 
58  }
59  if (pointsPerLeaf <= 0) {
60  throw LSST_EXCEPT(InvalidParameterError,
61  "pointsPerLeaf must be positive");
62  }
63 }
int pointsPerLeaf
&quot;A performance tuning parameter for the k-d tree used internally by\n&quot; &quot;the OPTICS implementation...
int minNeighbors
&quot;The minimum cardinality of the epsilonArcsec-neighborhood of a source\n&quot; &quot;S for S to be considered a...
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46

Member Data Documentation

double lsst::ap::cluster::ClusteringControl::epsilonArcsec

"Clustering distance (arcsec) to use when generating clusters with\n" "the OPTICS algorithm. If a source S has at least minNeighbors\n" "other sources within an angular separation of epsilonArcsec, then\n" "it is always assigned to a cluster.\n" ;

Definition at line 48 of file ClusteringControl.h.

double lsst::ap::cluster::ClusteringControl::leafExtentThresholdArcsec

"A performance tuning parameter for the k-d tree used internally by\n" "the OPTICS implementation. Nodes that have a maximum extent below\n" "this threshold value in each dimension are not subdivided. The value\n" "should be of the same order as epsilonArcsec - nodes much smaller\n" "than this are useless in the sense that the sources belonging to\n" "such a node become increasingly likely to all lie in the\n" "neighborhood of a query point. Note also that the k-d tree\n" "implementation does not store bounding boxes for nodes, meaning\n" "that an entire node cannot be determined to satisfy a range\n" "query without traversal of its children/contents. This saves on tree\n" "size, and makes sense for the target use-case because query regions\n" "are typically very small.\n" ;

Definition at line 86 of file ClusteringControl.h.

int lsst::ap::cluster::ClusteringControl::minNeighbors

"The minimum cardinality of the epsilonArcsec-neighborhood of a source\n" "S for S to be considered a core-source by the OPTICS algorithm. Core\n" "sources are always assigned to a cluster, whereas sources with\n" "epsilonArcsec-neighborhoods containing less than minNeighbors sources\n" "may or may not be. If such a source is assigned to a cluster, it is\n" "called a border source. Otherwise, it is called a noise source.\n" "\n" "This parameter is essentially a lower bound on the number of times\n" "an astrophysical object must be detected before its detections are\n" "clustered and turned into a catalog entry and can be tuned to avoid\n" "generating too many spurious entries. To ensure that every source is\n" "assigned to a cluster, set the value to zero. However, setting the\n" "value to a non-negligeable fraction of the number of times the sky is\n" "covered by the data-set in question will typically result in better\n" "clusters. There is currently no way to adjust the value to account\n" "for data-sets with non uniform coverage.\n" ;

Definition at line 66 of file ClusteringControl.h.

int lsst::ap::cluster::ClusteringControl::pointsPerLeaf

"A performance tuning parameter for the k-d tree used internally by\n" "the OPTICS implementation. The height of the tree is picked such\n" "that no leaf will contain more than pointsPerLeaf sources. A value\n" "in the tens of sources is generally a good pick.\n" ;

Definition at line 72 of file ClusteringControl.h.


The documentation for this struct was generated from the following files: