15 #ifndef BORNAGAIN_CORE_INSTRUMENT_SPECTRUMUTILS_H
16 #define BORNAGAIN_CORE_INSTRUMENT_SPECTRUMUTILS_H
30 const std::string& option = {},
31 double threshold = 0.05);
Defines class Histogram2D.
Two dimensional histogram.
Collection of utils for 1D and 2D spectrum processing (background, peaks, ets).
std::vector< std::pair< double, double > > FindPeaks(const Histogram2D &hist, double sigma=2, const std::string &option={}, double threshold=0.05)