1 #ifndef BundleTargetBody_h
2 #define BundleTargetBody_h
27 #include <QSharedPointer>
28 #include <QStringList>
30 #include <boost/numeric/ublas/vector.hpp>
100 Angle aprioriVelocityPoleDec,
Angle sigmaVelocityPoleDec,
126 std::vector<Distance>
radii();
133 QString
formatValue(
double value,
int fieldWidth,
int precision)
const;
179 std::vector<Distance> m_radii;
182 std::vector<Angle> m_raPole;
183 std::vector<Angle> m_decPole;
184 std::vector<Angle> m_pm ;
186 std::set<int> m_parameterSolveCodes;
201 #endif // BundleTargetBody_h
Definition: BundleTargetBody.h:94
This class is used to represent a target body in a bundle and how to solve for it.
Definition: BundleTargetBody.h:63
bool solvePoleRAVelocity()
If the pole right ascension velocity will be solved for with this target body.
Definition: BundleTargetBody.cpp:439
LinearAlgebra::Vector & aprioriSigmas()
Returns the vector of apriori parameters sigmas.
Definition: BundleTargetBody.cpp:761
static QString targetRadiiOptionToString(TargetRadiiSolveMethod targetRadiiSolveMethod)
Converts a TargetRadiiSolveMethod to a QString.
Definition: BundleTargetBody.cpp:701
QString formatRadiusAdjustedSigmaString(int fieldWidth, int precision) const
TargetSolveCodes
Enumeration that defines what BundleTargetBody can solve for.
Definition: BundleTargetBody.h:82
Distance localRadius(const Latitude &lat, const Longitude &lon)
Gets the local radius for the given latitude/longitude coordinate.
Definition: BundleTargetBody.cpp:1682
QString formatPolePositionAdjustedSigmaString(int fieldWidth, int precision) const
QString formatBundleOutputString(bool errorPropagation)
Formats and returns the parameter values as a QString.
Definition: BundleTargetBody.cpp:958
Definition: BundleTargetBody.h:84
Definition: BundleTargetBody.h:82
bool solvePM()
If the prime meridian angle will be solved for with this target body.
Definition: BundleTargetBody.cpp:499
QSharedPointer< BundleTargetBody > BundleTargetBodyQsp
Definition for BundleTargetBodyQsp, a QSharedPointer to a BundleTargetBody.
Definition: BundleTargetBody.h:198
QStringList parameterList()
Returns a list of all the parameters being solved for as QStrings.
Definition: BundleTargetBody.cpp:1108
Definition: BundleTargetBody.h:87
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:59
Distance meanRadius()
Returns the mean radius.
Definition: BundleTargetBody.cpp:915
QString formatAprioriSigmaString(int type, int fieldWidth, int precision) const
Definition: BundleTargetBody.h:90
bool solvePoleRA()
If the pole right ascension angle will be solved for with this target body.
Definition: BundleTargetBody.cpp:427
static TargetRadiiSolveMethod stringToTargetRadiiOption(QString option)
Converts a QString to a TargetRadiiSolveMethod.
Definition: BundleTargetBody.cpp:673
QString formatRadiusAprioriSigmaString(int fieldWidth, int precision) const
bool readFromPvl(PvlObject &tbPvlObject)
Set bundle solve parameters for target body from a pvl file.
Definition: BundleTargetBody.cpp:1172
Solve for all radii.
Definition: BundleTargetBody.h:78
int numberRadiusParameters()
Returns the number of radius parameters being solved for.
Definition: BundleTargetBody.cpp:815
LinearAlgebra::Vector & parameterWeights()
Returns the vector of parameter weights.
Definition: BundleTargetBody.cpp:722
bool solvePoleDec()
If the pole declination angle will be solved for with this target body.
Definition: BundleTargetBody.cpp:463
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Distance measurement, usually in meters.
Definition: Distance.h:47
Definition: BundleTargetBody.h:89
LinearAlgebra::Vector & adjustedSigmas()
Returns the vector of adjusted parameters sigmas.
Definition: BundleTargetBody.cpp:774
LinearAlgebra::Vector & parameterSolution()
Returns the vector of parameters solution.
Definition: BundleTargetBody.cpp:748
QString formatW0AprioriSigmaString(int fieldWidth, int precision) const
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:52
QString formatWDotAprioriSigmaString(int fieldWidth, int precision) const
void applyParameterCorrections(LinearAlgebra::Vector corrections)
Applies a vector of corrections to the parameters for the target body.
Definition: BundleTargetBody.cpp:572
boost::numeric::ublas::vector< double > Vector
Definition for an Isis::LinearAlgebra::Vector of doubles.
Definition: LinearAlgebra.h:124
Definition: BundleTargetBody.h:86
bool solvePMVelocity()
If the prime meridian velocity will be solved for with this target body.
Definition: BundleTargetBody.cpp:511
QString formatWDotAdjustedSigmaString(int fieldWidth, int precision) const
QString formatValue(double value, int fieldWidth, int precision) const
std::vector< Angle > pmCoefs()
Returns the coefficients of the prime meridian polynomial.
Definition: BundleTargetBody.cpp:883
Solve for mean radius.
Definition: BundleTargetBody.h:77
BundleTargetBody()
Creates an empty BundleTargetBody object.
Definition: BundleTargetBody.cpp:18
Definition: BundleTargetBody.h:88
QString formatPolePositionAprioriSigmaString(int fieldWidth, int precision) const
TargetRadiiSolveMethod
Enumeration that defines how to solve for target radii.
Definition: BundleTargetBody.h:75
bool solvePoleRAAcceleration()
If the pole right ascension acceleration will be solved for with this target body.
Definition: BundleTargetBody.cpp:451
BundleTargetBody & operator=(const BundleTargetBody &src)
Assignment operator.
Definition: BundleTargetBody.cpp:117
void setSolveSettings(std::set< int > targetParameterSolveCodes, Angle aprioriPoleRA, Angle sigmaPoleRA, Angle aprioriVelocityPoleRA, Angle sigmaVelocityPoleRA, Angle aprioriPoleDec, Angle sigmaPoleDec, Angle aprioriVelocityPoleDec, Angle sigmaVelocityPoleDec, Angle aprioriPM, Angle sigmaPM, Angle aprioriVelocityPM, Angle sigmaVelocityPM, TargetRadiiSolveMethod solveRadiiMethod, Distance aprioriRadiusA, Distance sigmaRadiusA, Distance aprioriRadiusB, Distance sigmaRadiusB, Distance aprioriRadiusC, Distance sigmaRadiusC, Distance aprioriMeanRadius, Distance sigmaMeanRadius)
Sets the solve settings for the target body.
Definition: BundleTargetBody.cpp:207
double vtpv()
Calculates and returns the weighted sum of the squares of the corrections.
Definition: BundleTargetBody.cpp:935
This class is used to create and store valid Isis3 targets.
Definition: Target.h:63
Defines an angle and provides unit conversions.
Definition: Angle.h:58
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Solve for none.
Definition: BundleTargetBody.h:76
Definition: BundleTargetBody.h:93
Definition: BundleTargetBody.h:91
bool solvePMAcceleration()
If the prime meridian acceleration will be solved for with this target body.
Definition: BundleTargetBody.cpp:523
bool solvePoleDecVelocity()
If the pole declination velocity will be solved for with this target body.
Definition: BundleTargetBody.cpp:475
int numberParameters()
Returns the total number of parameters being solved for.
Definition: BundleTargetBody.cpp:829
bool solveMeanRadius()
If the mean radius will be solved for with this target body.
Definition: BundleTargetBody.cpp:549
Definition: BundleTargetBody.h:83
bool solveTriaxialRadii()
If the triaxial radii will be solved for with this target body.
Definition: BundleTargetBody.cpp:535
~BundleTargetBody()
Destructor.
Definition: BundleTargetBody.cpp:108
Definition: BundleTargetBody.h:92
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
bool solvePoleDecAcceleration()
If the pole declination acceleration will be solved for with this target body.
Definition: BundleTargetBody.cpp:487
std::vector< Angle > poleRaCoefs()
Returns the coefficients of the right ascension polynomial.
Definition: BundleTargetBody.cpp:847
LinearAlgebra::Vector & parameterCorrections()
Returns the vector of corrections applied to the parameters.
Definition: BundleTargetBody.cpp:735
QString formatW0AdjustedSigmaString(int fieldWidth, int precision) const
std::vector< Distance > radii()
Returns the radius values.
Definition: BundleTargetBody.cpp:898
Definition: BundleTargetBody.h:85
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
std::vector< Angle > poleDecCoefs()
Returns the coefficients of the declination polynomial.
Definition: BundleTargetBody.cpp:865