EightBitUnpacker.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/Kernel/Classes/dsp/EightBitUnpacker.h
10 
11 #ifndef __EightBitUnpacker_h
12 #define __EightBitUnpacker_h
13 
14 #include "dsp/BitUnpacker.h"
15 
16 namespace dsp {
17 
19  class EightBitUnpacker: public BitUnpacker
20  {
21 
22  public:
23 
25  EightBitUnpacker (const char* name = "EightBitUnpacker");
26 
27  protected:
28 
29  void unpack (uint64_t ndat, const unsigned char* from, const unsigned nskip,
30  float* into, const unsigned fskip, unsigned long* hist);
31 
32  };
33 }
34 
35 #endif
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
std::string name
Operation name.
Definition: Operation.h:153
EightBitUnpacker(const char *name="EightBitUnpacker")
Null constructor.
Definition: EightBitUnpacker.C:18
Converts N-bit digitised samples to floating point using a BitTable.
Definition: BitUnpacker.h:26
static bool verbose
Global verbosity flag.
Definition: Operation.h:48
virtual void unpack()
Unpack all channels, polarizations, real/imag, etc.
Definition: BitUnpacker.C:48

Generated using doxygen 1.8.17