FilterbankBench.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2010 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __FilterbankBench_h_
10 #define __FilterbankBench_h_
11 
12 #include "FTransformBench.h"
13 
14 namespace dsp {
15 
17  class FilterbankBench : public FTransform::Bench
18  {
19  public:
20 
21  static bool verbose;
22 
24  FilterbankBench (const std::string& library);
25 
27  void set_nchan (unsigned);
28 
29  protected:
30 
31  unsigned nchan;
32  std::string library;
33 
34  void load () const;
35  void load (const std::string& library, const std::string& filename) const;
36  };
37 }
38 
39 #endif
void set_nchan(unsigned)
Set the number of channels.
Definition: FilterbankBench.C:25
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
void set_input(const In *input)
Set the container from which input data will be read.
Definition: Transformation.h:258
virtual void set_help_header(const std::string &s)
Manages CUDA device memory allocation and destruction.
Definition: MemoryCUDA.h:32
virtual bool operate()
Call this method to operate on data Returns false on failure.
Definition: Operation.C:90
Arrays of consecutive samples for each polarization and frequency channel.
Definition: TimeSeries.h:29
void prepare()
Prepare all relevant attributes.
Definition: Filterbank.C:46
Manages memory allocation and destruction on the host machine.
Definition: MemoryHost.h:22
virtual void add(Item *)
virtual void set_version(const std::string &s)
Breaks a single-band TimeSeries into multiple frequency channels.
Definition: Filterbank.h:27
void set_output(Out *output)
Set the container into which output data will be written.
Definition: Transformation.h:275
Pure virtual base class of objects that manage memory allocation and destruction.
Definition: Memory.h:23
virtual void parse(int argc, char *const *argv)
FilterbankBench(const std::string &library)
Construct from installed benchmarks.
Definition: FilterbankBench.C:18

Generated using doxygen 1.8.17