mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-21 06:13:41 +00:00
consolidated TDR bandpass/lowpass mode, configuration dialog for TDR
This commit is contained in:
parent
2039c8f74d
commit
b8ccca5ebc
14 changed files with 613 additions and 243 deletions
|
|
@ -26,9 +26,11 @@
|
|||
#include <complex>
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace Fft {
|
||||
|
||||
// swap left/right halves of the vector, similar to matlabs fftshift/ifftshift
|
||||
void shift(std::vector<std::complex<double> > &vec, bool inverse);
|
||||
|
||||
/*
|
||||
* Computes the discrete Fourier transform (DFT) of the given complex vector, storing the result back into the vector.
|
||||
* The vector can have any length. This is a wrapper function. The inverse transform does not perform scaling, so it is not a true inverse.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue