S2TwoBitTable.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2002 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/s2/dsp/S2TwoBitTable.h
10 
11 
12 #ifndef __S2TwoBitTable_h
13 #define __S2TwoBitTable_h
14 
15 #include "dsp/TwoBitTable.h"
16 
17 namespace dsp {
18 
20 
24  class S2TwoBitTable : public TwoBitTable {
25 
26  public:
27 
30 
32  ~S2TwoBitTable () { }
33 
35  virtual unsigned twobit (unsigned byte, unsigned sample) const;
36 
37  };
38 
39 }
40 
41 #endif // !defined(__S2TwoBitTable_h)
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
virtual unsigned twobit(unsigned byte, unsigned sample) const
Return the 2-bit number from byte corresponding to sample.
Definition: S2TwoBitTable.C:20
S2TwoBitTable(Type type)
Constructor.
Definition: S2TwoBitTable.h:39
Type
Interpretation of the bits in each value.
Definition: BitTable.h:38
Type type
Digitization convention.
Definition: BitTable.h:118
Look-up table for converting 2-bit digitized to floating point numbers.
Definition: TwoBitTable.h:25
~S2TwoBitTable()
Destructor.
Definition: S2TwoBitTable.h:42

Generated using doxygen 1.8.17