33 #ifndef EMANESPECTRUMWINDOWUTILS_HEADER_ 34 #define EMANESPECTRUMWINDOWUTILS_HEADER_ 63 const TimePoint & endTime = TimePoint::min());
81 const TimePoint & startTime = TimePoint::min());
100 std::pair<double,bool>
maxBinNoiseFloor(
const std::vector<double> & noiseData,
101 double dRxSensitivityMilliWatt,
104 std::size_t startBin,
152 #endif //EMANESPECTRUMWINDOWUTILS_HEADER_ SpectrumCompressedRepresentation spectrumCompress(const std::vector< double > &window)
std::tuple< std::vector< double >, TimePoint, Microseconds, double, bool > SpectrumWindow
std::pair< double, bool > maxBinNoiseFloorRange(const SpectrumWindow &window, double dRxPowerdBm, const TimePoint &startTime, const TimePoint &endTime=TimePoint::min())
Microseconds::rep timepointToAbsoluteBin(const TimePoint &timePoint, const Microseconds &binSize, bool bAdjust)
std::vector< std::pair< std::size_t, float > > SpectrumCompressedRepresentation
std::chrono::microseconds Microseconds
std::pair< double, bool > maxBinNoiseFloor(const SpectrumWindow &window, double dRxPowerdBm, const TimePoint &startTime=TimePoint::min())
Clock::time_point TimePoint