Isis 3 Developer Reference
|
A container class for statistical results from a BundleAdjust solution. More...
#include <BundleResults.h>
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... | |
A container class for statistical results from a BundleAdjust solution.
Isis::BundleResults::BundleResults | ( | QObject * | parent = 0 | ) |
Constructs a BundleResults object.
parent | The Qt-relationship parent. |
References initialize(), and initializeResidualsProbabilityDistribution().
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. |
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. |
Isis::BundleResults::~BundleResults | ( | ) |
Destroys this BundleResults object.
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. |
References Isis::StatCumProbDistDynCalc::addObs().
void Isis::BundleResults::addProbabilityDistributionObservation | ( | double | obsValue, |
bool | residuals | ||
) |
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. |
References Isis::StatCumProbDistDynCalc::addObs().
QVector< BundleControlPointQsp > & Isis::BundleResults::bundleControlPoints | ( | ) |
Returns a reference to the BundleControlPoint vector.
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.
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." |
References _FILEINFO_, computeDegreesOfFreedom(), Isis::IException::Io, Isis::BundleSettings::ParameterCorrections, and Isis::toString().
bool Isis::BundleResults::converged | ( | ) | const |
Returns whether or not the bundle adjustment converged.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), Isis::BundleSolutionInfo::outputText(), save(), and setConverged().
SurfacePoint::CoordinateType Isis::BundleResults::coordTypeReports | ( | ) |
References Isis::SurfacePoint::Latitudinal, and outputControlNet().
CorrelationMatrix Isis::BundleResults::correlationMatrix | ( | ) | const |
Returns the Correlation Matrix.
IException::Unknown | "Correlation matrix for this bundle is NULL." |
References _FILEINFO_, 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|.
int Isis::BundleResults::degreesOfFreedom | ( | ) | const |
Returns the degrees of freedom.
Referenced by save(), and setDegreesOfFreedom().
double Isis::BundleResults::elapsedTime | ( | ) | const |
Returns the elapsed time for the bundle adjustment.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
double Isis::BundleResults::elapsedTimeErrorProp | ( | ) | const |
Returns the elapsed time for error propagation.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
void Isis::BundleResults::incrementFixedPoints | ( | ) |
Increase the number of 'fixed' (ground) points.
void Isis::BundleResults::incrementHeldImages | ( | ) |
Increases the number of 'held' images.
void Isis::BundleResults::incrementIgnoredPoints | ( | ) |
Increase the number of ignored points.
void Isis::BundleResults::incrementMaximumLikelihoodModelIndex | ( | ) |
Increases the value that indicates which stage the maximum likelihood adjustment is currently on.
void Isis::BundleResults::incrementNumberConstrainedImageParameters | ( | int | incrementAmount | ) |
Increase the number of constrained image parameters.
incrementAmount | The amount to increase by. |
void Isis::BundleResults::incrementNumberConstrainedPointParameters | ( | int | incrementAmount | ) |
Increase the number of contrained point parameters.
incrementAmount | The amount to increase by. |
void Isis::BundleResults::incrementNumberConstrainedTargetParameters | ( | int | incrementAmount | ) |
Increases the number of constrained target parameters.
incrementAmount | The amount to increase by. |
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().
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. |
References Isis::StatCumProbDistDynCalc::setQuantiles().
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. |
References Isis::StatCumProbDistDynCalc::setQuantiles().
Referenced by BundleResults(), and maximumLikelihoodSetUp().
int Isis::BundleResults::iterations | ( | ) | const |
Returns the number of iterations taken by the BundleAdjust.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and setIterations().
double Isis::BundleResults::maximumLikelihoodMedianR2Residuals | ( | ) | const |
Returns the median of the |R^2 residuals|.
Referenced by save().
int Isis::BundleResults::maximumLikelihoodModelIndex | ( | ) | const |
Returns which step the bundle adjustment is on.
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. |
Referenced by Isis::BundleSolutionInfo::outputHeader().
QList< QPair< MaximumLikelihoodWFunctions, double > > Isis::BundleResults::maximumLikelihoodModels | ( | ) | const |
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. |
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. |
References initializeProbabilityDistribution(), and initializeResidualsProbabilityDistribution().
Distance Isis::BundleResults::maxSigmaCoord1Distance | ( | ) | const |
Returns the maximum sigma distance for coordinate 1.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::maxSigmaCoord1PointId | ( | ) | const |
Returns the maximum sigma point id for coordinate 1.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::maxSigmaCoord2Distance | ( | ) | const |
Returns the maximum sigma distance for coordinate 2.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::maxSigmaCoord2PointId | ( | ) | const |
Returns the maximum sigma point id for coordinate 2.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::maxSigmaCoord3Distance | ( | ) | const |
Returns the maximum sigma distance for coordinate 3.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::maxSigmaCoord3PointId | ( | ) | const |
Returns the maximum sigma point id for coordinate 3.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::minSigmaCoord1Distance | ( | ) | const |
Returns the minimum sigma distance for coordinate 1.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::minSigmaCoord1PointId | ( | ) | const |
Returns the minimum sigma point id for coordinate 1.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::minSigmaCoord2Distance | ( | ) | const |
Returns the minimum sigma distance for coordinate 2.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::minSigmaCoord2PointId | ( | ) | const |
Returns the minimum sigma point id for coordinate 2.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
Distance Isis::BundleResults::minSigmaCoord3Distance | ( | ) | const |
Returns the minimum sigma distance for coordinate 3.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
QString Isis::BundleResults::minSigmaCoord3PointId | ( | ) | const |
Returns the minimum sigma point id for coordinate 3.
Referenced by Isis::BundleSolutionInfo::outputText(), and save().
int Isis::BundleResults::numberConstrainedImageParameters | ( | ) | const |
Returns the number of constrained image parameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
int Isis::BundleResults::numberConstrainedPointParameters | ( | ) | const |
Returns the number of constrained point parameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
int Isis::BundleResults::numberConstrainedTargetParameters | ( | ) | const |
Return the number of constrained target parameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
int Isis::BundleResults::numberFixedPoints | ( | ) | const |
Returns the number of 'fixed' (ground) points.
Referenced by save().
int Isis::BundleResults::numberHeldImages | ( | ) | const |
int Isis::BundleResults::numberIgnoredPoints | ( | ) | const |
Returns the number of ignored points.
Referenced by save().
int Isis::BundleResults::numberImageParameters | ( | ) | const |
Returns the total number of image parameters.
Referenced by save().
int Isis::BundleResults::numberMaximumLikelihoodModels | ( | ) | const |
Returns how many maximum likelihood models were used in the bundle adjustment.
Referenced by printMaximumLikelihoodTierInformation(), and save().
int Isis::BundleResults::numberObservations | ( | ) | const |
Returns the number of observations.
Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setNumberObservations().
int Isis::BundleResults::numberRejectedObservations | ( | ) | const |
Returns the number of observation that were rejected.
Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setNumberRejectedObservations().
int Isis::BundleResults::numberUnknownParameters | ( | ) | const |
Returns the number of unknown parameters.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and save().
const BundleObservationVector & Isis::BundleResults::observations | ( | ) | const |
Returns a reference to the observations used by the BundleAdjust.
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. |
ControlNetQsp Isis::BundleResults::outputControlNet | ( | ) | const |
Returns a shared pointer to the output control network.
IException::Programmer | "Output Control Network has not been set." |
References _FILEINFO_, and Isis::IException::Programmer.
Referenced by coordTypeReports(), 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.
References initializeProbabilityDistribution(), numberMaximumLikelihoodModels(), and Isis::StatCumProbDistDynCalc::value().
double Isis::BundleResults::rejectionLimit | ( | ) | const |
Returns the rejection limit.
Referenced by save(), and setRejectionLimit().
void Isis::BundleResults::resetNumberConstrainedImageParameters | ( | ) |
Resets the number of constrained image parameters to 0.
void Isis::BundleResults::resetNumberConstrainedPointParameters | ( | ) |
Resets the number of contrained point parameters to 0.
void Isis::BundleResults::resetNumberConstrainedTargetParameters | ( | ) |
Resets the number of constrained target parameters to 0.
StatCumProbDistDynCalc Isis::BundleResults::residualsCumulativeProbabilityDistribution | ( | ) | const |
Returns the cumulative probability distribution of the residuals used for reporting.
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. |
QVector< Statistics > Isis::BundleResults::rmsImageDECSigmas | ( | ) | const |
Returns the list of RMS image declination sigma statistics.
Referenced by save().
QList< Statistics > Isis::BundleResults::rmsImageLineResiduals | ( | ) | const |
Returns the list of RMS image line residuals statistics.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().
QVector< Statistics > Isis::BundleResults::rmsImageRASigmas | ( | ) | const |
Returns the list of RMS image right ascension sigma statistics.
Referenced by save().
QList< Statistics > Isis::BundleResults::rmsImageResiduals | ( | ) | const |
Returns the list of RMS image residuals statistics.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().
QList< Statistics > Isis::BundleResults::rmsImageSampleResiduals | ( | ) | const |
Returns the list of RMS image sample residuals statistics.
Referenced by Isis::BundleSolutionInfo::outputImagesCSV(), save(), and setRmsImageResidualLists().
QVector< Statistics > Isis::BundleResults::rmsImageTWISTSigmas | ( | ) | const |
Returns the list of RMS image twist sigma statistics.
Referenced by save().
QVector< Statistics > Isis::BundleResults::rmsImageXSigmas | ( | ) | const |
Returns the list of RMS image x sigma statistics.
Referenced by save().
QVector< Statistics > Isis::BundleResults::rmsImageYSigmas | ( | ) | const |
Returns the list of RMS image y sigma statistics.
Referenced by save().
QVector< Statistics > Isis::BundleResults::rmsImageZSigmas | ( | ) | const |
Returns the list of RMS image z sigma statistics.
Referenced by save().
double Isis::BundleResults::rmsRx | ( | ) | const |
double Isis::BundleResults::rmsRxy | ( | ) | const |
Returns the RMS of the x and y residuals.
Referenced by save().
double Isis::BundleResults::rmsRy | ( | ) | const |
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. |
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().
void Isis::BundleResults::setBundleControlPoints | ( | QVector< BundleControlPointQsp > | controlPoints | ) |
Sets the bundle control point vector.
controlPoints | The vector of BundleControlPointQsps. |
void Isis::BundleResults::setConverged | ( | bool | converged | ) |
Sets if the bundle adjustment converged.
converged | If the bundle adjustment converged. |
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. |
References 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. |
References 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. |
References degreesOfFreedom().
void Isis::BundleResults::setElapsedTime | ( | double | time | ) |
Sets the elapsed time for the bundle adjustment.
time | The elapsed time. |
void Isis::BundleResults::setElapsedTimeErrorProp | ( | double | time | ) |
Sets the elapsed time for error propegation.
time | The elapsed time. |
void Isis::BundleResults::setIterations | ( | int | iterations | ) |
Sets the number of iterations taken by the BundleAdjust.
iterations | The number of iterations. |
References iterations().
bool Isis::BundleResults::setNumberHeldImages | ( | SerialNumberList | pHeldSnList, |
SerialNumberList * | pSnList | ||
) |
void Isis::BundleResults::setNumberImageParameters | ( | int | numberParameters | ) |
Sets the number of image parameters.
numberParameters | The number of image parameters. |
void Isis::BundleResults::setNumberObservations | ( | int | numberObservations | ) |
Sets the number of observations.
numberObservations | The number of observations. |
References numberObservations().
void Isis::BundleResults::setNumberRejectedObservations | ( | int | numberRejectedObservations | ) |
Sets the number of rejected observations.
numberRejectedObservations | The number of rejected observations. |
References numberRejectedObservations().
void Isis::BundleResults::setNumberUnknownParameters | ( | int | numberParameters | ) |
Sets the total number of parameters to solve for.
numberParameters | The number of parameters to solve for. |
void Isis::BundleResults::setObservations | ( | BundleObservationVector | observations | ) |
Sets the vector of BundleObservations.
observations | The vector of BundleObservations. |
References observations().
void Isis::BundleResults::setOutputControlNet | ( | ControlNetQsp | outNet | ) |
Sets the output ControlNet.
outNet | A QSharedPointer to the output ControlNet. |
void Isis::BundleResults::setRejectionLimit | ( | double | rejectionLimit | ) |
Sets the rejection limit.
rejectionLimit | The rejection limit. |
References 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. |
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. |
References rmsImageLineResiduals(), rmsImageResiduals(), and rmsImageSampleResiduals().
void Isis::BundleResults::setRmsImageResidualLists | ( | QVector< Statistics > | rmsImageLineResiduals, |
QVector< Statistics > | rmsImageSampleResiduals, | ||
QVector< Statistics > | rmsImageResiduals | ||
) |
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. |
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. |
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. |
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. |
double Isis::BundleResults::sigma0 | ( | ) | const |
Returns the Sigma0 of the bundle adjustment.
Referenced by Isis::BundleSolutionInfo::outputHeader(), save(), and setSigma0().
double Isis::BundleResults::sigmaCoord1StatisticsRms | ( | ) | const |
Returns the RMS of the adjusted sigmas for coordinate 1.
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.
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.
Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::BundleSolutionInfo::outputText(), and save().