AutoCorrelation.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Signal/General/dsp/AutoCorrelation.h
10 
11 #ifndef __AutoCorrelation_h
12 #define __AutoCorrelation_h
13 
14 #include "dsp/Convolution.h"
15 
16 namespace dsp {
17 
19  class AutoCorrelation: public Transformation <TimeSeries, TimeSeries> {
20 
21  public:
22 
25 
27  void set_nlag (unsigned _nlag) { nlag = _nlag; }
28 
30  unsigned get_nlag () const { return nlag; }
31 
32  protected:
33 
35  virtual void transformation ();
36 
38  unsigned nlag;
39 
40  };
41 
42 }
43 
44 #endif
unsigned nlag
Number of lags.
Definition: AutoCorrelation.h:48
void scrunch_weights(unsigned nscrunch)
Scrunch the weights.
Definition: WeightedTimeSeries.C:698
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
Defines the interface by which Transformations are performed on data.
Definition: Transformation.h:54
AutoCorrelation()
Null constructor.
Definition: AutoCorrelation.C:16
virtual void transformation()
Perform the convolution transformation on the input TimeSeries.
Definition: AutoCorrelation.C:22
Container of weighted time-major order floating point data.
Definition: WeightedTimeSeries.h:26
Arrays of consecutive samples for each polarization and frequency channel.
Definition: TimeSeries.h:29
void convolve_weights(unsigned nfft, unsigned nkeep)
Flag all weights in corrupted transforms.
Definition: WeightedTimeSeries.C:577
void set_nlag(unsigned _nlag)
Set the number of lags.
Definition: AutoCorrelation.h:37
unsigned get_nlag() const
Get the number of lags.
Definition: AutoCorrelation.h:40

Generated using doxygen 1.8.17