NLowLookup.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2008 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Classes/dsp/NLowLookup.h
10 
11 #ifndef __NLowLookup_h
12 #define __NLowLookup_h
13 
14 #include "dsp/BitTable.h"
15 
16 namespace dsp
17 {
19  class NLowLookup
20  {
21 
22  public:
23 
25  NLowLookup (BitTable*);
26 
28  const BitTable* get_table () const;
29 
30  protected:
31 
34 
35  char nlow_lookup [256];
36  const float* lookup;
37 
38  };
39 
40 }
41 
42 #endif
const BitTable * get_table() const
Return the pointer to the bit table.
Definition: NLowLookup.C:19
virtual void get_nlow_lookup(char *nlow_lookup) const
Return the number of low voltage states in each of 256 bytes.
Definition: BitTable.C:242
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
Reference::To< BitTable > bit_table
The bit table passed on construction.
Definition: NLowLookup.h:43
const float * get_values(unsigned byte=0) const
Returns pointer to values_per_byte floats represented by byte.
Definition: BitTable.C:88
Look-up table for converting N-bit digitized to floating point numbers.
Definition: BitTable.h:22
NLowLookup(BitTable *)
Default constructor.
Definition: NLowLookup.C:10

Generated using doxygen 1.8.17