MCPcopy Create free account
hub / github.com/DOI-USGS/ISIS3 / GetMaximumResidual

Method GetMaximumResidual

isis/src/control/objs/ControlNet/ControlNet.cpp:1331–1343  ·  view source on GitHub ↗

* Determine the maximum error of all points in the network * @return double Max error of points * * @history 2010-01-12 Tracie Sucharski - Renamed from MaximumError */

Source from the content-addressed store, hash-verified

1329 * @history 2010-01-12 Tracie Sucharski - Renamed from MaximumError
1330 */
1331 double ControlNet::GetMaximumResidual() {
1332 // TODO: Make sure the cameras have been initialized
1333
1334 double maxResidual = 0.0;
1335 foreach(ControlPoint * p, *points) {
1336 double residual = p->GetStatistic(
1337 &ControlMeasure::GetResidualMagnitude).Maximum();
1338 if (residual > maxResidual)
1339 maxResidual = residual;
1340 }
1341
1342 return maxResidual;
1343 }
1344
1345
1346 QString ControlNet::GetNetworkId() const {

Callers 2

solveMethod · 0.45
TEST_FFunction · 0.45

Calls 3

GetStatisticMethod · 0.80
foreachFunction · 0.70
MaximumMethod · 0.45

Tested by 1

TEST_FFunction · 0.36