diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2019-03-12 21:38:14 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2019-03-26 14:30:09 +0100 |
commit | 88b52d4ecc908a817211a5beb908df378cbf5fae (patch) | |
tree | 9a62329e46388539ca66340aec60ce8189e8540d /sc/inc/scfuncs.hrc | |
parent | 3189d366497419d637042c12824601590542b2f1 (diff) |
tdf#74664: FOURIER: add 5th optional parameter MinimumMagnitude
This parameter is used only if Polar=TRUE.
All frequency components with magnitude less than MinimumMagnitude
will be suppressed with a zero magnitude-phase entry.
This is very useful when looking at the magnitude-phase spectrum
of a signal because there is always some very tiny amount of rounding
error when doing FFT algorithms and results in incorrect non-zero
phase for non-existent frequencies. By providing a suitable value to
this parameter, these non-existent frequency components can be filtered
out. By default the value of this 5th parameter is 0.0, so *no*
suppression is done by default.
Change-Id: I422ad1bf91f42b320e98e58a19c99bf8528e4708
Reviewed-on: https://gerrit.libreoffice.org/69471
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc/inc/scfuncs.hrc')
-rw-r--r-- | sc/inc/scfuncs.hrc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/scfuncs.hrc b/sc/inc/scfuncs.hrc index f0f06eee6427..e17eb9250c65 100644 --- a/sc/inc/scfuncs.hrc +++ b/sc/inc/scfuncs.hrc @@ -4129,7 +4129,9 @@ const char* SC_OPCODE_FOURIER_ARY[] = NC_("SC_OPCODE_FOURIER", "Inverse"), NC_("SC_OPCODE_FOURIER", "Flag to indicate whether an inverse DFT is to be computed (default FALSE)."), NC_("SC_OPCODE_FOURIER", "Polar"), - NC_("SC_OPCODE_FOURIER", "Flag to indicate whether to return the results in polar form (default FALSE).") + NC_("SC_OPCODE_FOURIER", "Flag to indicate whether to return the results in polar form (default FALSE)."), + NC_("SC_OPCODE_FOURIER", "MinimumMagnitude"), + NC_("SC_OPCODE_FOURIER", "In case of Polar=TRUE, the frequency components below this magnitude are clipped out (default 0.0).") }; #endif |