PuMa2Unpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/puma2/dsp/PuMa2Unpacker.h
10 
11 #ifndef __PuMa2Unpacker_h
12 #define __PuMa2Unpacker_h
13 
14 #include "dsp/EightBitUnpacker.h"
15 
16 namespace dsp {
17 
19  class PuMa2Unpacker : public EightBitUnpacker
20  {
21 
22  public:
23 
25  PuMa2Unpacker (const char* name = "PuMa2Unpacker");
26 
27  protected:
28 
30  virtual bool matches (const Observation* observation);
31 
32  };
33 
34 }
35 
36 #endif // !defined(__PuMa2Unpacker_h)
37 
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
Converts 8-bit digitised samples to floating point.
Definition: EightBitUnpacker.h:24
unsigned get_nbit() const
Return the number of bits per value.
Definition: Observation.h:95
std::string name
Operation name.
Definition: Operation.h:153
virtual bool matches(const Observation *observation)
Return true if we can convert the Observation.
Definition: PuMa2Unpacker.C:17
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
Look-up table for converting N-bit digitized to floating point numbers.
Definition: BitTable.h:22
PuMa2Unpacker(const char *name="PuMa2Unpacker")
Constructor.
Definition: PuMa2Unpacker.C:12
Reference::To< BitTable > table
The bit table generator
Definition: BitUnpacker.h:55
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194

Generated using doxygen 1.8.17