Commit 289a6cce authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

implemented nsamples 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: 3974
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 77a88b37
......@@ -271,6 +271,13 @@ namespace fourier {
unsigned int DRFFTWAFFArrayEngine::nsamples() const
return Mseriesarray.size(0);
} // unsigned int DRFFTWAFFArrayEngine::nsamples() const
unsigned int DRFFTWAFFArrayEngine::nseries() const
return Mseriesarray.size(1);
......@@ -111,6 +111,8 @@ namespace fourier {
TAspectrum spectrum() const { return Mspectrumarray; }
//! \brief return the number of series in the arrays
unsigned int nseries() const;
//! \brief return the number of samples in time series
unsigned int nsamples() 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