3.3.4.14. Function ComputeFFTFreq¶
- Defined in File numeric.h
3.3.4.14.1. Function Documentation¶
-
std::vector<double>
sirius::utils::ComputeFFTFreq(int n_samples, bool half = true)¶ Compute frequencies for which fft will be calculated.
- Return
- frequencies to be calculated
- Parameters
n_samples: width of the spatial signal (expected to be odd)half: decide to return only half the frequencies