Commit 1c628d76 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

implemented nfrequencies query function

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.

SVN Path:
SVN Revision: 3975
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 289a6cce
......@@ -278,6 +278,13 @@ namespace fourier {
unsigned int DRFFTWAFFArrayEngine::nfrequencies() const
return Mspectrumarray.size(0);
} // unsigned int DRFFTWAFFArrayEngine::nfrequencies() const
unsigned int DRFFTWAFFArrayEngine::nseries() const
return Mseriesarray.size(1);
......@@ -113,6 +113,8 @@ namespace fourier {
unsigned int nseries() const;
//! \brief return the number of samples in time series
unsigned int nsamples() const;
//! \brief return the number of positive frequencies used
unsigned int nfrequencies() const;
//! \brief return a reference to the time series i
TAseries series(const unsigned int& i) const;
//! \brief return a reference to the Fourier coefficients of series i
Markdown is supported
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