Loading [MathJax]/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
BundleResults.h
1 #ifndef BundleResults_h
2 #define BundleResults_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 // Qt Library
13 #include <QList>
14 #include <QObject>
15 #include <QPair>
16 #include <QString>
17 #include <QVector>
18 
19 // Isis Library
20 #include "BundleControlPoint.h"
21 #include "BundleObservationVector.h"
22 #include "BundleSettings.h"
23 #include "ControlNet.h"
24 #include "Distance.h"
25 #include "MaximumLikelihoodWFunctions.h"
26 #include "PvlObject.h"
27 #include "Statistics.h" // ???
28 #include "SurfacePoint.h"
29 #include "XmlStackedHandler.h"
30 
31 // Qt Library
32 class QDataStream;
33 class QUuid;
34 class QXmlStreamWriter;
35 
36 namespace Isis {
37  // Isis Library
38  class ControlNet;
39  class CorrelationMatrix;
40  class FileName;
41  class Project;// ??? does xml stuff need project???
42  class PvlObject;
43  class SerialNumberList;
46 
82  class BundleResults : public QObject {
83  Q_OBJECT
84  public:
85  BundleResults(QObject *parent = 0);
86  // TODO: does xml stuff need project???
87  BundleResults(Project *project, XmlStackedHandlerReader *xmlReader, QObject *parent = 0);
88  BundleResults(const BundleResults &src);
91  void initialize();
92 
93  // mutators and computation methods
94  void resizeSigmaStatisticsVectors(int numberImages);
101  void setSigmaCoord1Range(Distance minCoord1Dist, Distance maxCoord1Dist,
102  QString minCoord1PointId, QString maxCoord1PointId);
103  void setSigmaCoord2Range(Distance minCoord2Dist, Distance maxCoord2Dist,
104  QString minCoord2PointId, QString maxCoord2PointId);
105  void setSigmaCoord3Range(Distance minCoord3Dist, Distance maxCoord3Dist,
106  QString minCoord3PointId, QString maxCoord3PointId);
107  void setRmsFromSigmaStatistics(double rmsFromSigmaCoord1Stats,
108  double rmsFromSigmaCoord2Stats,
109  double rmsFromSigmaCoord3Stats);
113  void initializeResidualsProbabilityDistribution(unsigned int nodes = 20);
114  void initializeProbabilityDistribution(unsigned int nodes = 20);
116  void addProbabilityDistributionObservation(double obsValue);
117  void addProbabilityDistributionObservation(double obsValue, bool residuals);
119 
120  void incrementFixedPoints();
121  int numberFixedPoints() const;
122  void incrementHeldImages();
123  int numberHeldImages() const;
124  void incrementIgnoredPoints();
125  int numberIgnoredPoints() const; // currently unused ???
126 #if 0
127  double computeRejectionLimit(ControlNet *p_Cnet,
128  double outlierRejectionMultiplier,
129  int numObservations);
130 #endif
131  void setRejectionLimit(double rejectionLimit);
132 #if 0
133  double computeResiduals(
134  ControlNet *pCnet,
135  std::vector< boost::numeric::ublas::bounded_vector< double, 3 > > pointWeights,
136  std::vector< boost::numeric::ublas::bounded_vector< double, 3 > > pointCorrections,
137  LinearAlgebra::Vector image_Corrections,
138  std::vector< double > imageParameterWeights,
139  int numImagePartials,
140  int rank);
141 #endif
142  void setRmsXYResiduals(double rx, double ry, double rxy);
143 #if 0
144  bool flagOutliers(ControlNet *pCnet);
145 #endif
148  void setNumberImageParameters(int numberParameters); // ??? this is the same value an m_nRank
150  void incrementNumberConstrainedPointParameters(int incrementAmount);
152  void incrementNumberConstrainedImageParameters(int incrementAmount);
154  void incrementNumberConstrainedTargetParameters(int incrementAmount);
155  void setNumberUnknownParameters(int numberParameters);
157  void computeSigma0(double dvtpv, BundleSettings::ConvergenceCriteria criteria);
159  void setSigma0(double sigma0);
160  void setElapsedTime(double time);
161  void setElapsedTimeErrorProp(double time);
162  void setConverged(bool converged); // or initialze method
164  void setOutputControlNet(ControlNetQsp outNet);
165  void setIterations(int iterations);
167 
168  // Accessors...
172  QVector<Statistics> rmsImageXSigmas() const; // currently unused ???
173  QVector<Statistics> rmsImageYSigmas() const; // currently unused ???
174  QVector<Statistics> rmsImageZSigmas() const; // currently unused ???
175  QVector<Statistics> rmsImageRASigmas() const; // currently unused ???
176  QVector<Statistics> rmsImageDECSigmas() const; // currently unused ???
177  QVector<Statistics> rmsImageTWISTSigmas() const; // currently unused ???
178  // *** TODO *** Will we ever want to request a specific coordinate type?
179  // (Lat or X) or just whatever is the designated type?
180  SurfacePoint::CoordinateType coordTypeReports();
181 
188  QString maxSigmaCoord1PointId() const;
189  QString minSigmaCoord1PointId() const;
190  QString minSigmaCoord2PointId() const;
191  QString maxSigmaCoord2PointId() const;
192  QString minSigmaCoord3PointId() const;
193  QString maxSigmaCoord3PointId() const;
194  double sigmaCoord1StatisticsRms() const;
195  double sigmaCoord2StatisticsRms() const;
196  double sigmaCoord3StatisticsRms() const;
197 
198  double rmsRx() const; // currently unused ???
199  double rmsRy() const; // currently unused ???
200  double rmsRxy() const; // currently unused ???
201  double rejectionLimit() const;
202  int numberRejectedObservations() const;
203  int numberObservations() const;
204 
205  int numberImageParameters() const; // ??? this is the same value an m_nRank
209  int numberUnknownParameters() const;
210  int degreesOfFreedom() const;
211  double sigma0() const;
212  double elapsedTime() const;
213  double elapsedTimeErrorProp() const;
214  bool converged() const; // or initialze method
217  int iterations() const;
218  const BundleObservationVector &observations() const;
219 
220  int numberMaximumLikelihoodModels() const;
221  int maximumLikelihoodModelIndex() const;
224  double maximumLikelihoodMedianR2Residuals() const;
226  double maximumLikelihoodModelQuantile(int modelIndex) const;
227 
228  QList< QPair< MaximumLikelihoodWFunctions, double > > maximumLikelihoodModels() const;
229 
230  bool setNumberHeldImages(SerialNumberList pHeldSnList,
231  SerialNumberList *pSnList);
232 
233  // Correlation Matrix accessors for ipce and mutators for bundle adjust.
235  void setCorrMatCovFileName(FileName name);
237 
238  // TODO: does xml stuff need project???
239  void save(QXmlStreamWriter &stream, const Project *project) const;
240 
241 
242  private:
252  class XmlHandler : public XmlStackedHandler {
253  public:
254  // TODO: does xml stuff need project???
255  XmlHandler(BundleResults *statistics, Project *project);
256  ~XmlHandler();
257 
258  virtual bool startElement(const QString &namespaceURI, const QString &localName,
259  const QString &qName, const QXmlAttributes &atts);
260  virtual bool characters(const QString &ch);
261  virtual bool endElement(const QString &namespaceURI, const QString &localName,
262  const QString &qName);
263 
264  private:
265  Q_DISABLE_COPY(XmlHandler);
266 
267  BundleResults *m_xmlHandlerBundleResults;
268  Project *m_xmlHandlerProject; // TODO: does xml stuff need project???
269  QString m_xmlHandlerCharacters;
270  int m_xmlHandlerResidualsListSize;
271  int m_xmlHandlerSampleResidualsListSize;
272  int m_xmlHandlerLineResidualsListSize;
273  int m_xmlHandlerXSigmasListSize;
274  int m_xmlHandlerYSigmasListSize;
275  int m_xmlHandlerZSigmasListSize;
276  int m_xmlHandlerRASigmasListSize;
277  int m_xmlHandlerDECSigmasListSize;
278  int m_xmlHandlerTWISTSigmasListSize;
279  QList<Statistics *> m_xmlHandlerStatisticsList;
280  StatCumProbDistDynCalc *m_xmlHandlerCumProCalc;
281 
282  QString m_xmlHandlerCorrelationImageId;
283  QStringList m_xmlHandlerCorrelationParameterList;
284  QMap<QString, QStringList> m_xmlHandlerCorrelationMap;
285  };
286 
288 
290  // Currently set but unused
293 
294  // The following three members are set but unused.
298 
300  // TODO:??? reorder read/write data stream, init, copy constructor, operator=
309  double m_sigma0;
310  double m_elapsedTime;
312  bool m_converged;
313 
314  // Variables for output methods in BundleSolutionInfo
315 
332  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333  // variables set in computeBundleResults()
334  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
335  // QList??? jigsaw apptest gives - ASSERT failure in QList<T>::operator[]: "index out of range",
343  QVector<Statistics> m_rmsImageXSigmas; // unset and unused ???
346  QVector<Statistics> m_rmsImageYSigmas; // unset and unused ???
348  QVector<Statistics> m_rmsImageZSigmas; // unset and unused ???
350  QVector<Statistics> m_rmsImageRASigmas; // unset and unused ???
352  QVector<Statistics> m_rmsImageDECSigmas; // unset and unused ???
355 
362 
369 
373 
374  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375  // variables for maximum likelihood estimation
376  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
377 
380 
406  };
407 
408 };
409 
411 
412 #endif // BundleResults_h
Isis::BundleResults::maximumLikelihoodMedianR2Residuals
double maximumLikelihoodMedianR2Residuals() const
Returns the median of the |R^2 residuals|.
Definition: BundleResults.cpp:1363
Isis::BundleResults::minSigmaCoord2PointId
QString minSigmaCoord2PointId() const
Returns the minimum sigma point id for coordinate 2.
Definition: BundleResults.cpp:1045
Isis::BundleResults::XmlHandler
This class is an XmlHandler used to read and write BundleResults objects from and to XML files.
Definition: BundleResults.h:252
Isis::BundleResults::numberUnknownParameters
int numberUnknownParameters() const
Returns the number of unknown parameters.
Definition: BundleResults.cpp:1215
Isis::BundleResults::numberConstrainedPointParameters
int numberConstrainedPointParameters() const
Returns the number of constrained point parameters.
Definition: BundleResults.cpp:1185
Isis::BundleResults::iterations
int iterations() const
Returns the number of iterations taken by the BundleAdjust.
Definition: BundleResults.cpp:1302
Isis::BundleResults::maxSigmaCoord2PointId
QString maxSigmaCoord2PointId() const
Returns the maximum sigma point id for coordinate 2.
Definition: BundleResults.cpp:1055
Isis::BundleResults::XmlHandler::endElement
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Handle end tags for the BundleResults serialized XML.
Definition: BundleResults.cpp:2141
Isis::BundleResults::m_rmsYResiduals
double m_rmsYResiduals
rms of y residuals
Definition: BundleResults.h:296
Isis::BundleResults::m_correlationMatrix
CorrelationMatrix * m_correlationMatrix
The correlation matrix from the BundleAdjust.
Definition: BundleResults.h:287
Isis::BundleResults::incrementNumberConstrainedTargetParameters
void incrementNumberConstrainedTargetParameters(int incrementAmount)
Increases the number of constrained target parameters.
Definition: BundleResults.cpp:720
Isis::BundleResults::converged
bool converged() const
Returns whether or not the bundle adjustment converged.
Definition: BundleResults.cpp:1265
Isis::BundleResults::maximumLikelihoodModelWFunc
MaximumLikelihoodWFunctions maximumLikelihoodModelWFunc(int modelIndex) const
Returns the maximum likelihood model at the given index.
Definition: BundleResults.cpp:1375
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
Isis::BundleResults::numberConstrainedImageParameters
int numberConstrainedImageParameters() const
Returns the number of constrained image parameters.
Definition: BundleResults.cpp:1195
Isis::BundleResults::m_maxSigmaCoord1Distance
Distance m_maxSigmaCoord1Distance
The maximum sigma latitude distance.
Definition: BundleResults.h:357
Isis::BundleResults::numberObservations
int numberObservations() const
Returns the number of observations.
Definition: BundleResults.cpp:1165
Isis::BundleResults::printMaximumLikelihoodTierInformation
void printMaximumLikelihoodTierInformation()
Prints out information about which tier the solution is in and the status of the residuals.
Definition: BundleResults.cpp:492
Isis::BundleResults::resetNumberConstrainedImageParameters
void resetNumberConstrainedImageParameters()
Resets the number of constrained image parameters to 0.
Definition: BundleResults.cpp:692
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::BundleResults::setSigmaCoord2Range
void setSigmaCoord2Range(Distance minCoord2Dist, Distance maxCoord2Dist, QString minCoord2PointId, QString maxCoord2PointId)
Sets the min and max sigma distances and point ids for coordinate 2.
Definition: BundleResults.cpp:400
Isis::BundleResults::maxSigmaCoord3Distance
Distance maxSigmaCoord3Distance() const
Returns the maximum sigma distance for coordinate 3.
Definition: BundleResults.cpp:1015
Isis::BundleResults::m_maximumLikelihoodIndex
int m_maximumLikelihoodIndex
This count keeps track of which stage of the maximum likelihood adjustment the bundle is currently on...
Definition: BundleResults.h:392
Isis::BundleResults::m_rmsImageZSigmas
QVector< Statistics > m_rmsImageZSigmas
< The root mean square image z sigmas.
Definition: BundleResults.h:348
Isis::BundleResults::m_numberObservations
int m_numberObservations
number of image coordinate observations
Definition: BundleResults.h:301
Isis::BundleResults::setOutputControlNet
void setOutputControlNet(ControlNetQsp outNet)
Sets the output ControlNet.
Definition: BundleResults.cpp:842
Isis::BundleResults::m_rmsImageTWISTSigmas
QVector< Statistics > m_rmsImageTWISTSigmas
< The root mean square image twist sigmas.
Definition: BundleResults.h:354
Isis::BundleResults::rmsImageResiduals
QList< Statistics > rmsImageResiduals() const
Returns the list of RMS image residuals statistics.
Definition: BundleResults.cpp:895
Isis::BundleResults::sigmaCoord1StatisticsRms
double sigmaCoord1StatisticsRms() const
Returns the RMS of the adjusted sigmas for coordinate 1.
Definition: BundleResults.cpp:1085
Isis::BundleResults::setSigma0
void setSigma0(double sigma0)
Sets the sigma0.
Definition: BundleResults.cpp:792
Isis::BundleResults::m_numberConstrainedPointParameters
int m_numberConstrainedPointParameters
number of constrained point parameters
Definition: BundleResults.h:306
Isis::BundleResults::m_numberRejectedObservations
int m_numberRejectedObservations
number of rejected image coordinate observations
Definition: BundleResults.h:302
Isis::BundleResults::operator=
BundleResults & operator=(const BundleResults &src)
Assignment operator for BundleResults.
Definition: BundleResults.cpp:169
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::BundleResults::m_cumPro
StatCumProbDistDynCalc * m_cumPro
This class will be used to calculate the cumulative probability distribution of |R^2 residuals|,...
Definition: BundleResults.h:395
Isis::BundleResults::m_numberConstrainedTargetParameters
int m_numberConstrainedTargetParameters
number of constrained target parameters
Definition: BundleResults.h:307
Isis::BundleResults::elapsedTimeErrorProp
double elapsedTimeErrorProp() const
Returns the elapsed time for error propagation.
Definition: BundleResults.cpp:1255
Isis::BundleResults::m_maxSigmaCoord3PointId
QString m_maxSigmaCoord3PointId
The maximum sigma coordinate 3 point id.
Definition: BundleResults.h:368
Isis::BundleResults::m_maximumLikelihoodMedianR2Residuals
double m_maximumLikelihoodMedianR2Residuals
Median of R^2 residuals.
Definition: BundleResults.h:404
Isis::BundleResults::numberIgnoredPoints
int numberIgnoredPoints() const
Returns the number of ignored points.
Definition: BundleResults.cpp:612
Isis::BundleResults::m_minSigmaCoord3PointId
QString m_minSigmaCoord3PointId
The minimum sigma coordinate 3 point id.
Definition: BundleResults.h:367
Isis::BundleResults::m_minSigmaCoord2PointId
QString m_minSigmaCoord2PointId
The minimum sigma coordinate 2 point id.
Definition: BundleResults.h:365
Isis::BundleResults::rmsImageTWISTSigmas
QVector< Statistics > rmsImageTWISTSigmas() const
Returns the list of RMS image twist sigma statistics.
Definition: BundleResults.cpp:955
Isis::BundleResults::initializeProbabilityDistribution
void initializeProbabilityDistribution(unsigned int nodes=20)
Initializes or resets the cumulative probability distribution of |R^2 residuals|.
Definition: BundleResults.cpp:517
Isis::BundleResults::minSigmaCoord1PointId
QString minSigmaCoord1PointId() const
Returns the minimum sigma point id for coordinate 1.
Definition: BundleResults.cpp:1025
Isis::BundleResults::setConverged
void setConverged(bool converged)
Sets if the bundle adjustment converged.
Definition: BundleResults.cpp:822
Isis::BundleResults::numberFixedPoints
int numberFixedPoints() const
Returns the number of 'fixed' (ground) points.
Definition: BundleResults.cpp:576
Isis::BundleResults::setIterations
void setIterations(int iterations)
Sets the number of iterations taken by the BundleAdjust.
Definition: BundleResults.cpp:852
Isis::BundleResults::maxSigmaCoord1Distance
Distance maxSigmaCoord1Distance() const
Returns the maximum sigma distance for coordinate 1.
Definition: BundleResults.cpp:975
Isis::BundleResults::m_degreesOfFreedom
int m_degreesOfFreedom
degrees of freedom
Definition: BundleResults.h:308
Isis::BundleResults::numberImageParameters
int numberImageParameters() const
Returns the total number of image parameters.
Definition: BundleResults.cpp:1175
Isis::BundleResults::m_rmsImageRASigmas
QVector< Statistics > m_rmsImageRASigmas
< The root mean square image right ascension sigmas.
Definition: BundleResults.h:350
Isis::BundleResults::m_rmsSigmaCoord1Stats
double m_rmsSigmaCoord1Stats
rms of adjusted Latitude sigmas
Definition: BundleResults.h:370
Isis::BundleResults::minSigmaCoord3Distance
Distance minSigmaCoord3Distance() const
Returns the minimum sigma distance for coordinate 3.
Definition: BundleResults.cpp:1005
Isis::BundleResults::m_cumProRes
StatCumProbDistDynCalc * m_cumProRes
This class keeps track of the cumulative probability distribution of residuals (in unweighted pixels)...
Definition: BundleResults.h:400
Isis::BundleResults::numberMaximumLikelihoodModels
int numberMaximumLikelihoodModels() const
Returns how many maximum likelihood models were used in the bundle adjustment.
Definition: BundleResults.cpp:1322
Isis::BundleResults::sigma0
double sigma0() const
Returns the Sigma0 of the bundle adjustment.
Definition: BundleResults.cpp:1235
Isis::BundleResults::rmsRxy
double rmsRxy() const
Returns the RMS of the x and y residuals.
Definition: BundleResults.cpp:1135
QSharedPointer< ControlNet >
Isis::BundleResults::m_numberImageParameters
int m_numberImageParameters
number of image parameters
Definition: BundleResults.h:304
Isis::BundleResults::XmlHandler::~XmlHandler
~XmlHandler()
Destroys an XmlHandler.
Definition: BundleResults.cpp:1749
Isis::BundleResults::bundleControlPoints
QVector< BundleControlPointQsp > & bundleControlPoints()
Returns a reference to the BundleControlPoint vector.
Definition: BundleResults.cpp:1275
Isis::BundleResults::m_observations
BundleObservationVector m_observations
The vector of BundleObservations from BundleAdjust.
Definition: BundleResults.h:328
Isis::BundleResults::rmsImageLineResiduals
QList< Statistics > rmsImageLineResiduals() const
Returns the list of RMS image line residuals statistics.
Definition: BundleResults.cpp:885
Isis::BundleResults::maximumLikelihoodModelIndex
int maximumLikelihoodModelIndex() const
Returns which step the bundle adjustment is on.
Definition: BundleResults.cpp:1332
QStringList
Isis::BundleResults::m_maxSigmaCoord3Distance
Distance m_maxSigmaCoord3Distance
The maximum sigma radius distance.
Definition: BundleResults.h:361
Isis::BundleResults::incrementNumberConstrainedImageParameters
void incrementNumberConstrainedImageParameters(int incrementAmount)
Increase the number of constrained image parameters.
Definition: BundleResults.cpp:702
Isis::SerialNumberList
Serial Number list generator.
Definition: SerialNumberList.h:64
Isis::XmlStackedHandlerReader
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
Isis::CorrelationMatrix
This is a container for the correlation matrix that comes from a bundle adjust.
Definition: CorrelationMatrix.h:61
Isis::BundleResults::m_elapsedTimeErrorProp
double m_elapsedTimeErrorProp
elapsed time for error propagation
Definition: BundleResults.h:311
Isis::BundleResults::rmsImageYSigmas
QVector< Statistics > rmsImageYSigmas() const
Returns the list of RMS image y sigma statistics.
Definition: BundleResults.cpp:915
Isis::BundleResults::initialize
void initialize()
Initializes the BundleResults to a default state where all numeric members are set to 0 or another de...
Definition: BundleResults.cpp:245
Isis::BundleResults::m_numberIgnoredPoints
int m_numberIgnoredPoints
number of ignored points
Definition: BundleResults.h:291
Isis::BundleResults::cumulativeProbabilityDistribution
StatCumProbDistDynCalc cumulativeProbabilityDistribution() const
Returns the cumulative probability distribution of the |R^2 residuals|.
Definition: BundleResults.cpp:1343
Isis::BundleResults::elapsedTime
double elapsedTime() const
Returns the elapsed time for the bundle adjustment.
Definition: BundleResults.cpp:1245
Isis::BundleResults::rmsImageZSigmas
QVector< Statistics > rmsImageZSigmas() const
Returns the list of RMS image z sigma statistics.
Definition: BundleResults.cpp:925
Isis::BundleResults::setNumberRejectedObservations
void setNumberRejectedObservations(int numberObservations)
Sets the number of rejected observations.
Definition: BundleResults.cpp:646
Isis::Distance
Distance measurement, usually in meters.
Definition: Distance.h:34
Isis::BundleResults::setRejectionLimit
void setRejectionLimit(double rejectionLimit)
Sets the rejection limit.
Definition: BundleResults.cpp:636
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::BundleResults::setRmsFromSigmaStatistics
void setRmsFromSigmaStatistics(double rmsFromSigmaCoord1Stats, double rmsFromSigmaCoord2Stats, double rmsFromSigmaCoord3Stats)
Sets the root mean square values of the adjusted sigmas for all three coordinates.
Definition: BundleResults.cpp:433
Isis::BundleResults::degreesOfFreedom
int degreesOfFreedom() const
Returns the degrees of freedom.
Definition: BundleResults.cpp:1225
Isis::BundleResults::m_numberConstrainedImageParameters
int m_numberConstrainedImageParameters
number of constrained image parameters
Definition: BundleResults.h:305
Isis::BundleResults::rmsRx
double rmsRx() const
Returns the RMS of the x residuals.
Definition: BundleResults.cpp:1115
Isis::StatCumProbDistDynCalc
This class is used to approximate cumulative probibility distributions of a stream of observations wi...
Definition: StatCumProbDistDynCalc.h:65
Isis::BundleResults::setBundleControlPoints
void setBundleControlPoints(QVector< BundleControlPointQsp > controlPoints)
Sets the bundle control point vector.
Definition: BundleResults.cpp:832
Isis::BundleResults::m_minSigmaCoord3Distance
Distance m_minSigmaCoord3Distance
The minimum sigma radius distance.
Definition: BundleResults.h:360
Isis::BundleResults::m_maxSigmaCoord1PointId
QString m_maxSigmaCoord1PointId
The maximum sigma coordinate 1 point id.
Definition: BundleResults.h:364
Isis::BundleResults::m_rmsImageResiduals
QList< Statistics > m_rmsImageResiduals
RMS image sample and line residual statistics for each image in the bundle
Definition: BundleResults.h:340
Isis::BundleResults::incrementFixedPoints
void incrementFixedPoints()
Increase the number of 'fixed' (ground) points.
Definition: BundleResults.cpp:566
Isis::BundleResults::observations
const BundleObservationVector & observations() const
Returns a reference to the observations used by the BundleAdjust.
Definition: BundleResults.cpp:1312
Isis::BundleResults::m_rmsXResiduals
double m_rmsXResiduals
rms of x residuals
Definition: BundleResults.h:295
Isis::BundleResults::resetNumberConstrainedPointParameters
void resetNumberConstrainedPointParameters()
Resets the number of contrained point parameters to 0.
Definition: BundleResults.cpp:674
Isis::BundleResults::setElapsedTime
void setElapsedTime(double time)
Sets the elapsed time for the bundle adjustment.
Definition: BundleResults.cpp:802
Isis::LinearAlgebra::Vector
boost::numeric::ublas::vector< double > Vector
Definition for an Isis::LinearAlgebra::Vector of doubles.
Definition: LinearAlgebra.h:120
Isis::BundleResults::XmlHandler::startElement
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Handle an XML start element.
Definition: BundleResults.cpp:1772
Isis::BundleResults::m_sigma0
double m_sigma0
std deviation of unit weight
Definition: BundleResults.h:309
Isis::BundleResults::maxSigmaCoord1PointId
QString maxSigmaCoord1PointId() const
Returns the maximum sigma point id for coordinate 1.
Definition: BundleResults.cpp:1035
Isis::SurfacePoint::CoordinateType
CoordinateType
Defines the coordinate typ, units, and coordinate index for some of the output methods.
Definition: SurfacePoint.h:139
Isis::BundleSettings::ConvergenceCriteria
ConvergenceCriteria
This enum defines the options for the bundle adjustment's convergence.
Definition: BundleSettings.h:197
Isis::BundleResults::incrementNumberConstrainedPointParameters
void incrementNumberConstrainedPointParameters(int incrementAmount)
Increase the number of contrained point parameters.
Definition: BundleResults.cpp:684
Isis::BundleResults::m_rejectionLimit
double m_rejectionLimit
current rejection limit
Definition: BundleResults.h:299
Isis::BundleResults::setSigmaCoord1Range
void setSigmaCoord1Range(Distance minCoord1Dist, Distance maxCoord1Dist, QString minCoord1PointId, QString maxCoord1PointId)
Sets the min and max sigma distances and point ids for coordinate 1.
Definition: BundleResults.cpp:383
Isis::BundleResults::maxSigmaCoord3PointId
QString maxSigmaCoord3PointId() const
Returns the maximum sigma point id for coordinate 3.
Definition: BundleResults.cpp:1075
Isis::BundleResults::setNumberUnknownParameters
void setNumberUnknownParameters(int numberParameters)
Sets the total number of parameters to solve for.
Definition: BundleResults.cpp:730
Isis::BundleResults::m_outNet
ControlNetQsp m_outNet
The output control net from BundleAdjust.
Definition: BundleResults.h:324
Isis::BundleResults::m_rmsSigmaCoord2Stats
double m_rmsSigmaCoord2Stats
rms of adjusted Longitude sigmas
Definition: BundleResults.h:371
Isis::BundleResults::addProbabilityDistributionObservation
void addProbabilityDistributionObservation(double obsValue)
Adds an observation to the cumulative probability distribution of |R^2 residuals|.
Definition: BundleResults.cpp:538
Isis::BundleResults::XmlHandler::characters
virtual bool characters(const QString &ch)
Adds a QString to the XmlHandler's internal character data.
Definition: BundleResults.cpp:2126
Isis::BundleResults::setNumberObservations
void setNumberObservations(int numberObservations)
Sets the number of observations.
Definition: BundleResults.cpp:656
Isis::BundleResults::outputControlNet
ControlNetQsp outputControlNet() const
Returns a shared pointer to the output control network.
Definition: BundleResults.cpp:1287
Isis::BundleResults::m_maxSigmaCoord2Distance
Distance m_maxSigmaCoord2Distance
The maximum sigma longitude distance.
Definition: BundleResults.h:359
Isis::BundleResults::numberHeldImages
int numberHeldImages() const
Returns the number of 'held' images.
Definition: BundleResults.cpp:594
Isis::BundleResults::m_elapsedTime
double m_elapsedTime
elapsed time for bundle
Definition: BundleResults.h:310
Isis::BundleResults::sigmaCoord3StatisticsRms
double sigmaCoord3StatisticsRms() const
Returns the RMS of the adjusted sigmas for coordinate 3.
Definition: BundleResults.cpp:1105
Isis::BundleResults::maxSigmaCoord2Distance
Distance maxSigmaCoord2Distance() const
Returns the maximum sigma distance for coordinate 2.
Definition: BundleResults.cpp:995
Isis::BundleResults::addResidualsProbabilityDistributionObservation
void addResidualsProbabilityDistributionObservation(double obsValue)
Adds an observation to the cumulative probability distribution of residuals used for reporting.
Definition: BundleResults.cpp:549
Isis::BundleResults::setDegreesOfFreedom
void setDegreesOfFreedom(double degreesOfFreedom)
Sets the degrees of freedom.
Definition: BundleResults.cpp:782
Isis::BundleResults::m_rmsImageLineResiduals
QList< Statistics > m_rmsImageLineResiduals
List of RMS image line residual statistics for each image in the bundle
Definition: BundleResults.h:338
Isis::BundleResults::m_iterations
int m_iterations
The number of iterations taken by BundleAdjust.
Definition: BundleResults.h:326
Isis::ControlNet
a control network
Definition: ControlNet.h:257
Isis::BundleResults::computeSigma0
void computeSigma0(double dvtpv, BundleSettings::ConvergenceCriteria criteria)
Computes the sigma0 and stores it internally.
Definition: BundleResults.cpp:758
Isis::BundleResults::BundleResults
BundleResults(QObject *parent=0)
Constructs a BundleResults object.
Definition: BundleResults.cpp:48
Isis::BundleResults::minSigmaCoord1Distance
Distance minSigmaCoord1Distance() const
Returns the minimum sigma distance for coordinate 1.
Definition: BundleResults.cpp:965
Isis::BundleResults::rejectionLimit
double rejectionLimit() const
Returns the rejection limit.
Definition: BundleResults.cpp:1145
Isis::BundleResults::sigmaCoord2StatisticsRms
double sigmaCoord2StatisticsRms() const
Returns the RMS of the adjusted sigmas for coordinate 2.
Definition: BundleResults.cpp:1095
Isis::BundleResults::maximumLikelihoodSetUp
void maximumLikelihoodSetUp(QList< QPair< MaximumLikelihoodWFunctions::Model, double > > modelsWithQuantiles)
This method steps up the maximum likelihood estimation solution.
Definition: BundleResults.cpp:450
Isis::BundleResults::setCorrMatImgsAndParams
void setCorrMatImgsAndParams(QMap< QString, QStringList > imgsAndParams)
Set the images and their associated parameters of the correlation matrix.
Definition: BundleResults.cpp:1433
Isis::BundleResults::rmsImageDECSigmas
QVector< Statistics > rmsImageDECSigmas() const
Returns the list of RMS image declination sigma statistics.
Definition: BundleResults.cpp:945
Isis::BundleResults::m_rmsSigmaCoord3Stats
double m_rmsSigmaCoord3Stats
rms of adjusted Radius sigmas
Definition: BundleResults.h:372
Isis::BundleResults::maximumLikelihoodModelQuantile
double maximumLikelihoodModelQuantile(int modelIndex) const
Returns the quantile of the maximum likelihood model at the given index.
Definition: BundleResults.cpp:1387
Isis::BundleResults::XmlHandler::XmlHandler
XmlHandler(BundleResults *statistics, Project *project)
Constructs an XmlHandler used to save a BundleResults object.
Definition: BundleResults.cpp:1722
Isis::BundleResults::m_minSigmaCoord2Distance
Distance m_minSigmaCoord2Distance
The minimum sigma longitude distance.
Definition: BundleResults.h:358
Isis::BundleResults::m_numberFixedPoints
int m_numberFixedPoints
number of 'fixed' (ground) points (define)
Definition: BundleResults.h:289
Isis::BundleResults::minSigmaCoord3PointId
QString minSigmaCoord3PointId() const
Returns the minimum sigma point id for coordinate 3.
Definition: BundleResults.cpp:1065
Isis::BundleResults::m_rmsXYResiduals
double m_rmsXYResiduals
rms of all x and y residuals
Definition: BundleResults.h:297
Isis::BundleResults::correlationMatrix
CorrelationMatrix correlationMatrix() const
Returns the Correlation Matrix.
Definition: BundleResults.cpp:1405
Isis::BundleResults::setElapsedTimeErrorProp
void setElapsedTimeErrorProp(double time)
Sets the elapsed time for error propegation.
Definition: BundleResults.cpp:812
Isis::BundleResults::m_rmsImageYSigmas
QVector< Statistics > m_rmsImageYSigmas
< The root mean square image y sigmas.
Definition: BundleResults.h:346
Isis::BundleResults::rmsRy
double rmsRy() const
Returns the RMS of the y residuals.
Definition: BundleResults.cpp:1125
Isis::BundleResults::setRmsXYResiduals
void setRmsXYResiduals(double rx, double ry, double rxy)
Sets the root mean square of the x and y residuals.
Definition: BundleResults.cpp:624
Isis::BundleResults::numberConstrainedTargetParameters
int numberConstrainedTargetParameters() const
Return the number of constrained target parameters.
Definition: BundleResults.cpp:1205
Isis::BundleResults::setCorrMatCovFileName
void setCorrMatCovFileName(FileName name)
Set the covariance file name for the matrix used to calculate the correlation matrix.
Definition: BundleResults.cpp:1422
Isis::BundleResults::m_rmsImageDECSigmas
QVector< Statistics > m_rmsImageDECSigmas
< The root mean square image declination sigmas.
Definition: BundleResults.h:352
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::BundleResults::setRmsImageResidualLists
void setRmsImageResidualLists(QList< Statistics > rmsImageLineResiduals, QList< Statistics > rmsImageSampleResiduals, QList< Statistics > rmsImageResiduals)
Sets the root mean square image residual Statistics lists.
Definition: BundleResults.cpp:366
Isis::XmlStackedHandler
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
Isis::BundleResults::m_rmsImageSampleResiduals
QList< Statistics > m_rmsImageSampleResiduals
List of RMS image sample residual statistics for each image in the bundle
Definition: BundleResults.h:336
Isis::BundleResults::incrementMaximumLikelihoodModelIndex
void incrementMaximumLikelihoodModelIndex()
Increases the value that indicates which stage the maximum likelihood adjustment is currently on.
Definition: BundleResults.cpp:558
Isis::BundleResults::initializeResidualsProbabilityDistribution
void initializeResidualsProbabilityDistribution(unsigned int nodes=20)
Initializes or resets the cumulative probability distribution of residuals used for reporting.
Definition: BundleResults.cpp:527
QMap< QString, QStringList >
Isis::MaximumLikelihoodWFunctions
Class provides maximum likelihood estimation functions for robust parameter estimation,...
Definition: MaximumLikelihoodWFunctions.h:49
Isis::BundleResults::incrementIgnoredPoints
void incrementIgnoredPoints()
Increase the number of ignored points.
Definition: BundleResults.cpp:602
Isis::BundleResults::computeDegreesOfFreedom
void computeDegreesOfFreedom()
Computes the degrees of freedom of the bundle adjustment and stores it internally.
Definition: BundleResults.cpp:738
Isis::BundleResults::m_minSigmaCoord1Distance
Distance m_minSigmaCoord1Distance
The minimum sigma latitude distance.
Definition: BundleResults.h:356
Isis::BundleResults::incrementHeldImages
void incrementHeldImages()
Increases the number of 'held' images.
Definition: BundleResults.cpp:584
Isis::BundleResults::setObservations
void setObservations(BundleObservationVector observations)
Sets the vector of BundleObservations.
Definition: BundleResults.cpp:862
Isis::BundleResults::numberRejectedObservations
int numberRejectedObservations() const
Returns the number of observation that were rejected.
Definition: BundleResults.cpp:1155
Isis::BundleResults::rmsImageXSigmas
QVector< Statistics > rmsImageXSigmas() const
Returns the list of RMS image x sigma statistics.
Definition: BundleResults.cpp:905
Isis::BundleResults::resetNumberConstrainedTargetParameters
void resetNumberConstrainedTargetParameters()
Resets the number of constrained target parameters to 0.
Definition: BundleResults.cpp:710
Isis::BundleResults::m_numberHeldImages
int m_numberHeldImages
number of 'held' images (define)
Definition: BundleResults.h:292
Isis::BundleResults::m_maximumLikelihoodFunctions
QList< QPair< MaximumLikelihoodWFunctions, double > > m_maximumLikelihoodFunctions
< The maximum likelihood models and their quantiles.
Definition: BundleResults.h:379
Isis::BundleResults
A container class for statistical results from a BundleAdjust solution.
Definition: BundleResults.h:82
Isis::BundleResults::minSigmaCoord2Distance
Distance minSigmaCoord2Distance() const
Returns the minimum sigma distance for coordinate 2.
Definition: BundleResults.cpp:985
QObject
QVector
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
Isis::BundleResults::setSigmaCoord3Range
void setSigmaCoord3Range(Distance minCoord3Dist, Distance maxCoord3Dist, QString minCoord3PointId, QString maxCoord3PointId)
Sets the min and max sigma distances and point ids for coordinate 3.
Definition: BundleResults.cpp:417
Isis::BundleResults::m_bundleControlPoints
QVector< BundleControlPointQsp > m_bundleControlPoints
The vector of BundleControlPoints from BundleAdjust.
Definition: BundleResults.h:316
Isis::BundleResults::save
void save(QXmlStreamWriter &stream, const Project *project) const
Saves the BundleResults object to an XML file.
Definition: BundleResults.cpp:1457
Isis::BundleResults::m_maxSigmaCoord2PointId
QString m_maxSigmaCoord2PointId
The maximum sigma coordinate2 point id.
Definition: BundleResults.h:366
Isis::BundleResults::setNumberImageParameters
void setNumberImageParameters(int numberParameters)
Sets the number of image parameters.
Definition: BundleResults.cpp:666
Isis::BundleResults::rmsImageSampleResiduals
QList< Statistics > rmsImageSampleResiduals() const
Returns the list of RMS image sample residuals statistics.
Definition: BundleResults.cpp:875
Isis::BundleResults::residualsCumulativeProbabilityDistribution
StatCumProbDistDynCalc residualsCumulativeProbabilityDistribution() const
Returns the cumulative probability distribution of the residuals used for reporting.
Definition: BundleResults.cpp:1353
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::BundleObservationVector
This class is a container class for BundleObservations.
Definition: BundleObservationVector.h:55
Isis::BundleResults::resizeSigmaStatisticsVectors
void resizeSigmaStatisticsVectors(int numberImages)
Resizes all image sigma vectors.
Definition: BundleResults.cpp:337
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(Isis::PlotWindow *)
We have plot windows as QVariant data types, so here it's enabled.
Isis::BundleResults::~BundleResults
~BundleResults()
Destroys this BundleResults object.
Definition: BundleResults.cpp:149
Isis::BundleResults::rmsImageRASigmas
QVector< Statistics > rmsImageRASigmas() const
Returns the list of RMS image right ascension sigma statistics.
Definition: BundleResults.cpp:935
Isis::BundleResults::m_numberUnknownParameters
int m_numberUnknownParameters
total number of parameters to solve for
Definition: BundleResults.h:303
Isis::BundleResults::m_minSigmaCoord1PointId
QString m_minSigmaCoord1PointId
The minimum sigma coordinate 1 point id.
Definition: BundleResults.h:363

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:16:12