Resize.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2010 by Andrew Jameson
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Resize_h
10 #define __Resize_h
11 
12 #include "dsp/Transformation.h"
13 #include "dsp/TimeSeries.h"
14 #include "Reference.h"
15 
16 namespace dsp {
17 
18  class TimeSeries;
19 
21  class Resize: public Transformation<TimeSeries,TimeSeries> {
22 
23  public:
24 
26  Resize ();
27 
29  ~Resize ();
30 
32  void set_resize_samples ( int64_t samples );
33 
34  protected:
35 
37  void transformation ();
38 
40  int64_t resize_samples;
41 
42  private:
43 
44  };
45 
46 }
47 
48 #endif
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
Resize()
Default constructor.
Definition: Resize.C:14
int64_t resize_samples
number of samples to adjust
Definition: Resize.h:45
Arrays of consecutive samples for each polarization and frequency channel.
Definition: TimeSeries.h:29
void transformation()
Perform the transformation on the input time series.
Definition: Resize.C:31
~Resize()
Destructor.
Definition: Resize.C:20
void set_resize_samples(int64_t samples)
Set the number of samples to be resized.
Definition: Resize.C:24

Generated using doxygen 1.8.17