Helios++
Helios software for LiDAR simulations
WaveMaths.h
1 #pragma once
2 
3 #include <cmath>
4 #include <maths/MathConstants.h>
5 
6 #include <vector>
7 
13 class WaveMaths{
14 private:
15  // *** STATIC CLASS *** //
16  // ********************** //
17  WaveMaths() {};
18  virtual ~WaveMaths() = 0;
19 
20 public:
21  // *** T I M E *** //
22  // ******************* //
56  static int calcPropagationTimeLegacy(
57  std::vector<double> &timeWave,
58  int const numBins,
59  double const binSize,
60  double const pulseLength,
61  double const pulseLengthDivisor
62  );
63 };
Some common mathematical operatiosn concerning the full waveform.
Definition: WaveMaths.h:13
static int calcPropagationTimeLegacy(std::vector< double > &timeWave, int const numBins, double const binSize, double const pulseLength, double const pulseLengthDivisor)
Compute propagation time, thus obtaining the intensity peak index and populating the time wave vector...
Definition: WaveMaths.cpp:6