Commit af4f5b97 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[FIX] (foutra): set correct sampling interval

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

The resulting spectrum is saved in a time series file format. The sampling
interval is routinely set to the sampling interval in frequency domain then.
This must not be done in cases where not spectral representation is produced,
i.e. in the case where only the tapered time series is written to the output.
parent 9ad0f297
......@@ -912,7 +912,8 @@ int main(int iargc, char* argv[])
// adjust sampling interval to frequency interval
if (opt.amplitudespectrum || opt.powerspectrum || opt.harmonicsignal)
{ wid2.dt=df; }
os << wid2;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment