Elaboradar 0.1
|
◆ normalize_elevations()
template<typename T>
Change the elevations in the PolarScans to match the given elevation vector.
Definizione alla linea 397 del file volume.h. 398 {
399 // Ensure that we have enough standard elevations
401 {
403 LOG_ERROR("normalize_elevations: standard elevation array has %zd elements, but we have %zd scans",
406 }
407 // Ensure that the nudging that we do do not confuse a scan
408 // with another
410 {
411 if (abs(elevations[i] - this->at(i).elevation) > abs(elevations[i] - this->at(i + 1).elevation))
412 {
414 LOG_ERROR("normalize_elevations: elevation %zd (%f) should be set to %f but it would make it closer to the next elevation %f", i, this->at(i).elevation, elevations[i], this->at(i + 1).elevation);
416 }
417 }
418 // Assign the new elevations
421 }
Sequence of PolarScans which can have a different beam count for each elevation. Definition volume.h:264 Referenziato da elaboradar::CUM_BAC::read_sp20_volume(). |