eDSP  0.0.1
A cross-platform DSP library written in C++.
Namespaces | Enumerations | Functions
periodogram.hpp File Reference
#include <edsp/spectral/dft.hpp>
#include <edsp/converter/mag2db.hpp>
#include <edsp/math/numeric.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 edsp
 
 edsp::spectral
 

Enumerations

enum  edsp::spectral::SpectralScale { edsp::spectral::SpectralScale::Linear, edsp::spectral::SpectralScale::Logarithmic }
 The SpectralScale enum represent the scale used to represent the power spectral density. More...
 

Functions

template<typename InputIt , typename OutputIt , typename Allocator = std::allocator<std::complex<meta::value_type_t<OutputIt>>>>
void edsp::spectral::periodogram (InputIt first, InputIt last, OutputIt d_first, SpectralScale scale)
 Computes the periodogram of the range [first, last) and stores the result in another range, beginning at d_first. More...