Isis 3 Programmer Reference
|
A container class for statistical results from a BundleAdjust solution. More...
#include <BundleResults.h>
Classes | |
class | XmlHandler |
This class is an XmlHandler used to read and write BundleResults objects from and to XML files. More... | |
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... | |
BundleResults & | operator= (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< Statistics > | rmsImageSampleResiduals () const |
Returns the list of RMS image sample residuals statistics. More... | |
QList< Statistics > | rmsImageLineResiduals () const |
Returns the list of RMS image line residuals statistics. More... | |
QList< Statistics > | rmsImageResiduals () const |
Returns the list of RMS image residuals statistics. More... | |
QVector< Statistics > | rmsImageXSigmas () const |
Returns the list of RMS image x sigma statistics. More... | |
QVector< Statistics > | rmsImageYSigmas () const |
Returns the list of RMS image y sigma statistics. More... | |
QVector< Statistics > | rmsImageZSigmas () const |
Returns the list of RMS image z sigma statistics. More... | |
QVector< Statistics > | rmsImageRASigmas () const |
Returns the list of RMS image right ascension sigma statistics. More... | |
QVector< Statistics > | rmsImageDECSigmas () const |
Returns the list of RMS image declination sigma statistics. More... | |
QVector< Statistics > | rmsImageTWISTSigmas () 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 BundleObservationVector & | observations () 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... | |
Private Attributes | |
CorrelationMatrix * | m_correlationMatrix |
The correlation matrix from the BundleAdjust. More... | |
int | m_numberFixedPoints |
number of 'fixed' (ground) points (define) More... | |
int | m_numberIgnoredPoints |
number of ignored points More... | |
int | m_numberHeldImages |
number of 'held' images (define) More... | |
double | m_rmsXResiduals |
rms of x residuals More... | |
double | m_rmsYResiduals |
rms of y residuals More... | |
double | m_rmsXYResiduals |
rms of all x and y residuals More... | |
double | m_rejectionLimit |
current rejection limit More... | |
int | m_numberObservations |
number of image coordinate observations More... | |
int | m_numberRejectedObservations |
number of rejected image coordinate observations More... | |
int | m_numberUnknownParameters |
total number of parameters to solve for More... | |
int | m_numberImageParameters |
number of image parameters More... | |
int | m_numberConstrainedImageParameters |
number of constrained image parameters More... | |
int | m_numberConstrainedPointParameters |
number of constrained point parameters More... | |
int | m_numberConstrainedTargetParameters |
number of constrained target parameters More... | |
int | m_degreesOfFreedom |
degrees of freedom More... | |
double | m_sigma0 |
std deviation of unit weight More... | |
double | m_elapsedTime |
elapsed time for bundle More... | |
double | m_elapsedTimeErrorProp |
elapsed time for error propagation More... | |
bool | m_converged |
QVector< BundleControlPointQsp > | m_bundleControlPoints |
The vector of BundleControlPoints from BundleAdjust. More... | |
ControlNetQsp | m_outNet |
The output control net from BundleAdjust. More... | |
int | m_iterations |
The number of iterations taken by BundleAdjust. More... | |
BundleObservationVector | m_observations |
The vector of BundleObservations from BundleAdjust. More... | |
QList< Statistics > | m_rmsImageSampleResiduals |
List of RMS image sample residual statistics for each image in the bundle More... | |
QList< Statistics > | m_rmsImageLineResiduals |
List of RMS image line residual statistics for each image in the bundle More... | |
QList< Statistics > | m_rmsImageResiduals |
RMS image sample and line residual statistics for each image in the bundle More... | |
QVector< Statistics > | m_rmsImageXSigmas |
QVector< Statistics > | m_rmsImageYSigmas |
< The root mean square image y sigmas. More... | |
QVector< Statistics > | m_rmsImageZSigmas |
< The root mean square image z sigmas. More... | |
QVector< Statistics > | m_rmsImageRASigmas |
< The root mean square image right ascension sigmas. More... | |
QVector< Statistics > | m_rmsImageDECSigmas |
< The root mean square image declination sigmas. More... | |
QVector< Statistics > | m_rmsImageTWISTSigmas |
< The root mean square image twist sigmas. More... | |
Distance | m_minSigmaCoord1Distance |
The minimum sigma latitude distance. More... | |
Distance | m_maxSigmaCoord1Distance |
The maximum sigma latitude distance. More... | |
Distance | m_minSigmaCoord2Distance |
The minimum sigma longitude distance. More... | |
Distance | m_maxSigmaCoord2Distance |
The maximum sigma longitude distance. More... | |
Distance | m_minSigmaCoord3Distance |
The minimum sigma radius distance. More... | |
Distance | m_maxSigmaCoord3Distance |
The maximum sigma radius distance. More... | |
QString | m_minSigmaCoord1PointId |
The minimum sigma coordinate 1 point id. More... | |
QString | m_maxSigmaCoord1PointId |
The maximum sigma coordinate 1 point id. More... | |
QString | m_minSigmaCoord2PointId |
The minimum sigma coordinate 2 point id. More... | |
QString | m_maxSigmaCoord2PointId |
The maximum sigma coordinate2 point id. More... | |
QString | m_minSigmaCoord3PointId |
The minimum sigma coordinate 3 point id. More... | |
QString | m_maxSigmaCoord3PointId |
The maximum sigma coordinate 3 point id. More... | |
double | m_rmsSigmaCoord1Stats |
rms of adjusted Latitude sigmas More... | |
double | m_rmsSigmaCoord2Stats |
rms of adjusted Longitude sigmas More... | |
double | m_rmsSigmaCoord3Stats |
rms of adjusted Radius sigmas More... | |
QList< QPair< MaximumLikelihoodWFunctions, double > > | m_maximumLikelihoodFunctions |
< The maximum likelihood models and their quantiles. More... | |
int | m_maximumLikelihoodIndex |
This count keeps track of which stage of the maximum likelihood adjustment the bundle is currently on. More... | |
StatCumProbDistDynCalc * | m_cumPro |
This class will be used to calculate the cumulative probability distribution of |R^2 residuals|, quantiles of this distribution are used to adjust the maximum likelihood functions dynamically iteration by iteration. More... | |
StatCumProbDistDynCalc * | m_cumProRes |
This class keeps track of the cumulative probability distribution of residuals (in unweighted pixels), this is used for reporting, and not for computation. More... | |
double | m_maximumLikelihoodMedianR2Residuals |
Median of R^2 residuals. More... | |
A container class for statistical results from a BundleAdjust solution.
Definition at line 82 of file BundleResults.h.
Isis::BundleResults::BundleResults | ( | QObject * | parent = 0 | ) |
Constructs a BundleResults object.
parent | The Qt-relationship parent. |
Definition at line 48 of file BundleResults.cpp.
References initialize(), initializeResidualsProbabilityDistribution(), m_correlationMatrix, m_cumPro, and m_cumProRes.
Isis::BundleResults::BundleResults | ( | Project * | project, |
XmlStackedHandlerReader * | xmlReader, | ||
QObject * | parent = 0 |
||
) |
Construct this BundleResults object from XML.
bundleSettingsFolder | Where the settings XML for this bundle adjustment resides - /work/.../projectRoot/images/import1 |
xmlReader | An XML reader that's up to a <bundleSettings> tag. |
parent | The Qt-relationship parent. |
Definition at line 71 of file BundleResults.cpp.
References initialize(), and Isis::XmlStackedHandlerReader::pushContentHandler().
Isis::BundleResults::BundleResults | ( | const BundleResults & | src | ) |
Copy constructor for BundleResults.
Creates this BundleResults object as a copy of another BundleResults object.
src | The other BundleResults object to be copied. |
Definition at line 89 of file BundleResults.cpp.
Isis::BundleResults::~BundleResults | ( | ) |
Destroys this BundleResults object.
Definition at line 149 of file BundleResults.cpp.
References m_correlationMatrix, m_cumPro, and m_cumProRes.
void Isis::BundleResults::addProbabilityDistributionObservation | ( | double | observationValue | ) |
Adds an observation to the cumulative probability distribution of |R^2 residuals|.
observationValue | The value of the added observation. |
Definition at line 538 of file BundleResults.cpp.
References Isis::StatCumProbDistDynCalc::addObs(), and m_cumPro.
void Isis::BundleResults::addResidualsProbabilityDistributionObservation | ( | double | observationValue | ) |
Adds an observation to the cumulative probability distribution of residuals used for reporting.
observationValue | The value of the added observation. |
Definition at line 549 of file BundleResults.cpp.
References Isis::StatCumProbDistDynCalc::addObs(), and m_cumProRes.
QVector< BundleControlPointQsp > & Isis::BundleResults::bundleControlPoints | ( | ) |
Returns a reference to the BundleControlPoint vector.
Definition at line 1275 of file BundleResults.cpp.
References m_bundleControlPoints.
Referenced by Isis::BundleSolutionInfo::outputPointsCSV(), Isis::BundleSolutionInfo::outputResiduals(), and Isis::BundleSolutionInfo::outputText().
void Isis::BundleResults::computeDegreesOfFreedom | ( | ) |
Computes the degrees of freedom of the bundle adjustment and stores it internally.
Definition at line 738 of file BundleResults.cpp.
References m_degreesOfFreedom, m_numberConstrainedImageParameters, m_numberConstrainedPointParameters, m_numberConstrainedTargetParameters, m_numberObservations, and m_numberUnknownParameters.
Referenced by computeSigma0().
void Isis::BundleResults::computeSigma0 | ( | double | dvtpv, |
BundleSettings::ConvergenceCriteria | criteria | ||
) |
Computes the sigma0 and stores it internally.
dvtpv | The 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. |
criteria | The convergence criteria for the bundle adjustment. |
IException::Io | "Computed degrees of freedom is invalid." |
Definition at line 758 of file BundleResults.cpp.
References computeDegreesOfFreedom(), Isis::IException::Io, m_degreesOfFreedom, m_sigma0, Isis::BundleSettings::ParameterCorrections, and Isis::toString().
bool Isis::BundleResults::converged | ( | ) | const |
Returns whether or not the bundle adjustment converged.
Definition at line 1265 of file BundleResults.cpp.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), Isis::BundleSolutionInfo::outputText(), save(), and setConverged().
CorrelationMatrix Isis::BundleResults::correlationMatrix | ( | ) | const |
Returns the Correlation Matrix.
IException::Unknown | "Correlation matrix for this bundle is NULL." |
Definition at line 1405 of file BundleResults.cpp.
References m_correlationMatrix, and Isis::IException::Unknown.
Referenced by save(), setCorrMatCovFileName(), and setCorrMatImgsAndParams().
StatCumProbDistDynCalc Isis::BundleResults::cumulativeProbabilityDistribution | ( | ) | const |
Returns the cumulative probability distribution of the |R^2 residuals|.
Definition at line 1343 of file BundleResults.cpp.
References m_cumPro.
int Isis::BundleResults::degreesOfFreedom | ( | ) | const |
Returns the degrees of freedom.
Definition at line 1225 of file BundleResults.cpp.
References m_degreesOfFreedom.
Referenced by save(), and setDegreesOfFreedom().
double Isis::BundleResults::elapsedTime | ( | ) | const |
Returns the elapsed time for the bundle adjustment.
Definition at line 1245 of file BundleResults.cpp.
References m_elapsedTime.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
double Isis::BundleResults::elapsedTimeErrorProp | ( | ) | const |
Returns the elapsed time for error propagation.
Definition at line 1255 of file BundleResults.cpp.
References m_elapsedTimeErrorProp.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
void Isis::BundleResults::incrementFixedPoints | ( | ) |
Increase the number of 'fixed' (ground) points.
Definition at line 566 of file BundleResults.cpp.
References m_numberFixedPoints.
void Isis::BundleResults::incrementHeldImages | ( | ) |
Increases the number of 'held' images.
Definition at line 584 of file BundleResults.cpp.
References m_numberHeldImages.
void Isis::BundleResults::incrementIgnoredPoints | ( | ) |
Increase the number of ignored points.
Definition at line 602 of file BundleResults.cpp.
References m_numberIgnoredPoints.
void Isis::BundleResults::incrementMaximumLikelihoodModelIndex | ( | ) |
Increases the value that indicates which stage the maximum likelihood adjustment is currently on.
Definition at line 558 of file BundleResults.cpp.
References m_maximumLikelihoodIndex.
void Isis::BundleResults::incrementNumberConstrainedImageParameters | ( | int | incrementAmount | ) |
Increase the number of constrained image parameters.
incrementAmount | The amount to increase by. |
Definition at line 702 of file BundleResults.cpp.
References m_numberConstrainedImageParameters.
void Isis::BundleResults::incrementNumberConstrainedPointParameters | ( | int | incrementAmount | ) |
Increase the number of contrained point parameters.
incrementAmount | The amount to increase by. |
Definition at line 684 of file BundleResults.cpp.
References m_numberConstrainedPointParameters.
void Isis::BundleResults::incrementNumberConstrainedTargetParameters | ( | int | incrementAmount | ) |
Increases the number of constrained target parameters.
incrementAmount | The amount to increase by. |
Definition at line 720 of file BundleResults.cpp.
References m_numberConstrainedTargetParameters.
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.
Definition at line 245 of file BundleResults.cpp.
References m_correlationMatrix, m_cumPro, m_cumProRes, m_degreesOfFreedom, m_elapsedTime, m_elapsedTimeErrorProp, m_iterations, m_maximumLikelihoodFunctions, m_maximumLikelihoodIndex, m_maximumLikelihoodMedianR2Residuals, m_maxSigmaCoord1Distance, m_maxSigmaCoord1PointId, m_maxSigmaCoord2Distance, m_maxSigmaCoord2PointId, m_maxSigmaCoord3Distance, m_maxSigmaCoord3PointId, m_minSigmaCoord1Distance, m_minSigmaCoord1PointId, m_minSigmaCoord2Distance, m_minSigmaCoord2PointId, m_minSigmaCoord3Distance, m_minSigmaCoord3PointId, m_numberConstrainedImageParameters, m_numberConstrainedPointParameters, m_numberConstrainedTargetParameters, m_numberFixedPoints, m_numberHeldImages, m_numberIgnoredPoints, m_numberImageParameters, m_numberObservations, m_numberRejectedObservations, m_numberUnknownParameters, m_observations, m_outNet, m_rejectionLimit, m_rmsImageDECSigmas, m_rmsImageLineResiduals, m_rmsImageRASigmas, m_rmsImageResiduals, m_rmsImageSampleResiduals, m_rmsImageTWISTSigmas, m_rmsImageYSigmas, m_rmsImageZSigmas, m_rmsSigmaCoord1Stats, m_rmsSigmaCoord2Stats, m_rmsSigmaCoord3Stats, m_rmsXResiduals, m_rmsXYResiduals, m_rmsYResiduals, m_sigma0, and Isis::Distance::setMeters().
Referenced by BundleResults().
void Isis::BundleResults::initializeProbabilityDistribution | ( | unsigned int | nodes = 20 | ) |
Initializes or resets the cumulative probability distribution of |R^2 residuals|.
nodes | The number of quantiles in the cumulative probability distribution. |
Definition at line 517 of file BundleResults.cpp.
References m_cumPro.
Referenced by maximumLikelihoodSetUp(), and printMaximumLikelihoodTierInformation().
void Isis::BundleResults::initializeResidualsProbabilityDistribution | ( | unsigned int | nodes = 20 | ) |
Initializes or resets the cumulative probability distribution of residuals used for reporting.
nodes | The number of quantiles in the cumulative probability distribution. |
Definition at line 527 of file BundleResults.cpp.
References m_cumProRes.
Referenced by BundleResults(), and maximumLikelihoodSetUp().
int Isis::BundleResults::iterations | ( | ) | const |
Returns the number of iterations taken by the BundleAdjust.
Definition at line 1302 of file BundleResults.cpp.
References m_iterations.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and setIterations().
double Isis::BundleResults::maximumLikelihoodMedianR2Residuals | ( | ) | const |
Returns the median of the |R^2 residuals|.
Definition at line 1363 of file BundleResults.cpp.
References m_maximumLikelihoodMedianR2Residuals.
Referenced by save(), and Isis::BundleResults::XmlHandler::startElement().
int Isis::BundleResults::maximumLikelihoodModelIndex | ( | ) | const |
Returns which step the bundle adjustment is on.
Definition at line 1332 of file BundleResults.cpp.
References m_maximumLikelihoodIndex.
Referenced by save().
double Isis::BundleResults::maximumLikelihoodModelQuantile | ( | int | modelIndex | ) | const |
Returns the quantile of the maximum likelihood model at the given index.
modelIndex | The index of the maximum likelihood model whose quantile will be returned. |
Definition at line 1387 of file BundleResults.cpp.
References m_maximumLikelihoodFunctions.
Referenced by Isis::BundleSolutionInfo::outputHeader().
MaximumLikelihoodWFunctions Isis::BundleResults::maximumLikelihoodModelWFunc | ( | int | modelIndex | ) | const |
Returns the maximum likelihood model at the given index.
modelIndex | The index of the maximum likelihood model to be returned. |
Definition at line 1375 of file BundleResults.cpp.
References m_maximumLikelihoodFunctions.
Referenced by Isis::BundleSolutionInfo::outputHeader().
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.
modelsWithQuantiles | The maixmum likelihood models and their quantiles. If empty, then maximum likelihood estimation will not be used. |
Definition at line 450 of file BundleResults.cpp.
References initializeProbabilityDistribution(), initializeResidualsProbabilityDistribution(), m_cumPro, m_cumProRes, m_maximumLikelihoodFunctions, m_maximumLikelihoodIndex, and m_maximumLikelihoodMedianR2Residuals.
Distance Isis::BundleResults::maxSigmaCoord1Distance | ( | ) | const |
Returns the maximum sigma distance for coordinate 1.
Definition at line 975 of file BundleResults.cpp.
References m_maxSigmaCoord1Distance.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::maxSigmaCoord1PointId | ( | ) | const |
Returns the maximum sigma point id for coordinate 1.
Definition at line 1035 of file BundleResults.cpp.
References m_maxSigmaCoord1PointId.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::maxSigmaCoord2Distance | ( | ) | const |
Returns the maximum sigma distance for coordinate 2.
Definition at line 995 of file BundleResults.cpp.
References m_maxSigmaCoord2Distance.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::maxSigmaCoord2PointId | ( | ) | const |
Returns the maximum sigma point id for coordinate 2.
Definition at line 1055 of file BundleResults.cpp.
References m_maxSigmaCoord2PointId.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::maxSigmaCoord3Distance | ( | ) | const |
Returns the maximum sigma distance for coordinate 3.
Definition at line 1015 of file BundleResults.cpp.
References m_maxSigmaCoord3Distance.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::maxSigmaCoord3PointId | ( | ) | const |
Returns the maximum sigma point id for coordinate 3.
Definition at line 1075 of file BundleResults.cpp.
References m_maxSigmaCoord3PointId.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::minSigmaCoord1Distance | ( | ) | const |
Returns the minimum sigma distance for coordinate 1.
Definition at line 965 of file BundleResults.cpp.
References m_minSigmaCoord1Distance.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::minSigmaCoord1PointId | ( | ) | const |
Returns the minimum sigma point id for coordinate 1.
Definition at line 1025 of file BundleResults.cpp.
References m_minSigmaCoord1PointId.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::minSigmaCoord2Distance | ( | ) | const |
Returns the minimum sigma distance for coordinate 2.
Definition at line 985 of file BundleResults.cpp.
References m_minSigmaCoord2Distance.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::minSigmaCoord2PointId | ( | ) | const |
Returns the minimum sigma point id for coordinate 2.
Definition at line 1045 of file BundleResults.cpp.
References m_minSigmaCoord2PointId.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::minSigmaCoord3Distance | ( | ) | const |
Returns the minimum sigma distance for coordinate 3.
Definition at line 1005 of file BundleResults.cpp.
References m_minSigmaCoord3Distance.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::minSigmaCoord3PointId | ( | ) | const |
Returns the minimum sigma point id for coordinate 3.
Definition at line 1065 of file BundleResults.cpp.
References m_minSigmaCoord3PointId.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
int Isis::BundleResults::numberConstrainedImageParameters | ( | ) | const |
Returns the number of constrained image parameters.
Definition at line 1195 of file BundleResults.cpp.
References m_numberConstrainedImageParameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
int Isis::BundleResults::numberConstrainedPointParameters | ( | ) | const |
Returns the number of constrained point parameters.
Definition at line 1185 of file BundleResults.cpp.
References m_numberConstrainedPointParameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
int Isis::BundleResults::numberConstrainedTargetParameters | ( | ) | const |
Return the number of constrained target parameters.
Definition at line 1205 of file BundleResults.cpp.
References m_numberConstrainedTargetParameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
int Isis::BundleResults::numberFixedPoints | ( | ) | const |
Returns the number of 'fixed' (ground) points.
Definition at line 576 of file BundleResults.cpp.
References m_numberFixedPoints.
Referenced by save().
int Isis::BundleResults::numberHeldImages | ( | ) | const |
Returns the number of 'held' images.
Definition at line 594 of file BundleResults.cpp.
References m_numberHeldImages.
Referenced by save().
int Isis::BundleResults::numberIgnoredPoints | ( | ) | const |
Returns the number of ignored points.
Definition at line 612 of file BundleResults.cpp.
References m_numberIgnoredPoints.
Referenced by save().
int Isis::BundleResults::numberImageParameters | ( | ) | const |
Returns the total number of image parameters.
Definition at line 1175 of file BundleResults.cpp.
References m_numberImageParameters.
Referenced by save().
int Isis::BundleResults::numberMaximumLikelihoodModels | ( | ) | const |
Returns how many maximum likelihood models were used in the bundle adjustment.
Definition at line 1322 of file BundleResults.cpp.
References m_maximumLikelihoodFunctions.
Referenced by printMaximumLikelihoodTierInformation(), and save().
int Isis::BundleResults::numberObservations | ( | ) | const |
Returns the number of observations.
Definition at line 1165 of file BundleResults.cpp.
References m_numberObservations.
Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setNumberObservations().
int Isis::BundleResults::numberRejectedObservations | ( | ) | const |
Returns the number of observation that were rejected.
Definition at line 1155 of file BundleResults.cpp.
References m_numberRejectedObservations.
Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setNumberRejectedObservations().
int Isis::BundleResults::numberUnknownParameters | ( | ) | const |
Returns the number of unknown parameters.
Definition at line 1215 of file BundleResults.cpp.
References m_numberUnknownParameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
const BundleObservationVector & Isis::BundleResults::observations | ( | ) | const |
Returns a reference to the observations used by the BundleAdjust.
Definition at line 1312 of file BundleResults.cpp.
References m_observations.
Referenced by Isis::BundleSolutionInfo::outputHeader(), Isis::BundleSolutionInfo::outputImagesCSV(), Isis::BundleSolutionInfo::outputText(), and setObservations().
BundleResults & Isis::BundleResults::operator= | ( | const BundleResults & | src | ) |
Assignment operator for BundleResults.
Overwrites this BundleResults object with another BundleResults object.
src | The other BundleResults object to be copied from. |
Definition at line 169 of file BundleResults.cpp.
References m_bundleControlPoints, m_correlationMatrix, m_cumPro, m_cumProRes, m_degreesOfFreedom, m_elapsedTime, m_elapsedTimeErrorProp, m_iterations, m_maximumLikelihoodFunctions, m_maximumLikelihoodIndex, m_maximumLikelihoodMedianR2Residuals, m_maxSigmaCoord1Distance, m_maxSigmaCoord1PointId, m_maxSigmaCoord2Distance, m_maxSigmaCoord2PointId, m_maxSigmaCoord3Distance, m_maxSigmaCoord3PointId, m_minSigmaCoord1Distance, m_minSigmaCoord1PointId, m_minSigmaCoord2Distance, m_minSigmaCoord2PointId, m_minSigmaCoord3Distance, m_minSigmaCoord3PointId, m_numberConstrainedImageParameters, m_numberConstrainedPointParameters, m_numberConstrainedTargetParameters, m_numberFixedPoints, m_numberHeldImages, m_numberIgnoredPoints, m_numberImageParameters, m_numberObservations, m_numberRejectedObservations, m_numberUnknownParameters, m_observations, m_outNet, m_rejectionLimit, m_rmsImageDECSigmas, m_rmsImageLineResiduals, m_rmsImageRASigmas, m_rmsImageResiduals, m_rmsImageSampleResiduals, m_rmsImageTWISTSigmas, m_rmsImageYSigmas, m_rmsImageZSigmas, m_rmsSigmaCoord1Stats, m_rmsSigmaCoord2Stats, m_rmsSigmaCoord3Stats, m_rmsXResiduals, m_rmsXYResiduals, m_rmsYResiduals, and m_sigma0.
ControlNetQsp Isis::BundleResults::outputControlNet | ( | ) | const |
Returns a shared pointer to the output control network.
IException::Programmer | "Output Control Network has not been set." |
Definition at line 1287 of file BundleResults.cpp.
References m_outNet, and Isis::IException::Programmer.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::BundleSolutionInfo::outputHeader(), and save().
void Isis::BundleResults::printMaximumLikelihoodTierInformation | ( | ) |
Prints out information about which tier the solution is in and the status of the residuals.
Definition at line 492 of file BundleResults.cpp.
References initializeProbabilityDistribution(), m_cumPro, m_maximumLikelihoodFunctions, m_maximumLikelihoodIndex, m_maximumLikelihoodMedianR2Residuals, numberMaximumLikelihoodModels(), and Isis::StatCumProbDistDynCalc::value().
double Isis::BundleResults::rejectionLimit | ( | ) | const |
Returns the rejection limit.
Definition at line 1145 of file BundleResults.cpp.
References m_rejectionLimit.
Referenced by save(), and setRejectionLimit().
void Isis::BundleResults::resetNumberConstrainedImageParameters | ( | ) |
Resets the number of constrained image parameters to 0.
Definition at line 692 of file BundleResults.cpp.
References m_numberConstrainedImageParameters.
void Isis::BundleResults::resetNumberConstrainedPointParameters | ( | ) |
Resets the number of contrained point parameters to 0.
Definition at line 674 of file BundleResults.cpp.
References m_numberConstrainedPointParameters.
void Isis::BundleResults::resetNumberConstrainedTargetParameters | ( | ) |
Resets the number of constrained target parameters to 0.
Definition at line 710 of file BundleResults.cpp.
References m_numberConstrainedTargetParameters.
StatCumProbDistDynCalc Isis::BundleResults::residualsCumulativeProbabilityDistribution | ( | ) | const |
Returns the cumulative probability distribution of the residuals used for reporting.
Definition at line 1353 of file BundleResults.cpp.
References m_cumProRes.
Referenced by Isis::BundleSolutionInfo::outputHeader().
void Isis::BundleResults::resizeSigmaStatisticsVectors | ( | int | numberImages | ) |
Resizes all image sigma vectors.
numberImages | The new size for the image sigma vectors. |
Definition at line 337 of file BundleResults.cpp.
References m_rmsImageDECSigmas, m_rmsImageRASigmas, m_rmsImageTWISTSigmas, m_rmsImageYSigmas, and m_rmsImageZSigmas.
QVector< Statistics > Isis::BundleResults::rmsImageDECSigmas | ( | ) | const |
Returns the list of RMS image declination sigma statistics.
Definition at line 945 of file BundleResults.cpp.
References m_rmsImageDECSigmas.
Referenced by save().
QList< Statistics > Isis::BundleResults::rmsImageLineResiduals | ( | ) | const |
Returns the list of RMS image line residuals statistics.
Definition at line 885 of file BundleResults.cpp.
References m_rmsImageLineResiduals.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().
QVector< Statistics > Isis::BundleResults::rmsImageRASigmas | ( | ) | const |
Returns the list of RMS image right ascension sigma statistics.
Definition at line 935 of file BundleResults.cpp.
References m_rmsImageRASigmas.
Referenced by save().
QList< Statistics > Isis::BundleResults::rmsImageResiduals | ( | ) | const |
Returns the list of RMS image residuals statistics.
Definition at line 895 of file BundleResults.cpp.
References m_rmsImageResiduals.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().
QList< Statistics > Isis::BundleResults::rmsImageSampleResiduals | ( | ) | const |
Returns the list of RMS image sample residuals statistics.
Definition at line 875 of file BundleResults.cpp.
References m_rmsImageSampleResiduals.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().
QVector< Statistics > Isis::BundleResults::rmsImageTWISTSigmas | ( | ) | const |
Returns the list of RMS image twist sigma statistics.
Definition at line 955 of file BundleResults.cpp.
References m_rmsImageTWISTSigmas.
Referenced by save().
QVector< Statistics > Isis::BundleResults::rmsImageXSigmas | ( | ) | const |
Returns the list of RMS image x sigma statistics.
Definition at line 905 of file BundleResults.cpp.
Referenced by save().
QVector< Statistics > Isis::BundleResults::rmsImageYSigmas | ( | ) | const |
Returns the list of RMS image y sigma statistics.
Definition at line 915 of file BundleResults.cpp.
References m_rmsImageYSigmas.
Referenced by save().
QVector< Statistics > Isis::BundleResults::rmsImageZSigmas | ( | ) | const |
Returns the list of RMS image z sigma statistics.
Definition at line 925 of file BundleResults.cpp.
References m_rmsImageZSigmas.
Referenced by save().
double Isis::BundleResults::rmsRx | ( | ) | const |
Returns the RMS of the x residuals.
Definition at line 1115 of file BundleResults.cpp.
References m_rmsXResiduals.
Referenced by save().
double Isis::BundleResults::rmsRxy | ( | ) | const |
Returns the RMS of the x and y residuals.
Definition at line 1135 of file BundleResults.cpp.
References m_rmsXYResiduals.
Referenced by save().
double Isis::BundleResults::rmsRy | ( | ) | const |
Returns the RMS of the y residuals.
Definition at line 1125 of file BundleResults.cpp.
References m_rmsYResiduals.
Referenced by save().
void Isis::BundleResults::save | ( | QXmlStreamWriter & | stream, |
const Project * | project | ||
) | const |
Saves the BundleResults object to an XML file.
stream | The QXMLStreamWriter that will be used to write out the XML file. |
project | The project that the BundleResults object belongs to. |
Definition at line 1457 of file BundleResults.cpp.
References converged(), correlationMatrix(), degreesOfFreedom(), elapsedTime(), elapsedTimeErrorProp(), Isis::SurfacePoint::Latitudinal, m_maximumLikelihoodFunctions, m_outNet, m_rmsImageDECSigmas, m_rmsImageLineResiduals, m_rmsImageRASigmas, m_rmsImageResiduals, m_rmsImageSampleResiduals, m_rmsImageTWISTSigmas, m_rmsImageYSigmas, m_rmsImageZSigmas, 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().
void Isis::BundleResults::setBundleControlPoints | ( | QVector< BundleControlPointQsp > | controlPoints | ) |
Sets the bundle control point vector.
controlPoints | The vector of BundleControlPointQsps. |
Definition at line 832 of file BundleResults.cpp.
References m_bundleControlPoints.
void Isis::BundleResults::setConverged | ( | bool | converged | ) |
Sets if the bundle adjustment converged.
converged | If the bundle adjustment converged. |
Definition at line 822 of file BundleResults.cpp.
References converged().
void Isis::BundleResults::setCorrMatCovFileName | ( | FileName | name | ) |
Set the covariance file name for the matrix used to calculate the correlation matrix.
name | The name of the file used to store the covariance matrix. |
Definition at line 1422 of file BundleResults.cpp.
References correlationMatrix(), m_correlationMatrix, and Isis::CorrelationMatrix::setCovarianceFileName().
void Isis::BundleResults::setCorrMatImgsAndParams | ( | QMap< QString, QStringList > | imgsAndParams | ) |
Set the images and their associated parameters of the correlation matrix.
imgsAndParams | The QMap with all the images and parameters used for this bundle. |
Definition at line 1433 of file BundleResults.cpp.
References correlationMatrix(), m_correlationMatrix, and Isis::CorrelationMatrix::setImagesAndParameters().
Referenced by Isis::BundleSolutionInfo::outputText().
void Isis::BundleResults::setDegreesOfFreedom | ( | double | degreesOfFreedom | ) |
Sets the degrees of freedom.
degreesOfFreedom | The degrees of freedom. |
Definition at line 782 of file BundleResults.cpp.
References degreesOfFreedom(), and m_degreesOfFreedom.
void Isis::BundleResults::setElapsedTime | ( | double | time | ) |
Sets the elapsed time for the bundle adjustment.
time | The elapsed time. |
Definition at line 802 of file BundleResults.cpp.
References m_elapsedTime.
void Isis::BundleResults::setElapsedTimeErrorProp | ( | double | time | ) |
Sets the elapsed time for error propegation.
time | The elapsed time. |
Definition at line 812 of file BundleResults.cpp.
References m_elapsedTimeErrorProp.
void Isis::BundleResults::setIterations | ( | int | iterations | ) |
Sets the number of iterations taken by the BundleAdjust.
iterations | The number of iterations. |
Definition at line 852 of file BundleResults.cpp.
References iterations(), and m_iterations.
void Isis::BundleResults::setNumberImageParameters | ( | int | numberParameters | ) |
Sets the number of image parameters.
numberParameters | The number of image parameters. |
Definition at line 666 of file BundleResults.cpp.
References m_numberImageParameters.
void Isis::BundleResults::setNumberObservations | ( | int | numberObservations | ) |
Sets the number of observations.
numberObservations | The number of observations. |
Definition at line 656 of file BundleResults.cpp.
References m_numberObservations, and numberObservations().
void Isis::BundleResults::setNumberRejectedObservations | ( | int | numberRejectedObservations | ) |
Sets the number of rejected observations.
numberRejectedObservations | The number of rejected observations. |
Definition at line 646 of file BundleResults.cpp.
References m_numberRejectedObservations, and numberRejectedObservations().
void Isis::BundleResults::setNumberUnknownParameters | ( | int | numberParameters | ) |
Sets the total number of parameters to solve for.
numberParameters | The number of parameters to solve for. |
Definition at line 730 of file BundleResults.cpp.
References m_numberUnknownParameters.
void Isis::BundleResults::setObservations | ( | BundleObservationVector | observations | ) |
Sets the vector of BundleObservations.
observations | The vector of BundleObservations. |
Definition at line 862 of file BundleResults.cpp.
References m_observations, and observations().
void Isis::BundleResults::setOutputControlNet | ( | ControlNetQsp | outNet | ) |
Sets the output ControlNet.
outNet | A QSharedPointer to the output ControlNet. |
Definition at line 842 of file BundleResults.cpp.
References m_outNet.
void Isis::BundleResults::setRejectionLimit | ( | double | rejectionLimit | ) |
Sets the rejection limit.
rejectionLimit | The rejection limit. |
Definition at line 636 of file BundleResults.cpp.
References m_rejectionLimit, and rejectionLimit().
void Isis::BundleResults::setRmsFromSigmaStatistics | ( | double | rmsFromSigmaCoord1Stats, |
double | rmsFromSigmaCoord2Stats, | ||
double | rmsFromSigmaCoord3Stats | ||
) |
Sets the root mean square values of the adjusted sigmas for all three coordinates.
rmsFromSigmaCoord1Stats | The new RMS value of the adjusted coord1 sigmas. |
rmsFromSigmaCoord2Stats | The new RMS value of the adjusted coord2 sigmas. |
rmsFromSigmaCoord3Stats | The new RMS value of the adjusted coord3 sigmas. |
Definition at line 433 of file BundleResults.cpp.
References m_rmsSigmaCoord1Stats, m_rmsSigmaCoord2Stats, and m_rmsSigmaCoord3Stats.
void Isis::BundleResults::setRmsImageResidualLists | ( | QList< Statistics > | rmsImageLineResiduals, |
QList< Statistics > | rmsImageSampleResiduals, | ||
QList< Statistics > | rmsImageResiduals | ||
) |
Sets the root mean square image residual Statistics lists.
rmsImageLineResiduals | The new image line residuals list. |
rmsImageSampleResiduals | The new image sample residuals list. |
rmsImageResiduals | The new image residuals list. |
Definition at line 366 of file BundleResults.cpp.
References m_rmsImageLineResiduals, m_rmsImageResiduals, m_rmsImageSampleResiduals, rmsImageLineResiduals(), rmsImageResiduals(), and rmsImageSampleResiduals().
void Isis::BundleResults::setRmsXYResiduals | ( | double | rx, |
double | ry, | ||
double | rxy | ||
) |
Sets the root mean square of the x and y residuals.
rx | The RMS value of the x residuals. |
ry | The RMS value of the y residuals. |
rxy | The RMS value of both the x and y residuals. |
Definition at line 624 of file BundleResults.cpp.
References m_rmsXResiduals, m_rmsXYResiduals, and m_rmsYResiduals.
void Isis::BundleResults::setSigma0 | ( | double | sigma0 | ) |
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.
minLatDist | The new minimum sigma latitude distance. |
maxLatDist | The new maximum sigma latitude distance. |
minLatPointId | The new minimum sigma latitude point id. |
maxLatPointId | The new maximum sigma latitude point id. |
Definition at line 383 of file BundleResults.cpp.
References m_maxSigmaCoord1Distance, m_maxSigmaCoord1PointId, m_minSigmaCoord1Distance, and m_minSigmaCoord1PointId.
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.
minLonDist | The new minimum sigma longitude distance. |
maxLonDist | The new maximum sigma longitude distance. |
minLonPointId | The new minimum sigma longitude point id. |
maxLonPointId | The new maximum sigma longitude point id. |
Definition at line 400 of file BundleResults.cpp.
References m_maxSigmaCoord2Distance, m_maxSigmaCoord2PointId, m_minSigmaCoord2Distance, and m_minSigmaCoord2PointId.
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.
minRadDist | The new minimum sigma radius distance. |
maxRadDist | The new maximum sigma radius distance. |
minRadPointId | The new minimum sigma radius point id. |
maxRadPointId | The new maximum sigma radius point id. |
Definition at line 417 of file BundleResults.cpp.
References m_maxSigmaCoord3Distance, m_maxSigmaCoord3PointId, m_minSigmaCoord3Distance, and m_minSigmaCoord3PointId.
double Isis::BundleResults::sigma0 | ( | ) | const |
Returns the Sigma0 of the bundle adjustment.
Definition at line 1235 of file BundleResults.cpp.
References m_sigma0.
Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setSigma0().
double Isis::BundleResults::sigmaCoord1StatisticsRms | ( | ) | const |
Returns the RMS of the adjusted sigmas for coordinate 1.
Definition at line 1085 of file BundleResults.cpp.
References m_rmsSigmaCoord1Stats.
Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::BundleSolutionInfo::outputText(), and save().
double Isis::BundleResults::sigmaCoord2StatisticsRms | ( | ) | const |
Returns the RMS of the adjusted sigmas for coordinate 2.
Definition at line 1095 of file BundleResults.cpp.
References m_rmsSigmaCoord2Stats.
Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::BundleSolutionInfo::outputText(), and save().
double Isis::BundleResults::sigmaCoord3StatisticsRms | ( | ) | const |
Returns the RMS of the adjusted sigmas for coordinate 3.
Definition at line 1105 of file BundleResults.cpp.
References m_rmsSigmaCoord3Stats.
Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::BundleSolutionInfo::outputText(), and save().
|
private |
The vector of BundleControlPoints from BundleAdjust.
Equivalent to the output control net minus ignored points and measures. The contained points and members hold pointers to the points and measures in the output control net.
Definition at line 316 of file BundleResults.h.
Referenced by bundleControlPoints(), operator=(), and setBundleControlPoints().
|
private |
The correlation matrix from the BundleAdjust.
Definition at line 287 of file BundleResults.h.
Referenced by BundleResults(), correlationMatrix(), initialize(), operator=(), setCorrMatCovFileName(), setCorrMatImgsAndParams(), and ~BundleResults().
|
private |
This class will be used to calculate the cumulative probability distribution of |R^2 residuals|, quantiles of this distribution are used to adjust the maximum likelihood functions dynamically iteration by iteration.
Definition at line 395 of file BundleResults.h.
Referenced by addProbabilityDistributionObservation(), BundleResults(), cumulativeProbabilityDistribution(), initialize(), initializeProbabilityDistribution(), maximumLikelihoodSetUp(), operator=(), printMaximumLikelihoodTierInformation(), and ~BundleResults().
|
private |
This class keeps track of the cumulative probability distribution of residuals (in unweighted pixels), this is used for reporting, and not for computation.
Definition at line 400 of file BundleResults.h.
Referenced by addResidualsProbabilityDistributionObservation(), BundleResults(), initialize(), initializeResidualsProbabilityDistribution(), maximumLikelihoodSetUp(), operator=(), residualsCumulativeProbabilityDistribution(), and ~BundleResults().
|
private |
degrees of freedom
Definition at line 308 of file BundleResults.h.
Referenced by computeDegreesOfFreedom(), computeSigma0(), degreesOfFreedom(), initialize(), operator=(), and setDegreesOfFreedom().
|
private |
elapsed time for bundle
Definition at line 310 of file BundleResults.h.
Referenced by elapsedTime(), initialize(), operator=(), and setElapsedTime().
|
private |
elapsed time for error propagation
Definition at line 311 of file BundleResults.h.
Referenced by elapsedTimeErrorProp(), initialize(), operator=(), and setElapsedTimeErrorProp().
|
private |
The number of iterations taken by BundleAdjust.
Definition at line 326 of file BundleResults.h.
Referenced by initialize(), iterations(), operator=(), and setIterations().
|
private |
< The maximum likelihood models and their quantiles.
The number of maximum likelihood estimation models. Up to three different models can be used in succession. This class is used to reweight observations in order to achieve more robust parameter estimation, up to three different maximum likelihood estimation models can be used in succession. Quantiles of the |residual| distribution to be used for tweaking constants of the maximum probability models.
Definition at line 379 of file BundleResults.h.
Referenced by initialize(), maximumLikelihoodModelQuantile(), maximumLikelihoodModelWFunc(), maximumLikelihoodSetUp(), numberMaximumLikelihoodModels(), operator=(), printMaximumLikelihoodTierInformation(), and save().
|
private |
This count keeps track of which stage of the maximum likelihood adjustment the bundle is currently on.
Definition at line 392 of file BundleResults.h.
Referenced by incrementMaximumLikelihoodModelIndex(), initialize(), maximumLikelihoodModelIndex(), maximumLikelihoodSetUp(), operator=(), and printMaximumLikelihoodTierInformation().
|
private |
Median of R^2 residuals.
Definition at line 404 of file BundleResults.h.
Referenced by initialize(), maximumLikelihoodMedianR2Residuals(), maximumLikelihoodSetUp(), operator=(), and printMaximumLikelihoodTierInformation().
|
private |
The maximum sigma latitude distance.
Definition at line 357 of file BundleResults.h.
Referenced by initialize(), maxSigmaCoord1Distance(), operator=(), and setSigmaCoord1Range().
|
private |
The maximum sigma coordinate 1 point id.
Definition at line 364 of file BundleResults.h.
Referenced by initialize(), maxSigmaCoord1PointId(), operator=(), and setSigmaCoord1Range().
|
private |
The maximum sigma longitude distance.
Definition at line 359 of file BundleResults.h.
Referenced by initialize(), maxSigmaCoord2Distance(), operator=(), and setSigmaCoord2Range().
|
private |
The maximum sigma coordinate2 point id.
Definition at line 366 of file BundleResults.h.
Referenced by initialize(), maxSigmaCoord2PointId(), operator=(), and setSigmaCoord2Range().
|
private |
The maximum sigma radius distance.
Definition at line 361 of file BundleResults.h.
Referenced by initialize(), maxSigmaCoord3Distance(), operator=(), and setSigmaCoord3Range().
|
private |
The maximum sigma coordinate 3 point id.
Definition at line 368 of file BundleResults.h.
Referenced by initialize(), maxSigmaCoord3PointId(), operator=(), and setSigmaCoord3Range().
|
private |
The minimum sigma latitude distance.
Definition at line 356 of file BundleResults.h.
Referenced by initialize(), minSigmaCoord1Distance(), operator=(), and setSigmaCoord1Range().
|
private |
The minimum sigma coordinate 1 point id.
Definition at line 363 of file BundleResults.h.
Referenced by initialize(), minSigmaCoord1PointId(), operator=(), and setSigmaCoord1Range().
|
private |
The minimum sigma longitude distance.
Definition at line 358 of file BundleResults.h.
Referenced by initialize(), minSigmaCoord2Distance(), operator=(), and setSigmaCoord2Range().
|
private |
The minimum sigma coordinate 2 point id.
Definition at line 365 of file BundleResults.h.
Referenced by initialize(), minSigmaCoord2PointId(), operator=(), and setSigmaCoord2Range().
|
private |
The minimum sigma radius distance.
Definition at line 360 of file BundleResults.h.
Referenced by initialize(), minSigmaCoord3Distance(), operator=(), and setSigmaCoord3Range().
|
private |
The minimum sigma coordinate 3 point id.
Definition at line 367 of file BundleResults.h.
Referenced by initialize(), minSigmaCoord3PointId(), operator=(), and setSigmaCoord3Range().
|
private |
number of constrained image parameters
Definition at line 305 of file BundleResults.h.
Referenced by computeDegreesOfFreedom(), incrementNumberConstrainedImageParameters(), initialize(), numberConstrainedImageParameters(), operator=(), and resetNumberConstrainedImageParameters().
|
private |
number of constrained point parameters
Definition at line 306 of file BundleResults.h.
Referenced by computeDegreesOfFreedom(), incrementNumberConstrainedPointParameters(), initialize(), numberConstrainedPointParameters(), operator=(), and resetNumberConstrainedPointParameters().
|
private |
number of constrained target parameters
Definition at line 307 of file BundleResults.h.
Referenced by computeDegreesOfFreedom(), incrementNumberConstrainedTargetParameters(), initialize(), numberConstrainedTargetParameters(), operator=(), and resetNumberConstrainedTargetParameters().
|
private |
number of 'fixed' (ground) points (define)
Definition at line 289 of file BundleResults.h.
Referenced by incrementFixedPoints(), initialize(), numberFixedPoints(), and operator=().
|
private |
number of 'held' images (define)
Definition at line 292 of file BundleResults.h.
Referenced by incrementHeldImages(), initialize(), numberHeldImages(), and operator=().
|
private |
number of ignored points
Definition at line 291 of file BundleResults.h.
Referenced by incrementIgnoredPoints(), initialize(), numberIgnoredPoints(), and operator=().
|
private |
number of image parameters
Definition at line 304 of file BundleResults.h.
Referenced by initialize(), numberImageParameters(), operator=(), and setNumberImageParameters().
|
private |
number of image coordinate observations
Definition at line 301 of file BundleResults.h.
Referenced by computeDegreesOfFreedom(), initialize(), numberObservations(), operator=(), and setNumberObservations().
|
private |
number of rejected image coordinate observations
Definition at line 302 of file BundleResults.h.
Referenced by initialize(), numberRejectedObservations(), operator=(), and setNumberRejectedObservations().
|
private |
total number of parameters to solve for
Definition at line 303 of file BundleResults.h.
Referenced by computeDegreesOfFreedom(), initialize(), numberUnknownParameters(), operator=(), and setNumberUnknownParameters().
|
private |
The vector of BundleObservations from BundleAdjust.
Definition at line 328 of file BundleResults.h.
Referenced by initialize(), observations(), operator=(), and setObservations().
|
private |
The output control net from BundleAdjust.
Definition at line 324 of file BundleResults.h.
Referenced by initialize(), operator=(), outputControlNet(), save(), and setOutputControlNet().
|
private |
current rejection limit
Definition at line 299 of file BundleResults.h.
Referenced by initialize(), operator=(), rejectionLimit(), and setRejectionLimit().
|
private |
< The root mean square image declination sigmas.
Definition at line 352 of file BundleResults.h.
Referenced by initialize(), operator=(), resizeSigmaStatisticsVectors(), rmsImageDECSigmas(), and save().
|
private |
List of RMS image line residual statistics for each image in the bundle
Definition at line 338 of file BundleResults.h.
Referenced by initialize(), operator=(), rmsImageLineResiduals(), save(), and setRmsImageResidualLists().
|
private |
< The root mean square image right ascension sigmas.
Definition at line 350 of file BundleResults.h.
Referenced by initialize(), operator=(), resizeSigmaStatisticsVectors(), rmsImageRASigmas(), and save().
|
private |
RMS image sample and line residual statistics for each image in the bundle
The root mean square image x sigmas.
Definition at line 340 of file BundleResults.h.
Referenced by initialize(), operator=(), rmsImageResiduals(), save(), and setRmsImageResidualLists().
|
private |
List of RMS image sample residual statistics for each image in the bundle
Definition at line 336 of file BundleResults.h.
Referenced by initialize(), operator=(), rmsImageSampleResiduals(), save(), and setRmsImageResidualLists().
|
private |
< The root mean square image twist sigmas.
Definition at line 354 of file BundleResults.h.
Referenced by initialize(), operator=(), resizeSigmaStatisticsVectors(), rmsImageTWISTSigmas(), and save().
|
private |
< The root mean square image y sigmas.
Definition at line 346 of file BundleResults.h.
Referenced by initialize(), operator=(), resizeSigmaStatisticsVectors(), rmsImageYSigmas(), and save().
|
private |
< The root mean square image z sigmas.
Definition at line 348 of file BundleResults.h.
Referenced by initialize(), operator=(), resizeSigmaStatisticsVectors(), rmsImageZSigmas(), and save().
|
private |
rms of adjusted Latitude sigmas
Definition at line 370 of file BundleResults.h.
Referenced by initialize(), operator=(), setRmsFromSigmaStatistics(), and sigmaCoord1StatisticsRms().
|
private |
rms of adjusted Longitude sigmas
Definition at line 371 of file BundleResults.h.
Referenced by initialize(), operator=(), setRmsFromSigmaStatistics(), and sigmaCoord2StatisticsRms().
|
private |
rms of adjusted Radius sigmas
Definition at line 372 of file BundleResults.h.
Referenced by initialize(), operator=(), setRmsFromSigmaStatistics(), and sigmaCoord3StatisticsRms().
|
private |
rms of x residuals
Definition at line 295 of file BundleResults.h.
Referenced by initialize(), operator=(), rmsRx(), and setRmsXYResiduals().
|
private |
rms of all x and y residuals
Definition at line 297 of file BundleResults.h.
Referenced by initialize(), operator=(), rmsRxy(), and setRmsXYResiduals().
|
private |
rms of y residuals
Definition at line 296 of file BundleResults.h.
Referenced by initialize(), operator=(), rmsRy(), and setRmsXYResiduals().
|
private |
std deviation of unit weight
Definition at line 309 of file BundleResults.h.
Referenced by computeSigma0(), initialize(), operator=(), setSigma0(), and sigma0().