Isis Developer Reference
BundleResults.h
Go to the documentation of this file.
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"
22 #include "BundleSettings.h"
23 #include "ControlNet.h"
24 #include "Distance.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?
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 
229 
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 
287  CorrelationMatrix *m_correlationMatrix;
288 
289  int m_numberFixedPoints;
290  // Currently set but unused
291  int m_numberIgnoredPoints;
292  int m_numberHeldImages;
293 
294  // The following three members are set but unused.
295  double m_rmsXResiduals;
296  double m_rmsYResiduals;
297  double m_rmsXYResiduals;
298 
299  double m_rejectionLimit;
300  // TODO:??? reorder read/write data stream, init, copy constructor, operator=
301  int m_numberObservations;
302  int m_numberRejectedObservations;
303  int m_numberUnknownParameters;
304  int m_numberImageParameters;
305  int m_numberConstrainedImageParameters;
306  int m_numberConstrainedPointParameters;
307  int m_numberConstrainedTargetParameters;
308  int m_degreesOfFreedom;
309  double m_sigma0;
310  double m_elapsedTime;
311  double m_elapsedTimeErrorProp;
312  bool m_converged;
313 
314  // Variables for output methods in BundleSolutionInfo
315 
316  QVector<BundleControlPointQsp> m_bundleControlPoints;
324  ControlNetQsp m_outNet;
326  int m_iterations;
328  BundleObservationVector m_observations;
332  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333  // variables set in computeBundleResults()
334  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
335  // QList??? jigsaw apptest gives - ASSERT failure in QList<T>::operator[]: "index out of range",
336  QList<Statistics> m_rmsImageSampleResiduals;
338  QList<Statistics> m_rmsImageLineResiduals;
340  QList<Statistics> m_rmsImageResiduals;
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 ???
354  QVector<Statistics> m_rmsImageTWISTSigmas; // unset and unused ???
355 
356  Distance m_minSigmaCoord1Distance;
357  Distance m_maxSigmaCoord1Distance;
358  Distance m_minSigmaCoord2Distance;
359  Distance m_maxSigmaCoord2Distance;
360  Distance m_minSigmaCoord3Distance;
361  Distance m_maxSigmaCoord3Distance;
362 
363  QString m_minSigmaCoord1PointId;
364  QString m_maxSigmaCoord1PointId;
365  QString m_minSigmaCoord2PointId;
366  QString m_maxSigmaCoord2PointId;
367  QString m_minSigmaCoord3PointId;
368  QString m_maxSigmaCoord3PointId;
369 
370  double m_rmsSigmaCoord1Stats;
371  double m_rmsSigmaCoord2Stats;
372  double m_rmsSigmaCoord3Stats;
373 
374  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375  // variables for maximum likelihood estimation
376  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
377 
379  QList< QPair< MaximumLikelihoodWFunctions, double > > m_maximumLikelihoodFunctions;
380 
392  int m_maximumLikelihoodIndex;
395  StatCumProbDistDynCalc *m_cumPro;
400  StatCumProbDistDynCalc *m_cumProRes;
404  double m_maximumLikelihoodMedianR2Residuals;
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::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::BundleSettings::ParameterCorrections
@ ParameterCorrections
All parameter corrections will be used to determine that the bundle adjustment has converged.
Definition: BundleSettings.h:200
Isis::BundleResults::maxSigmaCoord2PointId
QString maxSigmaCoord2PointId() const
Returns the maximum sigma point id for coordinate 2.
Definition: BundleResults.cpp:1055
FileName.h
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::Statistics
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
Isis::IException::Io
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
Isis::BundleResults::maximumLikelihoodModelWFunc
MaximumLikelihoodWFunctions maximumLikelihoodModelWFunc(int modelIndex) const
Returns the maximum likelihood model at the given index.
Definition: BundleResults.cpp:1375
Isis::BundleResults::coordTypeReports
SurfacePoint::CoordinateType coordTypeReports()
Definition: BundleResults.cpp:1439
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
BundleResults.h
Isis::BundleResults::numberConstrainedImageParameters
int numberConstrainedImageParameters() const
Returns the number of constrained image parameters.
Definition: BundleResults.cpp:1195
Isis::BundleResults::numberObservations
int numberObservations() const
Returns the number of observations.
Definition: BundleResults.cpp:1165
MaximumLikelihoodWFunctions.h
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
Project.h
Isis::BundleResults::setOutputControlNet
void setOutputControlNet(ControlNetQsp outNet)
Sets the output ControlNet.
Definition: BundleResults.cpp:842
Isis::BundleResults::rmsImageResiduals
QList< Statistics > rmsImageResiduals() const
Returns the list of RMS image residuals statistics.
Definition: BundleResults.cpp:895
Isis::CorrelationMatrix::setImagesAndParameters
void setImagesAndParameters(QMap< QString, QStringList > imagesAndParameters)
Set the qmap of images and parameters.
Definition: CorrelationMatrix.cpp:381
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::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::elapsedTimeErrorProp
double elapsedTimeErrorProp() const
Returns the elapsed time for error propagation.
Definition: BundleResults.cpp:1255
Isis::IException::Unknown
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
Isis::XmlStackedHandlerReader::pushContentHandler
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
CorrelationMatrix.h
Isis::BundleResults::numberIgnoredPoints
int numberIgnoredPoints() const
Returns the number of ignored points.
Definition: BundleResults.cpp:612
Isis::BundleResults::addProbabilityDistributionObservation
void addProbabilityDistributionObservation(double obsValue, bool residuals)
Isis::BundleResults::maximumLikelihoodModels
QList< QPair< MaximumLikelihoodWFunctions, double > > maximumLikelihoodModels() const
Isis::StatCumProbDistDynCalc::setQuantiles
void setQuantiles(unsigned int nodes)
Definition: StatCumProbDistDynCalc.cpp:107
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
BundleSettings.h
Isis::Project::clear
void clear()
Function to clear out all values in a project essentially making it a new project object.
Definition: Project.cpp:459
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::XmlStackedHandler::startElement
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
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::numberImageParameters
int numberImageParameters() const
Returns the total number of image parameters.
Definition: BundleResults.cpp:1175
Isis::BundleResults::minSigmaCoord3Distance
Distance minSigmaCoord3Distance() const
Returns the minimum sigma distance for coordinate 3.
Definition: BundleResults.cpp:1005
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::bundleControlPoints
QVector< BundleControlPointQsp > & bundleControlPoints()
Returns a reference to the BundleControlPoint vector.
Definition: BundleResults.cpp:1275
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::incrementNumberConstrainedImageParameters
void incrementNumberConstrainedImageParameters(int incrementAmount)
Increase the number of constrained image parameters.
Definition: BundleResults.cpp:702
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
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::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::cumulativeProbabilityDistribution
StatCumProbDistDynCalc cumulativeProbabilityDistribution() const
Returns the cumulative probability distribution of the |R^2 residuals|.
Definition: BundleResults.cpp:1343
IString.h
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::Distance::setMeters
void setMeters(double distanceInMeters)
Set the distance in meters.
Definition: Distance.cpp:96
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::setNumberHeldImages
bool setNumberHeldImages(SerialNumberList pHeldSnList, SerialNumberList *pSnList)
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::setRmsImageResidualLists
void setRmsImageResidualLists(QVector< Statistics > rmsImageLineResiduals, QVector< Statistics > rmsImageSampleResiduals, QVector< Statistics > rmsImageResiduals)
Isis::BundleResults::degreesOfFreedom
int degreesOfFreedom() const
Returns the degrees of freedom.
Definition: BundleResults.cpp:1225
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::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
ControlNet.h
Isis::SurfacePoint::Rectangular
@ Rectangular
Body-fixed rectangular x/y/z coordinates.
Definition: SurfacePoint.h:141
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::MaximumLikelihoodWFunctions::modelToString
static QString modelToString(Model model)
Static method to return a string represtentation for a given MaximumLikelihoodWFunctions::Model enum.
Definition: MaximumLikelihoodWFunctions.cpp:355
Isis::BundleResults::maxSigmaCoord1PointId
QString maxSigmaCoord1PointId() const
Returns the maximum sigma point id for coordinate 1.
Definition: BundleResults.cpp:1035
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
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::MaximumLikelihoodWFunctions::stringToModel
static MaximumLikelihoodWFunctions::Model stringToModel(QString modelName)
Definition: MaximumLikelihoodWFunctions.cpp:367
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::toInt
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
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
StatCumProbDistDynCalc.h
BundleObservationVector.h
SurfacePoint.h
SerialNumberList.h
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::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
BundleControlPoint.h
Isis::BundleResults::numberHeldImages
int numberHeldImages() const
Returns the number of 'held' images.
Definition: BundleResults.cpp:594
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
ControlPoint.h
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::XmlStackedHandler::endElement
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
Isis::IException
Isis exception class.
Definition: IException.h:91
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
Camera.h
Isis::StatCumProbDistDynCalc::value
double value(double cumProb)
Provides the value of the variable that has the given cumulative probility (according the current est...
Definition: StatCumProbDistDynCalc.cpp:182
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::minSigmaCoord3PointId
QString minSigmaCoord3PointId() const
Returns the minimum sigma point id for coordinate 3.
Definition: BundleResults.cpp:1065
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
Statistics.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::BundleResults::rmsRy
double rmsRy() const
Returns the RMS of the y residuals.
Definition: BundleResults.cpp:1125
Isis::CorrelationMatrix::setCovarianceFileName
void setCovarianceFileName(FileName covarianceFileName)
Set the qmap of images and parameters.
Definition: CorrelationMatrix.cpp:359
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
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::toBool
bool toBool(const QString &string)
Global function to convert from a string to a boolean.
Definition: IString.cpp:38
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
PvlKeyword.h
Isis::XmlStackedHandler
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
Isis::BundleResults::incrementMaximumLikelihoodModelIndex
void incrementMaximumLikelihoodModelIndex()
Increases the value that indicates which stage the maximum likelihood adjustment is currently on.
Definition: BundleResults.cpp:558
PvlObject.h
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::StatCumProbDistDynCalc::addObs
void addObs(double obs)
Values for the estimated quantile positions are update as observations are added.
Definition: StatCumProbDistDynCalc.cpp:394
Isis::BundleResults::computeDegreesOfFreedom
void computeDegreesOfFreedom()
Computes the degrees of freedom of the bundle adjustment and stores it internally.
Definition: BundleResults.cpp:738
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::SurfacePoint::Latitudinal
@ Latitudinal
Planetocentric latitudinal (lat/lon/rad) coordinates.
Definition: SurfacePoint.h:140
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::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
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
Distance.h
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::save
void save(QXmlStreamWriter &stream, const Project *project) const
Saves the BundleResults object to an XML file.
Definition: BundleResults.cpp:1457
Isis::BundleResults::setNumberImageParameters
void setNumberImageParameters(int numberParameters)
Sets the number of image parameters.
Definition: BundleResults.cpp:666
XmlStackedHandlerReader.h
XmlStackedHandler.h
Isis::BundleResults::rmsImageSampleResiduals
QList< Statistics > rmsImageSampleResiduals() const
Returns the list of RMS image sample residuals statistics.
Definition: BundleResults.cpp:875
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(Isis::BundleResults)
Isis::BundleResults::residualsCumulativeProbabilityDistribution
StatCumProbDistDynCalc residualsCumulativeProbabilityDistribution() const
Returns the cumulative probability distribution of the residuals used for reporting.
Definition: BundleResults.cpp:1353
ControlMeasure.h
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
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