lsst.meas.astrom gcf9c84bd28+876f2a9e86
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lsst::meas::astrom::PatternResult Struct Reference

Result of construct_pattern_and_shift_rot_matrix(), containing the matched sources, rotation matrix, and a success flag. More...

#include <pessimisticPatternMatcherUtils.h>

Public Member Functions

 PatternResult ()
 Default construction is for failed fits. More...
 
 PatternResult (std::vector< std::pair< uint16_t, uint16_t > > const &candidate_pairs, Eigen::Matrix3d const &shift_rot_matrix, double cos_shift, double sin_rot)
 Constructor for successsful fits. More...
 

Public Attributes

std::vector< std::pair< uint16_t, uint16_t > > candidate_pairs
 Candidate pairs for this match pattern. More...
 
Eigen::Matrix3d shift_rot_matrix
 Rotation matrix to match the patterns. More...
 
double cos_shift
 Rotations that make up the matrix (default NaN). More...
 
double sin_rot
 
bool success
 Was the algorithm successful? More...
 

Detailed Description

Result of construct_pattern_and_shift_rot_matrix(), containing the matched sources, rotation matrix, and a success flag.

Definition at line 38 of file pessimisticPatternMatcherUtils.h.

Constructor & Destructor Documentation

◆ PatternResult() [1/2]

lsst::meas::astrom::PatternResult::PatternResult ( )
inline

Default construction is for failed fits.

Definition at line 40 of file pessimisticPatternMatcherUtils.h.

◆ PatternResult() [2/2]

lsst::meas::astrom::PatternResult::PatternResult ( std::vector< std::pair< uint16_t, uint16_t > > const &  candidate_pairs,
Eigen::Matrix3d const &  shift_rot_matrix,
double  cos_shift,
double  sin_rot 
)
inline

Constructor for successsful fits.

Definition at line 42 of file pessimisticPatternMatcherUtils.h.

Member Data Documentation

◆ candidate_pairs

std::vector<std::pair<uint16_t, uint16_t> > lsst::meas::astrom::PatternResult::candidate_pairs

Candidate pairs for this match pattern.

Definition at line 50 of file pessimisticPatternMatcherUtils.h.

◆ cos_shift

double lsst::meas::astrom::PatternResult::cos_shift

Rotations that make up the matrix (default NaN).

Definition at line 54 of file pessimisticPatternMatcherUtils.h.

◆ shift_rot_matrix

Eigen::Matrix3d lsst::meas::astrom::PatternResult::shift_rot_matrix

Rotation matrix to match the patterns.

Definition at line 52 of file pessimisticPatternMatcherUtils.h.

◆ sin_rot

double lsst::meas::astrom::PatternResult::sin_rot

Definition at line 55 of file pessimisticPatternMatcherUtils.h.

◆ success

bool lsst::meas::astrom::PatternResult::success

Was the algorithm successful?

Definition at line 57 of file pessimisticPatternMatcherUtils.h.


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