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
Public Member Functions | Public Attributes | List of all members
lsst::meas.astrom::MatchOptimisticBControl Struct Reference

#include <matchOptimisticB.h>

Public Member Functions

 MatchOptimisticBControl ()
 
void validate () const
 
 ~MatchOptimisticBControl ()
 

Public Attributes

std::string refFluxField
 "name of flux field in reference catalog" ; More...
 
std::string sourceFluxField
 "name of flux field in source catalog" ; More...
 
int numBrightStars
 "maximum number of bright reference stars to use" ; More...
 
int minMatchedPairs
 "minimum number of matches" ; More...
 
double matchingAllowancePix
 "maximum allowed distance between reference objects and sources (pixels)" ; More...
 
double maxOffsetPix
 "maximum allowed frame translation (pixels)" ; More...
 
double maxRotationDeg
 "maximum allowed frame rotation (deg)" ; More...
 
double allowedNonperpDeg
 "allowed non-perpendicularity of x and y axes (deg)" ; More...
 
int numPointsForShape
 "number of points in a matching shape" ; More...
 
double maxDeterminant
 "?" ; More...
 

Detailed Description

Definition at line 80 of file matchOptimisticB.h.

Constructor & Destructor Documentation

lsst::meas.astrom::MatchOptimisticBControl::MatchOptimisticBControl ( )
inline

Definition at line 93 of file matchOptimisticB.h.

93  :
94  refFluxField("r_flux"),
95  sourceFluxField("slot_ApFlux_flux"),
96  numBrightStars(100),
97  minMatchedPairs(50),
99  maxOffsetPix(300),
100  maxRotationDeg(1.0),
101  allowedNonperpDeg(3.0),
103  maxDeterminant(0.02)
104  {
105  validate();
106  }
double allowedNonperpDeg
&quot;allowed non-perpendicularity of x and y axes (deg)&quot; ;
std::string sourceFluxField
&quot;name of flux field in source catalog&quot; ;
double maxRotationDeg
&quot;maximum allowed frame rotation (deg)&quot; ;
int numBrightStars
&quot;maximum number of bright reference stars to use&quot; ;
double maxOffsetPix
&quot;maximum allowed frame translation (pixels)&quot; ;
double matchingAllowancePix
&quot;maximum allowed distance between reference objects and sources (pixels)&quot; ;
int minMatchedPairs
&quot;minimum number of matches&quot; ;
std::string refFluxField
&quot;name of flux field in reference catalog&quot; ;
int numPointsForShape
&quot;number of points in a matching shape&quot; ;
lsst::meas.astrom::MatchOptimisticBControl::~MatchOptimisticBControl ( )
inline

Definition at line 110 of file matchOptimisticB.h.

110 {};

Member Function Documentation

void lsst::meas.astrom::MatchOptimisticBControl::validate ( ) const

Definition at line 459 of file matchOptimisticB.cc.

459  {
460  if (refFluxField.empty()) {
461  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "refFluxField must be specified");
462  }
463  if (sourceFluxField.empty()) {
464  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "sourceFluxField must be specified");
465  }
466  if (numBrightStars <= 0) {
467  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "numBrightStars must be positive");
468  }
469  if (minMatchedPairs < 0) {
470  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "minMatchedPairs must not be negative");
471  }
472  if (matchingAllowancePix <= 0) {
473  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "matchingAllowancePix must be positive");
474  }
475  if (maxOffsetPix <= 0) {
476  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "maxOffsetPix must be positive");
477  }
478  if (maxRotationDeg <= 0) {
479  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "maxRotationRad must be positive");
480  }
481  if (allowedNonperpDeg <= 0) {
482  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "allowedNonperpDeg must be positive");
483  }
484  if (numPointsForShape <= 0) {
485  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "numPointsForShape must be positive");
486  }
487  if (maxDeterminant <= 0) {
488  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "maxDeterminant must be positive");
489  }
490  }
double allowedNonperpDeg
&quot;allowed non-perpendicularity of x and y axes (deg)&quot; ;
std::string sourceFluxField
&quot;name of flux field in source catalog&quot; ;
double maxRotationDeg
&quot;maximum allowed frame rotation (deg)&quot; ;
int numBrightStars
&quot;maximum number of bright reference stars to use&quot; ;
double maxOffsetPix
&quot;maximum allowed frame translation (pixels)&quot; ;
double matchingAllowancePix
&quot;maximum allowed distance between reference objects and sources (pixels)&quot; ;
int minMatchedPairs
&quot;minimum number of matches&quot; ;
std::string refFluxField
&quot;name of flux field in reference catalog&quot; ;
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
int numPointsForShape
&quot;number of points in a matching shape&quot; ;

Member Data Documentation

double lsst::meas.astrom::MatchOptimisticBControl::allowedNonperpDeg

"allowed non-perpendicularity of x and y axes (deg)" ;

Definition at line 89 of file matchOptimisticB.h.

double lsst::meas.astrom::MatchOptimisticBControl::matchingAllowancePix

"maximum allowed distance between reference objects and sources (pixels)" ;

Definition at line 86 of file matchOptimisticB.h.

double lsst::meas.astrom::MatchOptimisticBControl::maxDeterminant

"?" ;

Definition at line 91 of file matchOptimisticB.h.

double lsst::meas.astrom::MatchOptimisticBControl::maxOffsetPix

"maximum allowed frame translation (pixels)" ;

Definition at line 87 of file matchOptimisticB.h.

double lsst::meas.astrom::MatchOptimisticBControl::maxRotationDeg

"maximum allowed frame rotation (deg)" ;

Definition at line 88 of file matchOptimisticB.h.

int lsst::meas.astrom::MatchOptimisticBControl::minMatchedPairs

"minimum number of matches" ;

Definition at line 84 of file matchOptimisticB.h.

int lsst::meas.astrom::MatchOptimisticBControl::numBrightStars

"maximum number of bright reference stars to use" ;

Definition at line 83 of file matchOptimisticB.h.

int lsst::meas.astrom::MatchOptimisticBControl::numPointsForShape

"number of points in a matching shape" ;

Definition at line 90 of file matchOptimisticB.h.

std::string lsst::meas.astrom::MatchOptimisticBControl::refFluxField

"name of flux field in reference catalog" ;

Definition at line 81 of file matchOptimisticB.h.

std::string lsst::meas.astrom::MatchOptimisticBControl::sourceFluxField

"name of flux field in source catalog" ;

Definition at line 82 of file matchOptimisticB.h.


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