Isis 3 Programmer Reference
|
This class is used to modify and manage solve settings for 1 to many BundleObservations. More...
#include <BundleObservationSolveSettings.h>
Public Types | |
enum | CSMSolveOption { NoCSMParameters = 0 , Set = 1 , Type = 2 , List = 3 } |
Options for how to solve for CSM parameters. More... | |
enum | InstrumentPointingSolveOption { NoPointingFactors = 0 , AnglesOnly = 1 , AnglesVelocity = 2 , AnglesVelocityAcceleration = 3 , AllPointingCoefficients = 4 } |
Options for how to solve for instrument pointing. More... | |
enum | InstrumentPositionSolveOption { NoPositionFactors = 0 , PositionOnly = 1 , PositionVelocity = 2 , PositionVelocityAcceleration = 3 , AllPositionCoefficients = 4 } |
Options for how to solve for instrument position. More... | |
Public Member Functions | |
BundleObservationSolveSettings () | |
Constructor with default parameter initializations. | |
BundleObservationSolveSettings (QXmlStreamReader *xmlReader) | |
Construct this BundleObservationSolveSettings object from XML. | |
BundleObservationSolveSettings (FileName xmlFile, QXmlStreamReader *xmlReader) | |
BundleObservationSolveSettings (const BundleObservationSolveSettings &src) | |
Constructs a BundleObservationSolveSettings from another one. | |
BundleObservationSolveSettings (const PvlGroup &scParameterGroup) | |
~BundleObservationSolveSettings () | |
Destructor. | |
BundleObservationSolveSettings & | operator= (const BundleObservationSolveSettings &src) |
Assigns the state of another BundleObservationSolveSettings to this one. | |
void | initialize () |
Initializes the default state of this BundleObservationSolveSettings. | |
void | setInstrumentId (QString instrumentId) |
Sets the instrument id for this observation. | |
QString | instrumentId () const |
Accesses the instrument id for this observation. | |
void | addObservationNumber (QString observationNumber) |
Associates an observation number with these solve settings. | |
bool | removeObservationNumber (QString observationNumber) |
Removes an observation number from this solve settings. | |
QSet< QString > | observationNumbers () const |
Returns a list of observation numbers associated with these solve settings. | |
void | setCSMSolveSet (csm::param::Set set) |
Set the set of CSM parameters to solve for. | |
void | setCSMSolveType (csm::param::Type type) |
Set the type of CSM parameters to solve for. | |
void | setCSMSolveParameterList (QStringList list) |
Set an explicit list of CSM parameters to solve for. | |
CSMSolveOption | csmSolveOption () const |
Get how the CSM parameters to solve for are specified for this observation. | |
csm::param::Set | csmParameterSet () const |
Get the set of CSM parameters to solve for. | |
csm::param::Type | csmParameterType () const |
Get the type of CSM parameters to solve for. | |
QStringList | csmParameterList () const |
Get the list of CSM parameters to solve for. | |
void | setInstrumentPointingSettings (InstrumentPointingSolveOption option, bool solveTwist, int ckDegree=2, int ckSolveDegree=2, bool solvePolynomialOverExisting=false, double anglesAprioriSigma=-1.0, double angularVelocityAprioriSigma=-1.0, double angularAccelerationAprioriSigma=-1.0, QList< double > *additionalPointingSigmas=nullptr) |
Sets the instrument pointing settings. | |
InstrumentPointingSolveOption | instrumentPointingSolveOption () const |
Accesses the instrument pointing solve option. | |
bool | solveTwist () const |
Accesses the flag for solving for twist. | |
int | ckDegree () const |
Accesses the degree of polynomial fit to original camera angles (ckDegree). | |
int | ckSolveDegree () const |
Accesses the degree of the camera angles polynomial being fit to in the bundle adjustment (ckSolveDegree). | |
int | numberCameraAngleCoefficientsSolved () const |
Accesses the number of camera angle coefficients in the solution. | |
bool | solvePolyOverPointing () const |
Whether or not the solve polynomial will be fit over the existing pointing polynomial. | |
QList< double > | aprioriPointingSigmas () const |
Accesses the a priori pointing sigmas. | |
SpiceRotation::Source | pointingInterpolationType () const |
Accesses the SpiceRotation interpolation type for the instrument pointing. | |
void | setInstrumentPositionSettings (InstrumentPositionSolveOption option, int spkDegree=2, int spkSolveDegree=2, bool positionOverHermite=false, double positionAprioriSigma=-1.0, double velocityAprioriSigma=-1.0, double accelerationAprioriSigma=-1.0, QList< double > *additionalPositionSigmas=nullptr) |
Sets the instrument pointing settings. | |
InstrumentPositionSolveOption | instrumentPositionSolveOption () const |
Accesses the instrument position solve option. | |
int | spkDegree () const |
Accesses the degree of the polynomial fit to the original camera position (spkDegree). | |
int | spkSolveDegree () const |
Accesses the degree of thecamera position polynomial being fit to in the bundle adjustment (spkSolveDegree). | |
int | numberCameraPositionCoefficientsSolved () const |
Accesses the number of camera position coefficients in the solution. | |
bool | solvePositionOverHermite () const |
Whether or not the polynomial for solving will be fit over an existing Hermite spline. | |
QList< double > | aprioriPositionSigmas () const |
Accesses the a priori position sigmas. | |
SpicePosition::Source | positionInterpolationType () const |
Accesses the SpicePosition interpolation type for the spacecraft position. | |
void | save (QXmlStreamWriter &stream, const Project *project) const |
Saves this BundleObservationSolveSettings to an xml stream. | |
void | readSolveSettings (QXmlStreamReader *xmlReader) |
Static Public Member Functions | |
static CSMSolveOption | stringToCSMSolveOption (QString option) |
Convert a string to a CSM solve option enumeration value. | |
static QString | csmSolveOptionToString (CSMSolveOption option) |
Convert a CSM solve option enumeration value to a string. | |
static csm::param::Set | stringToCSMSolveSet (QString set) |
Convert a string to its CSM parameter set enumeration value. | |
static QString | csmSolveSetToString (csm::param::Set set) |
Convert a CSM parameter set enumeration value to a string. | |
static csm::param::Type | stringToCSMSolveType (QString type) |
Convert a string to its CSM parameter type enumeration value. | |
static QString | csmSolveTypeToString (csm::param::Type type) |
Convert a CSM parameter type enumeration value to a string. | |
static InstrumentPointingSolveOption | stringToInstrumentPointingSolveOption (QString option) |
Translates a QString InstrumentPointingSolveOption to its enumerated value. | |
static QString | instrumentPointingSolveOptionToString (InstrumentPointingSolveOption option) |
Tranlsates an enumerated InstrumentPointingSolveOption value to its string representation. | |
static InstrumentPositionSolveOption | stringToInstrumentPositionSolveOption (QString option) |
Translates a QString InstrumentPositionSolveOption to its enumerated value. | |
static QString | instrumentPositionSolveOptionToString (InstrumentPositionSolveOption option) |
Translates an enumerated InstrumentPositionSolveOption to its string representation. | |
Public Attributes | |
QUuid * | m_id |
A unique ID for this object (useful for others to reference this object when saving to disk). | |
QString | m_instrumentId |
The spacecraft instrument id for this observation. | |
QSet< QString > | m_observationNumbers |
Associated observation numbers for these settings. | |
CSMSolveOption | m_csmSolveOption |
How the CSM solution is specified. | |
csm::param::Set | m_csmSolveSet |
The CSM parameter set to solve for. | |
csm::param::Type | m_csmSolveType |
The CSM parameter type to solve for. | |
QStringList | m_csmSolveList |
The names of the CSM parameters to solve for. | |
InstrumentPointingSolveOption | m_instrumentPointingSolveOption |
Option for how to solve for instrument pointing. | |
int | m_numberCamAngleCoefSolved |
The number of camera angle coefficients in solution. | |
int | m_ckDegree |
Degree of the polynomial fit to the original camera angles. | |
int | m_ckSolveDegree |
Degree of the camera angles polynomial being fit to in the bundle adjustment. | |
bool | m_solveTwist |
Solve for "twist" angle. | |
bool | m_solvePointingPolynomialOverExisting |
The polynomial will be fit over the existing pointing polynomial. | |
QList< double > | m_anglesAprioriSigma |
The image position a priori sigmas.The size of the list is equal to the number of coefficients in the solution. | |
SpiceRotation::Source | m_pointingInterpolationType |
SpiceRotation interpolation type. | |
InstrumentPositionSolveOption | m_instrumentPositionSolveOption |
Option for how to solve for instrument position. | |
int | m_numberCamPosCoefSolved |
The number of camera position coefficients in the solution. | |
int | m_spkDegree |
Degree of the polynomial fit to the original camera position. | |
int | m_spkSolveDegree |
Degree of the camera position polynomial being fit to in the bundle adjustment. | |
bool | m_solvePositionOverHermiteSpline |
The polynomial will be fit over an existing Hermite spline. | |
QList< double > | m_positionAprioriSigma |
The instrument pointing a priori sigmas. | |
SpicePosition::Source | m_positionInterpolationType |
SpicePosition interpolation types. | |
This class is used to modify and manage solve settings for 1 to many BundleObservations.
These settings indicate how any associated observations should be solved.
2014-07-09 Ken Edmundson - Original version.
2014-07-23 Jeannie Backer - Replace QVectors with QLists. Moved copy constructor above destructor. Moved operator= implementation to cpp file. Added methods to set/get instrument Id. Created setInstrumentPointingSettings() and setInstrumentPositionSettings() methods to check for variable dependencies before setting. Reordered so that all position methods were together and all pointing methods were together. Updated documentation. Added QDataStream >> and << operators and read/write methods. Added unitTest for BundleUtilities BundleObservationSolveSettings class.
2014-07-25 Jeannie Backer - For enums < 4, set solve degrees one less than enum value.
2014-12-02 Jeannie Backer - Undo last modification. While it makes sense, it was causing jigsaw to fail. Brought test coverage of this class to 99.403% scope.
2016-08-03 Jesse Mapel - Added BundleObservationSolveSettingsQsp definition. Fixes #4150.
2016-08-03 Ian Humphrey - Updated documentation and reviewed coding standards. Fixes #4078.
2016-08-18 Jesse Mapel - Changed to no longer inherit from QObject. Fixes #4192.
2016-10-13 Ian Humphrey - Added m_observationNumbers, addObservationNumber(), and observationNumbers() members to associate multiple observation types with these settings. Removed the setFromPvl() method. When re- implemented, it should be put in jigsaw. References #4293.
2017-04-24 Ian Humphrey - Removed pvlObject(). Fixes #4797.
2018-06-21 Ian Humphrey - Added removeObservationNumber() to be able to remove an observation number from a BundleObservationSolveSettings. References #497.
2018-06-26 Tyler Wilson - Added support for adding an arbitrary number of additional apriori sigma values in setInstrumentPositionSettings/ setInstrumentPointingSettings beyond position/velocity/acceleration. References #497.
2019-12-19 Aaron Giroux - Added new constructor to construct a BOSS from a PVLGroup. References #3369.
Figure out why solve degree and num coefficients does not match solve option.
Determine whether xml stuff needs a Project pointer.
Determine which XmlStackedHandlerReader constructor is preferred.
Definition at line 81 of file BundleObservationSolveSettings.h.
Options for how to solve for CSM parameters.
Definition at line 101 of file BundleObservationSolveSettings.h.
Options for how to solve for instrument pointing.
Definition at line 123 of file BundleObservationSolveSettings.h.
Options for how to solve for instrument position.
Definition at line 157 of file BundleObservationSolveSettings.h.
Isis::BundleObservationSolveSettings::BundleObservationSolveSettings | ( | ) |
Constructor with default parameter initializations.
Definition at line 36 of file BundleObservationSolveSettings.cpp.
References initialize().
Isis::BundleObservationSolveSettings::BundleObservationSolveSettings | ( | QXmlStreamReader * | xmlReader | ) |
Construct this BundleObservationSolveSettings object from XML.
bundleSettingsFolder | Where this settings XML resides - /work/.../projectRoot/images/import1 |
xmlReader | An XML reader that's up to an <bundleSettings> tag. |
Definition at line 48 of file BundleObservationSolveSettings.cpp.
References initialize().
Isis::BundleObservationSolveSettings::BundleObservationSolveSettings | ( | const BundleObservationSolveSettings & | other | ) |
Constructs a BundleObservationSolveSettings from another one.
other | The BundleObservationSolveSettings to copy |
Definition at line 260 of file BundleObservationSolveSettings.cpp.
References m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_csmSolveList, m_csmSolveOption, m_csmSolveSet, m_csmSolveType, m_id, m_instrumentId, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_observationNumbers, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, and m_spkSolveDegree.
Isis::BundleObservationSolveSettings::BundleObservationSolveSettings | ( | const PvlGroup & | scParameterGroup | ) |
Definition at line 54 of file BundleObservationSolveSettings.cpp.
Isis::BundleObservationSolveSettings::~BundleObservationSolveSettings | ( | ) |
void Isis::BundleObservationSolveSettings::addObservationNumber | ( | QString | observationNumber | ) |
Associates an observation number with these solve settings.
These solve settings are to be applied to any associated observations.
observationNumber | QString observation number to associate with these settings. |
Definition at line 425 of file BundleObservationSolveSettings.cpp.
References m_observationNumbers.
Referenced by Isis::JigsawSetupDialog::on_applySettingsPushButton_clicked().
QList< double > Isis::BundleObservationSolveSettings::aprioriPointingSigmas | ( | ) | const |
Accesses the a priori pointing sigmas.
Definition at line 941 of file BundleObservationSolveSettings.cpp.
References m_anglesAprioriSigma.
QList< double > Isis::BundleObservationSolveSettings::aprioriPositionSigmas | ( | ) | const |
Accesses the a priori position sigmas.
Definition at line 1181 of file BundleObservationSolveSettings.cpp.
References m_positionAprioriSigma.
int Isis::BundleObservationSolveSettings::ckDegree | ( | ) | const |
Accesses the degree of polynomial fit to original camera angles (ckDegree).
Definition at line 899 of file BundleObservationSolveSettings.cpp.
References m_ckDegree.
Referenced by setInstrumentPointingSettings().
int Isis::BundleObservationSolveSettings::ckSolveDegree | ( | ) | const |
Accesses the degree of the camera angles polynomial being fit to in the bundle adjustment (ckSolveDegree).
Definition at line 910 of file BundleObservationSolveSettings.cpp.
References m_ckSolveDegree.
Referenced by setInstrumentPointingSettings().
QStringList Isis::BundleObservationSolveSettings::csmParameterList | ( | ) | const |
Get the list of CSM parameters to solve for.
Definition at line 691 of file BundleObservationSolveSettings.cpp.
References m_csmSolveList.
csm::param::Set Isis::BundleObservationSolveSettings::csmParameterSet | ( | ) | const |
Get the set of CSM parameters to solve for.
Definition at line 671 of file BundleObservationSolveSettings.cpp.
References m_csmSolveSet.
csm::param::Type Isis::BundleObservationSolveSettings::csmParameterType | ( | ) | const |
Get the type of CSM parameters to solve for.
Definition at line 681 of file BundleObservationSolveSettings.cpp.
References m_csmSolveType.
BundleObservationSolveSettings::CSMSolveOption Isis::BundleObservationSolveSettings::csmSolveOption | ( | ) | const |
Get how the CSM parameters to solve for are specified for this observation.
Definition at line 661 of file BundleObservationSolveSettings.cpp.
References m_csmSolveOption.
|
static |
Convert a CSM solve option enumeration value to a string.
option | The option's enumeration value |
Definition at line 494 of file BundleObservationSolveSettings.cpp.
References List, NoCSMParameters, Isis::IException::Programmer, Set, Isis::toString(), and Type.
|
static |
Convert a CSM parameter set enumeration value to a string.
set | The set's enumeration value |
Definition at line 547 of file BundleObservationSolveSettings.cpp.
References Isis::IException::Programmer, and Isis::toString().
|
static |
Convert a CSM parameter type enumeration value to a string.
type | The type's enumeration value |
Definition at line 600 of file BundleObservationSolveSettings.cpp.
References Isis::IException::Programmer, and Isis::toString().
void Isis::BundleObservationSolveSettings::initialize | ( | ) |
Initializes the default state of this BundleObservationSolveSettings.
Definition at line 355 of file BundleObservationSolveSettings.cpp.
References AnglesOnly, m_csmSolveList, m_csmSolveOption, m_csmSolveSet, m_csmSolveType, m_id, m_instrumentId, NoCSMParameters, NoPositionFactors, setInstrumentPointingSettings(), and setInstrumentPositionSettings().
Referenced by BundleObservationSolveSettings(), and BundleObservationSolveSettings().
QString Isis::BundleObservationSolveSettings::instrumentId | ( | ) | const |
Accesses the instrument id for this observation.
Definition at line 413 of file BundleObservationSolveSettings.cpp.
References m_instrumentId.
Referenced by save(), and setInstrumentId().
BundleObservationSolveSettings::InstrumentPointingSolveOption Isis::BundleObservationSolveSettings::instrumentPointingSolveOption | ( | ) | const |
Accesses the instrument pointing solve option.
Definition at line 879 of file BundleObservationSolveSettings.cpp.
References m_instrumentPointingSolveOption.
|
static |
Tranlsates an enumerated InstrumentPointingSolveOption value to its string representation.
option | Enumerated InstrumentPointingSolveOption value |
IException::Programmer | "Unknown pointing solve option enum." |
Definition at line 761 of file BundleObservationSolveSettings.cpp.
References AllPointingCoefficients, AnglesOnly, AnglesVelocity, AnglesVelocityAcceleration, NoPointingFactors, Isis::IException::Programmer, and Isis::toString().
Referenced by Isis::IsisBundleObservation::applyParameterCorrections(), and save().
BundleObservationSolveSettings::InstrumentPositionSolveOption Isis::BundleObservationSolveSettings::instrumentPositionSolveOption | ( | ) | const |
Accesses the instrument position solve option.
Definition at line 1129 of file BundleObservationSolveSettings.cpp.
References m_instrumentPositionSolveOption.
|
static |
Translates an enumerated InstrumentPositionSolveOption to its string representation.
option | Enumerated InstrumentPositionSolveOption value |
IException::Programmer | "Unknown position solve option enum." |
Definition at line 1021 of file BundleObservationSolveSettings.cpp.
References AllPositionCoefficients, NoPositionFactors, PositionOnly, PositionVelocity, PositionVelocityAcceleration, Isis::IException::Programmer, and Isis::toString().
Referenced by Isis::IsisBundleObservation::applyParameterCorrections(), and save().
int Isis::BundleObservationSolveSettings::numberCameraAngleCoefficientsSolved | ( | ) | const |
Accesses the number of camera angle coefficients in the solution.
Definition at line 920 of file BundleObservationSolveSettings.cpp.
References m_numberCamAngleCoefSolved.
int Isis::BundleObservationSolveSettings::numberCameraPositionCoefficientsSolved | ( | ) | const |
Accesses the number of camera position coefficients in the solution.
Definition at line 1160 of file BundleObservationSolveSettings.cpp.
References m_numberCamPosCoefSolved.
QSet< QString > Isis::BundleObservationSolveSettings::observationNumbers | ( | ) | const |
Returns a list of observation numbers associated with these solve settings.
Definition at line 448 of file BundleObservationSolveSettings.cpp.
References m_observationNumbers.
BundleObservationSolveSettings & Isis::BundleObservationSolveSettings::operator= | ( | const BundleObservationSolveSettings & | other | ) |
Assigns the state of another BundleObservationSolveSettings to this one.
other | The other BundleObservationSolveSettings to assign state from |
Definition at line 311 of file BundleObservationSolveSettings.cpp.
References m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_csmSolveList, m_csmSolveOption, m_csmSolveSet, m_csmSolveType, m_id, m_instrumentId, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_observationNumbers, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, and m_spkSolveDegree.
SpiceRotation::Source Isis::BundleObservationSolveSettings::pointingInterpolationType | ( | ) | const |
Accesses the SpiceRotation interpolation type for the instrument pointing.
Definition at line 951 of file BundleObservationSolveSettings.cpp.
References m_pointingInterpolationType.
SpicePosition::Source Isis::BundleObservationSolveSettings::positionInterpolationType | ( | ) | const |
Accesses the SpicePosition interpolation type for the spacecraft position.
Definition at line 1191 of file BundleObservationSolveSettings.cpp.
References m_positionInterpolationType.
void Isis::BundleObservationSolveSettings::readSolveSettings | ( | QXmlStreamReader * | xmlReader | ) |
Definition at line 1266 of file BundleObservationSolveSettings.cpp.
bool Isis::BundleObservationSolveSettings::removeObservationNumber | ( | QString | observationNumber | ) |
Removes an observation number from this solve settings.
The observation is no longer associated with this solve settings.
QString | observationNumber The observation number to remove from this solve settings. |
Definition at line 438 of file BundleObservationSolveSettings.cpp.
References m_observationNumbers.
void Isis::BundleObservationSolveSettings::save | ( | QXmlStreamWriter & | stream, |
const Project * | project ) const |
Saves this BundleObservationSolveSettings to an xml stream.
stream | A QXmlStreamWriter to write to |
project | Pointer to the current project |
Definition at line 1210 of file BundleObservationSolveSettings.cpp.
References instrumentId(), instrumentPointingSolveOptionToString(), instrumentPositionSolveOptionToString(), Isis::IsSpecial(), m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_id, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, m_spkSolveDegree, and Isis::toString().
void Isis::BundleObservationSolveSettings::setCSMSolveParameterList | ( | QStringList | list | ) |
Set an explicit list of CSM parameters to solve for.
list | The names of the parameters to solve for |
Definition at line 649 of file BundleObservationSolveSettings.cpp.
References List, m_csmSolveList, and m_csmSolveOption.
void Isis::BundleObservationSolveSettings::setCSMSolveSet | ( | csm::param::Set | set | ) |
Set the set of CSM parameters to solve for.
See the CSM API documentation for what the different set values mean.
set | The set to solve for |
Definition at line 627 of file BundleObservationSolveSettings.cpp.
References m_csmSolveOption, m_csmSolveSet, and Set.
void Isis::BundleObservationSolveSettings::setCSMSolveType | ( | csm::param::Type | type | ) |
Set the type of CSM parameters to solve for.
type | The parameter type to solve for |
Definition at line 638 of file BundleObservationSolveSettings.cpp.
References m_csmSolveOption, m_csmSolveType, and Type.
void Isis::BundleObservationSolveSettings::setInstrumentId | ( | QString | instrumentId | ) |
Sets the instrument id for this observation.
instrumentId | QString instrument id |
Definition at line 403 of file BundleObservationSolveSettings.cpp.
References instrumentId(), and m_instrumentId.
void Isis::BundleObservationSolveSettings::setInstrumentPointingSettings | ( | InstrumentPointingSolveOption | option, |
bool | solveTwist, | ||
int | ckDegree = 2, | ||
int | ckSolveDegree = 2, | ||
bool | solvePolynomialOverExisting = false, | ||
double | anglesAprioriSigma = -1.0, | ||
double | angularVelocityAprioriSigma = -1.0, | ||
double | angularAccelerationAprioriSigma = -1.0, | ||
QList< double > * | additionalPointingSigmas = nullptr ) |
Sets the instrument pointing settings.
option | Option for how to solve for instrument pointing |
solveTwist | Whether or not to solve for twist |
ckDegree | |
ckSolveDegree | |
solvePolynomialOverExisting | Indicates whether the polynomial will be fit over an existing pointing polynomial |
anglesAprioriSigma | A priori angle values |
angularVelocityAprioriSigma | A priori angular velocity |
angularAccelerationAprioriSigma | A priori angular acceleration |
Definition at line 787 of file BundleObservationSolveSettings.cpp.
References AllPointingCoefficients, ckDegree(), ckSolveDegree(), m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_instrumentPointingSolveOption, m_numberCamAngleCoefSolved, m_pointingInterpolationType, m_solvePointingPolynomialOverExisting, m_solveTwist, Isis::Null, Isis::SpiceRotation::PolyFunction, Isis::SpiceRotation::PolyFunctionOverSpice, and solveTwist().
Referenced by initialize().
void Isis::BundleObservationSolveSettings::setInstrumentPositionSettings | ( | InstrumentPositionSolveOption | option, |
int | spkDegree = 2, | ||
int | spkSolveDegree = 2, | ||
bool | positionOverHermite = false, | ||
double | positionAprioriSigma = -1.0, | ||
double | velocityAprioriSigma = -1.0, | ||
double | accelerationAprioriSigma = -1.0, | ||
QList< double > * | additionalPositionSigmas = nullptr ) |
Sets the instrument pointing settings.
option | Option for how to solve the instrument position |
spkDegree | |
spkSolveDegree | |
positionOverHermite | Whether or not the polynomial will be fit over an existing Hermite spline |
positionAprioriSigma | A priori position sigma |
velocityAprioriSigma | A priori velocity sigma |
accelerationAprioriSigma | A priori acceleration sigma |
Definition at line 1046 of file BundleObservationSolveSettings.cpp.
References AllPositionCoefficients, m_instrumentPositionSolveOption, m_numberCamPosCoefSolved, m_positionAprioriSigma, m_positionInterpolationType, m_solvePositionOverHermiteSpline, m_spkDegree, m_spkSolveDegree, Isis::Null, Isis::SpicePosition::PolyFunction, Isis::SpicePosition::PolyFunctionOverHermiteConstant, spkDegree(), and spkSolveDegree().
Referenced by initialize().
bool Isis::BundleObservationSolveSettings::solvePolyOverPointing | ( | ) | const |
Whether or not the solve polynomial will be fit over the existing pointing polynomial.
Definition at line 931 of file BundleObservationSolveSettings.cpp.
References m_solvePointingPolynomialOverExisting.
bool Isis::BundleObservationSolveSettings::solvePositionOverHermite | ( | ) | const |
Whether or not the polynomial for solving will be fit over an existing Hermite spline.
Definition at line 1171 of file BundleObservationSolveSettings.cpp.
References m_solvePositionOverHermiteSpline.
bool Isis::BundleObservationSolveSettings::solveTwist | ( | ) | const |
Accesses the flag for solving for twist.
Definition at line 889 of file BundleObservationSolveSettings.cpp.
References m_solveTwist.
Referenced by setInstrumentPointingSettings().
int Isis::BundleObservationSolveSettings::spkDegree | ( | ) | const |
Accesses the degree of the polynomial fit to the original camera position (spkDegree).
Definition at line 1139 of file BundleObservationSolveSettings.cpp.
References m_spkDegree.
Referenced by setInstrumentPositionSettings().
int Isis::BundleObservationSolveSettings::spkSolveDegree | ( | ) | const |
Accesses the degree of thecamera position polynomial being fit to in the bundle adjustment (spkSolveDegree).
Definition at line 1150 of file BundleObservationSolveSettings.cpp.
References m_spkSolveDegree.
Referenced by setInstrumentPositionSettings().
|
static |
Convert a string to a CSM solve option enumeration value.
option | The option as a string |
Definition at line 466 of file BundleObservationSolveSettings.cpp.
References List, NoCSMParameters, Set, Type, and Isis::IException::Unknown.
|
static |
Convert a string to its CSM parameter set enumeration value.
set | The set name |
Definition at line 522 of file BundleObservationSolveSettings.cpp.
References Isis::IException::Unknown.
|
static |
Convert a string to its CSM parameter type enumeration value.
type | The type name |
Definition at line 572 of file BundleObservationSolveSettings.cpp.
References Isis::IException::Unknown.
|
static |
Translates a QString InstrumentPointingSolveOption to its enumerated value.
option | QString representation of the instrument pointing solve option |
IException::Unknown | "Unknown bundle instrument point solve option." |
Definition at line 712 of file BundleObservationSolveSettings.cpp.
References AllPointingCoefficients, AnglesOnly, AnglesVelocity, AnglesVelocityAcceleration, NoPointingFactors, and Isis::IException::Unknown.
|
static |
Translates a QString InstrumentPositionSolveOption to its enumerated value.
option | QString representation of an instrument position solve option |
IExeption::Unknown | "Unknown bundle instrument position solve option." |
Definition at line 972 of file BundleObservationSolveSettings.cpp.
References AllPositionCoefficients, NoPositionFactors, PositionOnly, PositionVelocity, PositionVelocityAcceleration, and Isis::IException::Unknown.
QList<double> Isis::BundleObservationSolveSettings::m_anglesAprioriSigma |
The image position a priori sigmas.The size of the list is equal to the number of coefficients in the solution.
An Isis::Null value implies no weighting will be applied.
Definition at line 217 of file BundleObservationSolveSettings.h.
Referenced by aprioriPointingSigmas(), BundleObservationSolveSettings(), operator=(), save(), and setInstrumentPointingSettings().
int Isis::BundleObservationSolveSettings::m_ckDegree |
Degree of the polynomial fit to the original camera angles.
Definition at line 210 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), ckDegree(), operator=(), save(), and setInstrumentPointingSettings().
int Isis::BundleObservationSolveSettings::m_ckSolveDegree |
Degree of the camera angles polynomial being fit to in the bundle adjustment.
Definition at line 212 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), ckSolveDegree(), operator=(), save(), and setInstrumentPointingSettings().
QStringList Isis::BundleObservationSolveSettings::m_csmSolveList |
The names of the CSM parameters to solve for.
Only valid if the solve option is List.
Definition at line 202 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), csmParameterList(), initialize(), operator=(), and setCSMSolveParameterList().
CSMSolveOption Isis::BundleObservationSolveSettings::m_csmSolveOption |
How the CSM solution is specified.
Definition at line 197 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), csmSolveOption(), initialize(), operator=(), setCSMSolveParameterList(), setCSMSolveSet(), and setCSMSolveType().
csm::param::Set Isis::BundleObservationSolveSettings::m_csmSolveSet |
The CSM parameter set to solve for.
Only valid if the solve option is Set.
Definition at line 198 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), csmParameterSet(), initialize(), operator=(), and setCSMSolveSet().
csm::param::Type Isis::BundleObservationSolveSettings::m_csmSolveType |
The CSM parameter type to solve for.
Only valid if the solve option is Type.
Definition at line 200 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), csmParameterType(), initialize(), operator=(), and setCSMSolveType().
QUuid* Isis::BundleObservationSolveSettings::m_id |
A unique ID for this object (useful for others to reference this object when saving to disk).
Definition at line 192 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), initialize(), operator=(), save(), and ~BundleObservationSolveSettings().
QString Isis::BundleObservationSolveSettings::m_instrumentId |
The spacecraft instrument id for this observation.
Definition at line 193 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), initialize(), instrumentId(), operator=(), and setInstrumentId().
InstrumentPointingSolveOption Isis::BundleObservationSolveSettings::m_instrumentPointingSolveOption |
Option for how to solve for instrument pointing.
Definition at line 207 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), instrumentPointingSolveOption(), operator=(), save(), and setInstrumentPointingSettings().
InstrumentPositionSolveOption Isis::BundleObservationSolveSettings::m_instrumentPositionSolveOption |
Option for how to solve for instrument position.
Definition at line 233 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), instrumentPositionSolveOption(), operator=(), save(), and setInstrumentPositionSettings().
int Isis::BundleObservationSolveSettings::m_numberCamAngleCoefSolved |
The number of camera angle coefficients in solution.
Definition at line 208 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), numberCameraAngleCoefficientsSolved(), operator=(), save(), and setInstrumentPointingSettings().
int Isis::BundleObservationSolveSettings::m_numberCamPosCoefSolved |
The number of camera position coefficients in the solution.
Definition at line 234 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), numberCameraPositionCoefficientsSolved(), operator=(), save(), and setInstrumentPositionSettings().
QSet<QString> Isis::BundleObservationSolveSettings::m_observationNumbers |
Associated observation numbers for these settings.
Definition at line 194 of file BundleObservationSolveSettings.h.
Referenced by addObservationNumber(), BundleObservationSolveSettings(), observationNumbers(), operator=(), and removeObservationNumber().
SpiceRotation::Source Isis::BundleObservationSolveSettings::m_pointingInterpolationType |
SpiceRotation interpolation type.
Defined in SpiceRotation.cpp, these types are: 1) Spice: directly from kernels, 2) Nadir: Nadir pointing, 3) Memcache: from cached table, 4) PolyFunction: from nth degree polynomial, 5) PolyFunctionOverSpice: kernels plus nth degree polynomial.
Definition at line 222 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), pointingInterpolationType(), save(), and setInstrumentPointingSettings().
QList<double> Isis::BundleObservationSolveSettings::m_positionAprioriSigma |
The instrument pointing a priori sigmas.
The size of the list is equal to the number of coefficients in the solution. An Isis:Null value implies no weighting will be applied.
Definition at line 242 of file BundleObservationSolveSettings.h.
Referenced by aprioriPositionSigmas(), BundleObservationSolveSettings(), operator=(), save(), and setInstrumentPositionSettings().
SpicePosition::Source Isis::BundleObservationSolveSettings::m_positionInterpolationType |
SpicePosition interpolation types.
Defined in SpicePosition.cpp, these types are: 1) Spice: read directly from kernels, 2) Memcache: read from cached table, 3) HermiteCache: read from splined table, 4) PolyFunction: calced from nth degree polynomial, 5) PolyFunctionOverHermiteConstant: read from splined table and adding nth degree polynomial.
Definition at line 247 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), positionInterpolationType(), save(), and setInstrumentPositionSettings().
bool Isis::BundleObservationSolveSettings::m_solvePointingPolynomialOverExisting |
The polynomial will be fit over the existing pointing polynomial.
Definition at line 215 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), save(), setInstrumentPointingSettings(), and solvePolyOverPointing().
bool Isis::BundleObservationSolveSettings::m_solvePositionOverHermiteSpline |
The polynomial will be fit over an existing Hermite spline.
Definition at line 240 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), save(), setInstrumentPositionSettings(), and solvePositionOverHermite().
bool Isis::BundleObservationSolveSettings::m_solveTwist |
Solve for "twist" angle.
Definition at line 214 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), save(), setInstrumentPointingSettings(), and solveTwist().
int Isis::BundleObservationSolveSettings::m_spkDegree |
Degree of the polynomial fit to the original camera position.
Definition at line 236 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), save(), setInstrumentPositionSettings(), and spkDegree().
int Isis::BundleObservationSolveSettings::m_spkSolveDegree |
Degree of the camera position polynomial being fit to in the bundle adjustment.
Definition at line 238 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), save(), setInstrumentPositionSettings(), and spkSolveDegree().