Isis 3 Developer Reference
Isis::BundleResults Class Reference

A container class for statistical results from a BundleAdjust solution. More...

#include <BundleResults.h>

Inheritance diagram for Isis::BundleResults:
Inheritance graph
Collaboration diagram for Isis::BundleResults:
Collaboration graph

Public Member Functions

 BundleResults (QObject *parent=0)
 Constructs a BundleResults object. More...
 
 BundleResults (Project *project, XmlStackedHandlerReader *xmlReader, QObject *parent=0)
 Construct this BundleResults object from XML. More...
 
 BundleResults (const BundleResults &src)
 Copy constructor for BundleResults. More...
 
 ~BundleResults ()
 Destroys this BundleResults object. More...
 
BundleResultsoperator= (const BundleResults &src)
 Assignment operator for BundleResults. More...
 
void initialize ()
 Initializes the BundleResults to a default state where all numeric members are set to 0 or another default value, all QString members are set to empty, all QVectors and QLists are cleared, and all other members are set to NULL. More...
 
void resizeSigmaStatisticsVectors (int numberImages)
 Resizes all image sigma vectors. More...
 
void setRmsImageResidualLists (QList< Statistics > rmsImageLineResiduals, QList< Statistics > rmsImageSampleResiduals, QList< Statistics > rmsImageResiduals)
 Sets the root mean square image residual Statistics lists. More...
 
void setRmsImageResidualLists (QVector< Statistics > rmsImageLineResiduals, QVector< Statistics > rmsImageSampleResiduals, QVector< Statistics > rmsImageResiduals)
 
void setSigmaCoord1Range (Distance minCoord1Dist, Distance maxCoord1Dist, QString minCoord1PointId, QString maxCoord1PointId)
 Sets the min and max sigma distances and point ids for coordinate 1. More...
 
void setSigmaCoord2Range (Distance minCoord2Dist, Distance maxCoord2Dist, QString minCoord2PointId, QString maxCoord2PointId)
 Sets the min and max sigma distances and point ids for coordinate 2. More...
 
void setSigmaCoord3Range (Distance minCoord3Dist, Distance maxCoord3Dist, QString minCoord3PointId, QString maxCoord3PointId)
 Sets the min and max sigma distances and point ids for coordinate 3. More...
 
void setRmsFromSigmaStatistics (double rmsFromSigmaCoord1Stats, double rmsFromSigmaCoord2Stats, double rmsFromSigmaCoord3Stats)
 Sets the root mean square values of the adjusted sigmas for all three coordinates. More...
 
void maximumLikelihoodSetUp (QList< QPair< MaximumLikelihoodWFunctions::Model, double > > modelsWithQuantiles)
 This method steps up the maximum likelihood estimation solution. More...
 
void printMaximumLikelihoodTierInformation ()
 Prints out information about which tier the solution is in and the status of the residuals. More...
 
void initializeResidualsProbabilityDistribution (unsigned int nodes=20)
 Initializes or resets the cumulative probability distribution of residuals used for reporting. More...
 
void initializeProbabilityDistribution (unsigned int nodes=20)
 Initializes or resets the cumulative probability distribution of |R^2 residuals|. More...
 
void addResidualsProbabilityDistributionObservation (double obsValue)
 Adds an observation to the cumulative probability distribution of residuals used for reporting. More...
 
void addProbabilityDistributionObservation (double obsValue)
 Adds an observation to the cumulative probability distribution of |R^2 residuals|. More...
 
void addProbabilityDistributionObservation (double obsValue, bool residuals)
 
void incrementMaximumLikelihoodModelIndex ()
 Increases the value that indicates which stage the maximum likelihood adjustment is currently on. More...
 
void incrementFixedPoints ()
 Increase the number of 'fixed' (ground) points. More...
 
int numberFixedPoints () const
 Returns the number of 'fixed' (ground) points. More...
 
void incrementHeldImages ()
 Increases the number of 'held' images. More...
 
int numberHeldImages () const
 Returns the number of 'held' images. More...
 
void incrementIgnoredPoints ()
 Increase the number of ignored points. More...
 
int numberIgnoredPoints () const
 Returns the number of ignored points. More...
 
void setRejectionLimit (double rejectionLimit)
 Sets the rejection limit. More...
 
void setRmsXYResiduals (double rx, double ry, double rxy)
 Sets the root mean square of the x and y residuals. More...
 
void setNumberRejectedObservations (int numberObservations)
 Sets the number of rejected observations. More...
 
void setNumberObservations (int numberObservations)
 Sets the number of observations. More...
 
void setNumberImageParameters (int numberParameters)
 Sets the number of image parameters. More...
 
void resetNumberConstrainedPointParameters ()
 Resets the number of contrained point parameters to 0. More...
 
void incrementNumberConstrainedPointParameters (int incrementAmount)
 Increase the number of contrained point parameters. More...
 
void resetNumberConstrainedImageParameters ()
 Resets the number of constrained image parameters to 0. More...
 
void incrementNumberConstrainedImageParameters (int incrementAmount)
 Increase the number of constrained image parameters. More...
 
void resetNumberConstrainedTargetParameters ()
 Resets the number of constrained target parameters to 0. More...
 
void incrementNumberConstrainedTargetParameters (int incrementAmount)
 Increases the number of constrained target parameters. More...
 
void setNumberUnknownParameters (int numberParameters)
 Sets the total number of parameters to solve for. More...
 
void computeDegreesOfFreedom ()
 Computes the degrees of freedom of the bundle adjustment and stores it internally. More...
 
void computeSigma0 (double dvtpv, BundleSettings::ConvergenceCriteria criteria)
 Computes the sigma0 and stores it internally. More...
 
void setDegreesOfFreedom (double degreesOfFreedom)
 Sets the degrees of freedom. More...
 
void setSigma0 (double sigma0)
 Sets the sigma0. More...
 
void setElapsedTime (double time)
 Sets the elapsed time for the bundle adjustment. More...
 
void setElapsedTimeErrorProp (double time)
 Sets the elapsed time for error propegation. More...
 
void setConverged (bool converged)
 Sets if the bundle adjustment converged. More...
 
void setBundleControlPoints (QVector< BundleControlPointQsp > controlPoints)
 Sets the bundle control point vector. More...
 
void setOutputControlNet (ControlNetQsp outNet)
 Sets the output ControlNet. More...
 
void setIterations (int iterations)
 Sets the number of iterations taken by the BundleAdjust. More...
 
void setObservations (BundleObservationVector observations)
 Sets the vector of BundleObservations. More...
 
QList< StatisticsrmsImageSampleResiduals () const
 Returns the list of RMS image sample residuals statistics. More...
 
QList< StatisticsrmsImageLineResiduals () const
 Returns the list of RMS image line residuals statistics. More...
 
QList< StatisticsrmsImageResiduals () const
 Returns the list of RMS image residuals statistics. More...
 
QVector< StatisticsrmsImageXSigmas () const
 Returns the list of RMS image x sigma statistics. More...
 
QVector< StatisticsrmsImageYSigmas () const
 Returns the list of RMS image y sigma statistics. More...
 
QVector< StatisticsrmsImageZSigmas () const
 Returns the list of RMS image z sigma statistics. More...
 
QVector< StatisticsrmsImageRASigmas () const
 Returns the list of RMS image right ascension sigma statistics. More...
 
QVector< StatisticsrmsImageDECSigmas () const
 Returns the list of RMS image declination sigma statistics. More...
 
QVector< StatisticsrmsImageTWISTSigmas () const
 Returns the list of RMS image twist sigma statistics. More...
 
SurfacePoint::CoordinateType coordTypeReports ()
 
Distance minSigmaCoord1Distance () const
 Returns the minimum sigma distance for coordinate 1. More...
 
Distance maxSigmaCoord1Distance () const
 Returns the maximum sigma distance for coordinate 1. More...
 
Distance minSigmaCoord2Distance () const
 Returns the minimum sigma distance for coordinate 2. More...
 
Distance maxSigmaCoord2Distance () const
 Returns the maximum sigma distance for coordinate 2. More...
 
Distance minSigmaCoord3Distance () const
 Returns the minimum sigma distance for coordinate 3. More...
 
Distance maxSigmaCoord3Distance () const
 Returns the maximum sigma distance for coordinate 3. More...
 
QString maxSigmaCoord1PointId () const
 Returns the maximum sigma point id for coordinate 1. More...
 
QString minSigmaCoord1PointId () const
 Returns the minimum sigma point id for coordinate 1. More...
 
QString minSigmaCoord2PointId () const
 Returns the minimum sigma point id for coordinate 2. More...
 
QString maxSigmaCoord2PointId () const
 Returns the maximum sigma point id for coordinate 2. More...
 
QString minSigmaCoord3PointId () const
 Returns the minimum sigma point id for coordinate 3. More...
 
QString maxSigmaCoord3PointId () const
 Returns the maximum sigma point id for coordinate 3. More...
 
double sigmaCoord1StatisticsRms () const
 Returns the RMS of the adjusted sigmas for coordinate 1. More...
 
double sigmaCoord2StatisticsRms () const
 Returns the RMS of the adjusted sigmas for coordinate 2. More...
 
double sigmaCoord3StatisticsRms () const
 Returns the RMS of the adjusted sigmas for coordinate 3. More...
 
double rmsRx () const
 Returns the RMS of the x residuals. More...
 
double rmsRy () const
 Returns the RMS of the y residuals. More...
 
double rmsRxy () const
 Returns the RMS of the x and y residuals. More...
 
double rejectionLimit () const
 Returns the rejection limit. More...
 
int numberRejectedObservations () const
 Returns the number of observation that were rejected. More...
 
int numberObservations () const
 Returns the number of observations. More...
 
int numberImageParameters () const
 Returns the total number of image parameters. More...
 
int numberConstrainedPointParameters () const
 Returns the number of constrained point parameters. More...
 
int numberConstrainedImageParameters () const
 Returns the number of constrained image parameters. More...
 
int numberConstrainedTargetParameters () const
 Return the number of constrained target parameters. More...
 
int numberUnknownParameters () const
 Returns the number of unknown parameters. More...
 
int degreesOfFreedom () const
 Returns the degrees of freedom. More...
 
double sigma0 () const
 Returns the Sigma0 of the bundle adjustment. More...
 
double elapsedTime () const
 Returns the elapsed time for the bundle adjustment. More...
 
double elapsedTimeErrorProp () const
 Returns the elapsed time for error propagation. More...
 
bool converged () const
 Returns whether or not the bundle adjustment converged. More...
 
QVector< BundleControlPointQsp > & bundleControlPoints ()
 Returns a reference to the BundleControlPoint vector. More...
 
ControlNetQsp outputControlNet () const
 Returns a shared pointer to the output control network. More...
 
int iterations () const
 Returns the number of iterations taken by the BundleAdjust. More...
 
const BundleObservationVectorobservations () const
 Returns a reference to the observations used by the BundleAdjust. More...
 
int numberMaximumLikelihoodModels () const
 Returns how many maximum likelihood models were used in the bundle adjustment. More...
 
int maximumLikelihoodModelIndex () const
 Returns which step the bundle adjustment is on. More...
 
StatCumProbDistDynCalc cumulativeProbabilityDistribution () const
 Returns the cumulative probability distribution of the |R^2 residuals|. More...
 
StatCumProbDistDynCalc residualsCumulativeProbabilityDistribution () const
 Returns the cumulative probability distribution of the residuals used for reporting. More...
 
double maximumLikelihoodMedianR2Residuals () const
 Returns the median of the |R^2 residuals|. More...
 
MaximumLikelihoodWFunctions maximumLikelihoodModelWFunc (int modelIndex) const
 Returns the maximum likelihood model at the given index. More...
 
double maximumLikelihoodModelQuantile (int modelIndex) const
 Returns the quantile of the maximum likelihood model at the given index. More...
 
QList< QPair< MaximumLikelihoodWFunctions, double > > maximumLikelihoodModels () const
 
bool setNumberHeldImages (SerialNumberList pHeldSnList, SerialNumberList *pSnList)
 
CorrelationMatrix correlationMatrix () const
 Returns the Correlation Matrix. More...
 
void setCorrMatCovFileName (FileName name)
 Set the covariance file name for the matrix used to calculate the correlation matrix. More...
 
void setCorrMatImgsAndParams (QMap< QString, QStringList > imgsAndParams)
 Set the images and their associated parameters of the correlation matrix. More...
 
void save (QXmlStreamWriter &stream, const Project *project) const
 Saves the BundleResults object to an XML file. More...
 

Detailed Description

A container class for statistical results from a BundleAdjust solution.

Author
2014-07-01 Jeannie Backer

Constructor & Destructor Documentation

◆ BundleResults() [1/3]

Isis::BundleResults::BundleResults ( QObject parent = 0)

Constructs a BundleResults object.

Parameters
parentThe Qt-relationship parent.

References initialize(), and initializeResidualsProbabilityDistribution().

◆ BundleResults() [2/3]

Isis::BundleResults::BundleResults ( Project project,
XmlStackedHandlerReader xmlReader,
QObject parent = 0 
)

Construct this BundleResults object from XML.

Parameters
bundleSettingsFolderWhere the settings XML for this bundle adjustment resides - /work/.../projectRoot/images/import1
xmlReaderAn XML reader that's up to a <bundleSettings> tag.
parentThe Qt-relationship parent.

References initialize(), and Isis::XmlStackedHandlerReader::pushContentHandler().

◆ BundleResults() [3/3]

Isis::BundleResults::BundleResults ( const BundleResults src)

Copy constructor for BundleResults.

Creates this BundleResults object as a copy of another BundleResults object.

Parameters
srcThe other BundleResults object to be copied.

◆ ~BundleResults()

Isis::BundleResults::~BundleResults ( )

Destroys this BundleResults object.

Member Function Documentation

◆ addProbabilityDistributionObservation() [1/2]

void Isis::BundleResults::addProbabilityDistributionObservation ( double  observationValue)

Adds an observation to the cumulative probability distribution of |R^2 residuals|.

Parameters
observationValueThe value of the added observation.

References Isis::StatCumProbDistDynCalc::addObs().

◆ addProbabilityDistributionObservation() [2/2]

void Isis::BundleResults::addProbabilityDistributionObservation ( double  obsValue,
bool  residuals 
)

◆ addResidualsProbabilityDistributionObservation()

void Isis::BundleResults::addResidualsProbabilityDistributionObservation ( double  observationValue)

Adds an observation to the cumulative probability distribution of residuals used for reporting.

Parameters
observationValueThe value of the added observation.

References Isis::StatCumProbDistDynCalc::addObs().

◆ bundleControlPoints()

QVector< BundleControlPointQsp > & Isis::BundleResults::bundleControlPoints ( )

Returns a reference to the BundleControlPoint vector.

Returns
QVector<BundleControlPointQsp>& The BundleControlPoint vector.

Referenced by Isis::BundleSolutionInfo::outputPointsCSV(), Isis::BundleSolutionInfo::outputResiduals(), and Isis::BundleSolutionInfo::outputText().

◆ computeDegreesOfFreedom()

void Isis::BundleResults::computeDegreesOfFreedom ( )

Computes the degrees of freedom of the bundle adjustment and stores it internally.

Referenced by computeSigma0().

◆ computeSigma0()

void Isis::BundleResults::computeSigma0 ( double  dvtpv,
BundleSettings::ConvergenceCriteria  criteria 
)

Computes the sigma0 and stores it internally.

Parameters
dvtpvThe weighted sum of the squares of the residuals. Computed by V transpose * P * V, where V is the vector of residuals and P is the weight matrix.
criteriaThe convergence criteria for the bundle adjustment.
Exceptions
IException::Io"Computed degrees of freedom is invalid."

References _FILEINFO_, computeDegreesOfFreedom(), Isis::IException::Io, Isis::BundleSettings::ParameterCorrections, and Isis::toString().

◆ converged()

bool Isis::BundleResults::converged ( ) const

Returns whether or not the bundle adjustment converged.

Returns
bool If the bundle adjustment converged.

Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), Isis::BundleSolutionInfo::outputText(), save(), and setConverged().

◆ coordTypeReports()

SurfacePoint::CoordinateType Isis::BundleResults::coordTypeReports ( )

◆ correlationMatrix()

CorrelationMatrix Isis::BundleResults::correlationMatrix ( ) const

Returns the Correlation Matrix.

Returns
CorrelationMatrix The correlation matrix.
Exceptions
IException::Unknown"Correlation matrix for this bundle is NULL."

References _FILEINFO_, and Isis::IException::Unknown.

Referenced by save(), setCorrMatCovFileName(), and setCorrMatImgsAndParams().

◆ cumulativeProbabilityDistribution()

StatCumProbDistDynCalc Isis::BundleResults::cumulativeProbabilityDistribution ( ) const

Returns the cumulative probability distribution of the |R^2 residuals|.

Returns
StatCumProbDistDynCalc The cumulative probability distribution of the |R^2 residuals|.

◆ degreesOfFreedom()

int Isis::BundleResults::degreesOfFreedom ( ) const

Returns the degrees of freedom.

Returns
int the degrees of freedom.

Referenced by save(), and setDegreesOfFreedom().

◆ elapsedTime()

double Isis::BundleResults::elapsedTime ( ) const

Returns the elapsed time for the bundle adjustment.

Returns
double The elapsed time for the bundle adjustment.

Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().

◆ elapsedTimeErrorProp()

double Isis::BundleResults::elapsedTimeErrorProp ( ) const

Returns the elapsed time for error propagation.

Returns
double The elapsed time for error propagation.

Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().

◆ incrementFixedPoints()

void Isis::BundleResults::incrementFixedPoints ( )

Increase the number of 'fixed' (ground) points.

◆ incrementHeldImages()

void Isis::BundleResults::incrementHeldImages ( )

Increases the number of 'held' images.

◆ incrementIgnoredPoints()

void Isis::BundleResults::incrementIgnoredPoints ( )

Increase the number of ignored points.

◆ incrementMaximumLikelihoodModelIndex()

void Isis::BundleResults::incrementMaximumLikelihoodModelIndex ( )

Increases the value that indicates which stage the maximum likelihood adjustment is currently on.

◆ incrementNumberConstrainedImageParameters()

void Isis::BundleResults::incrementNumberConstrainedImageParameters ( int  incrementAmount)

Increase the number of constrained image parameters.

Parameters
incrementAmountThe amount to increase by.

◆ incrementNumberConstrainedPointParameters()

void Isis::BundleResults::incrementNumberConstrainedPointParameters ( int  incrementAmount)

Increase the number of contrained point parameters.

Parameters
incrementAmountThe amount to increase by.

◆ incrementNumberConstrainedTargetParameters()

void Isis::BundleResults::incrementNumberConstrainedTargetParameters ( int  incrementAmount)

Increases the number of constrained target parameters.

Parameters
incrementAmountThe amount to increase by.

◆ initialize()

void Isis::BundleResults::initialize ( )

Initializes the BundleResults to a default state where all numeric members are set to 0 or another default value, all QString members are set to empty, all QVectors and QLists are cleared, and all other members are set to NULL.

References Isis::Distance::setMeters().

Referenced by BundleResults().

◆ initializeProbabilityDistribution()

void Isis::BundleResults::initializeProbabilityDistribution ( unsigned int  nodes = 20)

Initializes or resets the cumulative probability distribution of |R^2 residuals|.

Parameters
nodesThe number of quantiles in the cumulative probability distribution.

References Isis::StatCumProbDistDynCalc::setQuantiles().

Referenced by maximumLikelihoodSetUp(), and printMaximumLikelihoodTierInformation().

◆ initializeResidualsProbabilityDistribution()

void Isis::BundleResults::initializeResidualsProbabilityDistribution ( unsigned int  nodes = 20)

Initializes or resets the cumulative probability distribution of residuals used for reporting.

Parameters
nodesThe number of quantiles in the cumulative probability distribution.

References Isis::StatCumProbDistDynCalc::setQuantiles().

Referenced by BundleResults(), and maximumLikelihoodSetUp().

◆ iterations()

int Isis::BundleResults::iterations ( ) const

Returns the number of iterations taken by the BundleAdjust.

Returns
int The number of iterations.

Referenced by Isis::BundleSolutionInfo::outputHeader(), and setIterations().

◆ maximumLikelihoodMedianR2Residuals()

double Isis::BundleResults::maximumLikelihoodMedianR2Residuals ( ) const

Returns the median of the |R^2 residuals|.

Returns
double The median of the |R^2 residuals|.

Referenced by save().

◆ maximumLikelihoodModelIndex()

int Isis::BundleResults::maximumLikelihoodModelIndex ( ) const

Returns which step the bundle adjustment is on.

Returns
int The maximum likelihood model that the bundle adjustment is currently using.

Referenced by save().

◆ maximumLikelihoodModelQuantile()

double Isis::BundleResults::maximumLikelihoodModelQuantile ( int  modelIndex) const

Returns the quantile of the maximum likelihood model at the given index.

Parameters
modelIndexThe index of the maximum likelihood model whose quantile will be returned.
Returns
double The quantile of the desired maximum likelihood model.

Referenced by Isis::BundleSolutionInfo::outputHeader().

◆ maximumLikelihoodModels()

QList< QPair< MaximumLikelihoodWFunctions, double > > Isis::BundleResults::maximumLikelihoodModels ( ) const

◆ maximumLikelihoodModelWFunc()

MaximumLikelihoodWFunctions Isis::BundleResults::maximumLikelihoodModelWFunc ( int  modelIndex) const

Returns the maximum likelihood model at the given index.

Parameters
modelIndexThe index of the maximum likelihood model to be returned.
Returns
MaximumLikelihoodWFunctions The maximum likelihood model at the input index.

Referenced by Isis::BundleSolutionInfo::outputHeader().

◆ maximumLikelihoodSetUp()

void Isis::BundleResults::maximumLikelihoodSetUp ( QList< QPair< MaximumLikelihoodWFunctions::Model, double > >  modelsWithQuantiles)

This method steps up the maximum likelihood estimation solution.

Up to three successive solutions models are available.

Parameters
modelsWithQuantilesThe maixmum likelihood models and their quantiles. If empty, then maximum likelihood estimation will not be used.

References initializeProbabilityDistribution(), and initializeResidualsProbabilityDistribution().

◆ maxSigmaCoord1Distance()

Distance Isis::BundleResults::maxSigmaCoord1Distance ( ) const

Returns the maximum sigma distance for coordinate 1.

Returns
Distance The maximum sigma Coord1.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ maxSigmaCoord1PointId()

QString Isis::BundleResults::maxSigmaCoord1PointId ( ) const

Returns the maximum sigma point id for coordinate 1.

Returns
The maximum sigma Coord1 point id.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ maxSigmaCoord2Distance()

Distance Isis::BundleResults::maxSigmaCoord2Distance ( ) const

Returns the maximum sigma distance for coordinate 2.

Returns
Distance The maximum sigma Coord2.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ maxSigmaCoord2PointId()

QString Isis::BundleResults::maxSigmaCoord2PointId ( ) const

Returns the maximum sigma point id for coordinate 2.

Returns
The maximum sigma Coord2 point id.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ maxSigmaCoord3Distance()

Distance Isis::BundleResults::maxSigmaCoord3Distance ( ) const

Returns the maximum sigma distance for coordinate 3.

Returns
Distance The maximum sigma Coord3.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ maxSigmaCoord3PointId()

QString Isis::BundleResults::maxSigmaCoord3PointId ( ) const

Returns the maximum sigma point id for coordinate 3.

Returns
The maximum sigma Coord3 point id.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ minSigmaCoord1Distance()

Distance Isis::BundleResults::minSigmaCoord1Distance ( ) const

Returns the minimum sigma distance for coordinate 1.

Returns
Distance The minimum sigma for Coord1.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ minSigmaCoord1PointId()

QString Isis::BundleResults::minSigmaCoord1PointId ( ) const

Returns the minimum sigma point id for coordinate 1.

Returns
The minimum sigma Coord1 point id.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ minSigmaCoord2Distance()

Distance Isis::BundleResults::minSigmaCoord2Distance ( ) const

Returns the minimum sigma distance for coordinate 2.

Returns
Distance The minimum sigma Coord2.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ minSigmaCoord2PointId()

QString Isis::BundleResults::minSigmaCoord2PointId ( ) const

Returns the minimum sigma point id for coordinate 2.

Returns
The minimum sigma longitude point id.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ minSigmaCoord3Distance()

Distance Isis::BundleResults::minSigmaCoord3Distance ( ) const

Returns the minimum sigma distance for coordinate 3.

Returns
Distance The minimum sigma Coord3.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ minSigmaCoord3PointId()

QString Isis::BundleResults::minSigmaCoord3PointId ( ) const

Returns the minimum sigma point id for coordinate 3.

Returns
The minimum sigma Coord3 point id.

Referenced by Isis::BundleSolutionInfo::outputText(), and save().

◆ numberConstrainedImageParameters()

int Isis::BundleResults::numberConstrainedImageParameters ( ) const

Returns the number of constrained image parameters.

Returns
int The number of constrained image parameters.

Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().

◆ numberConstrainedPointParameters()

int Isis::BundleResults::numberConstrainedPointParameters ( ) const

Returns the number of constrained point parameters.

Returns
int The number of constrained point parameters.

Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().

◆ numberConstrainedTargetParameters()

int Isis::BundleResults::numberConstrainedTargetParameters ( ) const

Return the number of constrained target parameters.

Returns
int The number of constrained target parameters.

Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().

◆ numberFixedPoints()

int Isis::BundleResults::numberFixedPoints ( ) const

Returns the number of 'fixed' (ground) points.

Returns
int The number of fixed points.

Referenced by save().

◆ numberHeldImages()

int Isis::BundleResults::numberHeldImages ( ) const

Returns the number of 'held' images.

Returns
int The number of held images.

Referenced by save().

◆ numberIgnoredPoints()

int Isis::BundleResults::numberIgnoredPoints ( ) const

Returns the number of ignored points.

Returns
int The number of ignored points.

Referenced by save().

◆ numberImageParameters()

int Isis::BundleResults::numberImageParameters ( ) const

Returns the total number of image parameters.

Returns
int The total number of image parameters.

Referenced by save().

◆ numberMaximumLikelihoodModels()

int Isis::BundleResults::numberMaximumLikelihoodModels ( ) const

Returns how many maximum likelihood models were used in the bundle adjustment.

Returns
int The number fo maximum likelihood models.

Referenced by printMaximumLikelihoodTierInformation(), and save().

◆ numberObservations()

int Isis::BundleResults::numberObservations ( ) const

Returns the number of observations.

Returns
int The number of observations.

Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setNumberObservations().

◆ numberRejectedObservations()

int Isis::BundleResults::numberRejectedObservations ( ) const

Returns the number of observation that were rejected.

Returns
int The number of rejected observations.

Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setNumberRejectedObservations().

◆ numberUnknownParameters()

int Isis::BundleResults::numberUnknownParameters ( ) const

Returns the number of unknown parameters.

Returns
int The number of unknown parameters.

Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().

◆ observations()

const BundleObservationVector & Isis::BundleResults::observations ( ) const

Returns a reference to the observations used by the BundleAdjust.

Returns
BundleObservationVector& A reference to the observation vector.

Referenced by Isis::BundleSolutionInfo::outputHeader(), Isis::BundleSolutionInfo::outputImagesCSV(), Isis::BundleSolutionInfo::outputText(), and setObservations().

◆ operator=()

BundleResults & Isis::BundleResults::operator= ( const BundleResults src)

Assignment operator for BundleResults.

Overwrites this BundleResults object with another BundleResults object.

Parameters
srcThe other BundleResults object to be copied from.

◆ outputControlNet()

ControlNetQsp Isis::BundleResults::outputControlNet ( ) const

Returns a shared pointer to the output control network.

Returns
ControlNetQsp A shared pointer to the output control network.
Exceptions
IException::Programmer"Output Control Network has not been set."

References _FILEINFO_, and Isis::IException::Programmer.

Referenced by coordTypeReports(), Isis::BundleSolutionInfo::outputHeader(), and save().

◆ printMaximumLikelihoodTierInformation()

void Isis::BundleResults::printMaximumLikelihoodTierInformation ( )

Prints out information about which tier the solution is in and the status of the residuals.

References initializeProbabilityDistribution(), numberMaximumLikelihoodModels(), and Isis::StatCumProbDistDynCalc::value().

◆ rejectionLimit()

double Isis::BundleResults::rejectionLimit ( ) const

Returns the rejection limit.

Returns
double The rejection limit.

Referenced by save(), and setRejectionLimit().

◆ resetNumberConstrainedImageParameters()

void Isis::BundleResults::resetNumberConstrainedImageParameters ( )

Resets the number of constrained image parameters to 0.

◆ resetNumberConstrainedPointParameters()

void Isis::BundleResults::resetNumberConstrainedPointParameters ( )

Resets the number of contrained point parameters to 0.

◆ resetNumberConstrainedTargetParameters()

void Isis::BundleResults::resetNumberConstrainedTargetParameters ( )

Resets the number of constrained target parameters to 0.

◆ residualsCumulativeProbabilityDistribution()

StatCumProbDistDynCalc Isis::BundleResults::residualsCumulativeProbabilityDistribution ( ) const

Returns the cumulative probability distribution of the residuals used for reporting.

Returns
StatCumProbDistDynCalc the cumulative probability distribution of the residuals.

Referenced by Isis::BundleSolutionInfo::outputHeader().

◆ resizeSigmaStatisticsVectors()

void Isis::BundleResults::resizeSigmaStatisticsVectors ( int  numberImages)

Resizes all image sigma vectors.

Parameters
numberImagesThe new size for the image sigma vectors.

◆ rmsImageDECSigmas()

QVector< Statistics > Isis::BundleResults::rmsImageDECSigmas ( ) const

Returns the list of RMS image declination sigma statistics.

Returns
QList<Statistics> The RMS image declination sigma statistics.

Referenced by save().

◆ rmsImageLineResiduals()

QList< Statistics > Isis::BundleResults::rmsImageLineResiduals ( ) const

Returns the list of RMS image line residuals statistics.

Returns
QList<Statistics> The RMS image line residual statistics.

Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().

◆ rmsImageRASigmas()

QVector< Statistics > Isis::BundleResults::rmsImageRASigmas ( ) const

Returns the list of RMS image right ascension sigma statistics.

Returns
QList<Statistics> The RMS image right ascension sigma statistics.

Referenced by save().

◆ rmsImageResiduals()

QList< Statistics > Isis::BundleResults::rmsImageResiduals ( ) const

Returns the list of RMS image residuals statistics.

Returns
QList<Statistics> The RMS image residual statistics.

Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().

◆ rmsImageSampleResiduals()

QList< Statistics > Isis::BundleResults::rmsImageSampleResiduals ( ) const

Returns the list of RMS image sample residuals statistics.

Returns
QList<Statistics> The RMS image sample residual statistics.

Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().

◆ rmsImageTWISTSigmas()

QVector< Statistics > Isis::BundleResults::rmsImageTWISTSigmas ( ) const

Returns the list of RMS image twist sigma statistics.

Returns
QList<Statistics> The RMS image twist sigma statistics.

Referenced by save().

◆ rmsImageXSigmas()

QVector< Statistics > Isis::BundleResults::rmsImageXSigmas ( ) const

Returns the list of RMS image x sigma statistics.

Returns
QList<Statistics> The RMS image x sigma statistics.

Referenced by save().

◆ rmsImageYSigmas()

QVector< Statistics > Isis::BundleResults::rmsImageYSigmas ( ) const

Returns the list of RMS image y sigma statistics.

Returns
QList<Statistics> The RMS image y sigma statistics.

Referenced by save().

◆ rmsImageZSigmas()

QVector< Statistics > Isis::BundleResults::rmsImageZSigmas ( ) const

Returns the list of RMS image z sigma statistics.

Returns
QList<Statistics> The RMS image z sigma statistics.

Referenced by save().

◆ rmsRx()

double Isis::BundleResults::rmsRx ( ) const

Returns the RMS of the x residuals.

Returns
double The RMS of the x residuals.

Referenced by save().

◆ rmsRxy()

double Isis::BundleResults::rmsRxy ( ) const

Returns the RMS of the x and y residuals.

Returns
double The RMS of the x and y residuals.

Referenced by save().

◆ rmsRy()

double Isis::BundleResults::rmsRy ( ) const

Returns the RMS of the y residuals.

Returns
double The RMS of the y residuals.

Referenced by save().

◆ save()

void Isis::BundleResults::save ( QXmlStreamWriter &  stream,
const Project project 
) const

Saves the BundleResults object to an XML file.

Parameters
streamThe QXMLStreamWriter that will be used to write out the XML file.
projectThe project that the BundleResults object belongs to.

References _FILEINFO_, converged(), correlationMatrix(), degreesOfFreedom(), elapsedTime(), elapsedTimeErrorProp(), Isis::SurfacePoint::Latitudinal, maximumLikelihoodMedianR2Residuals(), maximumLikelihoodModelIndex(), maxSigmaCoord1Distance(), maxSigmaCoord1PointId(), maxSigmaCoord2Distance(), maxSigmaCoord2PointId(), maxSigmaCoord3Distance(), maxSigmaCoord3PointId(), minSigmaCoord1Distance(), minSigmaCoord1PointId(), minSigmaCoord2Distance(), minSigmaCoord2PointId(), minSigmaCoord3Distance(), minSigmaCoord3PointId(), Isis::MaximumLikelihoodWFunctions::modelToString(), numberConstrainedImageParameters(), numberConstrainedPointParameters(), numberConstrainedTargetParameters(), numberFixedPoints(), numberHeldImages(), numberIgnoredPoints(), numberImageParameters(), numberMaximumLikelihoodModels(), numberObservations(), numberRejectedObservations(), numberUnknownParameters(), outputControlNet(), Isis::IException::Programmer, Isis::SurfacePoint::Rectangular, rejectionLimit(), rmsImageDECSigmas(), rmsImageLineResiduals(), rmsImageRASigmas(), rmsImageResiduals(), rmsImageSampleResiduals(), rmsImageTWISTSigmas(), rmsImageXSigmas(), rmsImageYSigmas(), rmsImageZSigmas(), rmsRx(), rmsRxy(), rmsRy(), sigma0(), sigmaCoord1StatisticsRms(), sigmaCoord2StatisticsRms(), sigmaCoord3StatisticsRms(), and Isis::toString().

Referenced by Isis::BundleSolutionInfo::save().

◆ setBundleControlPoints()

void Isis::BundleResults::setBundleControlPoints ( QVector< BundleControlPointQsp controlPoints)

Sets the bundle control point vector.

Parameters
controlPointsThe vector of BundleControlPointQsps.

◆ setConverged()

void Isis::BundleResults::setConverged ( bool  converged)

Sets if the bundle adjustment converged.

Parameters
convergedIf the bundle adjustment converged.

References converged().

◆ setCorrMatCovFileName()

void Isis::BundleResults::setCorrMatCovFileName ( FileName  name)

Set the covariance file name for the matrix used to calculate the correlation matrix.

Parameters
nameThe name of the file used to store the covariance matrix.

References correlationMatrix(), and Isis::CorrelationMatrix::setCovarianceFileName().

◆ setCorrMatImgsAndParams()

void Isis::BundleResults::setCorrMatImgsAndParams ( QMap< QString, QStringList imgsAndParams)

Set the images and their associated parameters of the correlation matrix.

Parameters
imgsAndParamsThe QMap with all the images and parameters used for this bundle.

References correlationMatrix(), and Isis::CorrelationMatrix::setImagesAndParameters().

Referenced by Isis::BundleSolutionInfo::outputText().

◆ setDegreesOfFreedom()

void Isis::BundleResults::setDegreesOfFreedom ( double  degreesOfFreedom)

Sets the degrees of freedom.

Parameters
degreesOfFreedomThe degrees of freedom.

References degreesOfFreedom().

◆ setElapsedTime()

void Isis::BundleResults::setElapsedTime ( double  time)

Sets the elapsed time for the bundle adjustment.

Parameters
timeThe elapsed time.

◆ setElapsedTimeErrorProp()

void Isis::BundleResults::setElapsedTimeErrorProp ( double  time)

Sets the elapsed time for error propegation.

Parameters
timeThe elapsed time.

◆ setIterations()

void Isis::BundleResults::setIterations ( int  iterations)

Sets the number of iterations taken by the BundleAdjust.

Parameters
iterationsThe number of iterations.

References iterations().

◆ setNumberHeldImages()

bool Isis::BundleResults::setNumberHeldImages ( SerialNumberList  pHeldSnList,
SerialNumberList pSnList 
)

◆ setNumberImageParameters()

void Isis::BundleResults::setNumberImageParameters ( int  numberParameters)

Sets the number of image parameters.

Parameters
numberParametersThe number of image parameters.

◆ setNumberObservations()

void Isis::BundleResults::setNumberObservations ( int  numberObservations)

Sets the number of observations.

Parameters
numberObservationsThe number of observations.

References numberObservations().

◆ setNumberRejectedObservations()

void Isis::BundleResults::setNumberRejectedObservations ( int  numberRejectedObservations)

Sets the number of rejected observations.

Parameters
numberRejectedObservationsThe number of rejected observations.

References numberRejectedObservations().

◆ setNumberUnknownParameters()

void Isis::BundleResults::setNumberUnknownParameters ( int  numberParameters)

Sets the total number of parameters to solve for.

Parameters
numberParametersThe number of parameters to solve for.

◆ setObservations()

void Isis::BundleResults::setObservations ( BundleObservationVector  observations)

Sets the vector of BundleObservations.

Parameters
observationsThe vector of BundleObservations.

References observations().

◆ setOutputControlNet()

void Isis::BundleResults::setOutputControlNet ( ControlNetQsp  outNet)

Sets the output ControlNet.

Parameters
outNetA QSharedPointer to the output ControlNet.

◆ setRejectionLimit()

void Isis::BundleResults::setRejectionLimit ( double  rejectionLimit)

Sets the rejection limit.

Parameters
rejectionLimitThe rejection limit.

References rejectionLimit().

◆ setRmsFromSigmaStatistics()

void Isis::BundleResults::setRmsFromSigmaStatistics ( double  rmsFromSigmaCoord1Stats,
double  rmsFromSigmaCoord2Stats,
double  rmsFromSigmaCoord3Stats 
)

Sets the root mean square values of the adjusted sigmas for all three coordinates.

Parameters
rmsFromSigmaCoord1StatsThe new RMS value of the adjusted coord1 sigmas.
rmsFromSigmaCoord2StatsThe new RMS value of the adjusted coord2 sigmas.
rmsFromSigmaCoord3StatsThe new RMS value of the adjusted coord3 sigmas.

◆ setRmsImageResidualLists() [1/2]

void Isis::BundleResults::setRmsImageResidualLists ( QList< Statistics rmsImageLineResiduals,
QList< Statistics rmsImageSampleResiduals,
QList< Statistics rmsImageResiduals 
)

Sets the root mean square image residual Statistics lists.

Parameters
rmsImageLineResidualsThe new image line residuals list.
rmsImageSampleResidualsThe new image sample residuals list.
rmsImageResidualsThe new image residuals list.

References rmsImageLineResiduals(), rmsImageResiduals(), and rmsImageSampleResiduals().

◆ setRmsImageResidualLists() [2/2]

void Isis::BundleResults::setRmsImageResidualLists ( QVector< Statistics rmsImageLineResiduals,
QVector< Statistics rmsImageSampleResiduals,
QVector< Statistics rmsImageResiduals 
)

◆ setRmsXYResiduals()

void Isis::BundleResults::setRmsXYResiduals ( double  rx,
double  ry,
double  rxy 
)

Sets the root mean square of the x and y residuals.

Parameters
rxThe RMS value of the x residuals.
ryThe RMS value of the y residuals.
rxyThe RMS value of both the x and y residuals.

◆ setSigma0()

void Isis::BundleResults::setSigma0 ( double  sigma0)

Sets the sigma0.

Parameters
sigma0The sigma0.

References sigma0().

◆ setSigmaCoord1Range()

void Isis::BundleResults::setSigmaCoord1Range ( Distance  minCoord1Dist,
Distance  maxCoord1Dist,
QString  minCoord1PointId,
QString  maxCoord1PointId 
)

Sets the min and max sigma distances and point ids for coordinate 1.

Parameters
minLatDistThe new minimum sigma latitude distance.
maxLatDistThe new maximum sigma latitude distance.
minLatPointIdThe new minimum sigma latitude point id.
maxLatPointIdThe new maximum sigma latitude point id.

◆ setSigmaCoord2Range()

void Isis::BundleResults::setSigmaCoord2Range ( Distance  minCoord2Dist,
Distance  maxCoord2Dist,
QString  minCoord2PointId,
QString  maxCoord2PointId 
)

Sets the min and max sigma distances and point ids for coordinate 2.

Parameters
minLonDistThe new minimum sigma longitude distance.
maxLonDistThe new maximum sigma longitude distance.
minLonPointIdThe new minimum sigma longitude point id.
maxLonPointIdThe new maximum sigma longitude point id.

◆ setSigmaCoord3Range()

void Isis::BundleResults::setSigmaCoord3Range ( Distance  minCoord3Dist,
Distance  maxCoord3Dist,
QString  minCoord3PointId,
QString  maxCoord3PointId 
)

Sets the min and max sigma distances and point ids for coordinate 3.

Parameters
minRadDistThe new minimum sigma radius distance.
maxRadDistThe new maximum sigma radius distance.
minRadPointIdThe new minimum sigma radius point id.
maxRadPointIdThe new maximum sigma radius point id.

◆ sigma0()

double Isis::BundleResults::sigma0 ( ) const

Returns the Sigma0 of the bundle adjustment.

Returns
double The Sigma0.

Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setSigma0().

◆ sigmaCoord1StatisticsRms()

double Isis::BundleResults::sigmaCoord1StatisticsRms ( ) const

Returns the RMS of the adjusted sigmas for coordinate 1.

Returns
double The RMS of the adjusted Coord1 sigmas.

Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::BundleSolutionInfo::outputText(), and save().

◆ sigmaCoord2StatisticsRms()

double Isis::BundleResults::sigmaCoord2StatisticsRms ( ) const

Returns the RMS of the adjusted sigmas for coordinate 2.

Returns
double The RMS of the adjusted Coord2 sigmas.

Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::BundleSolutionInfo::outputText(), and save().

◆ sigmaCoord3StatisticsRms()

double Isis::BundleResults::sigmaCoord3StatisticsRms ( ) const

Returns the RMS of the adjusted sigmas for coordinate 3.

Returns
double The RMS of the adjusted Coord3 sigmas.

Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::BundleSolutionInfo::outputText(), and save().


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