VDIFFourBitUnpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2016 by Paul Demorest
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __VDIFFourBitUnpacker_h
10 #define __VDIFFourBitUnpacker_h
11 
12 #include "dsp/FourBitUnpacker.h"
13 
14 namespace dsp {
15 
17  class VDIFFourBitUnpacker : public FourBitUnpacker {
18 
19  public:
20 
22  VDIFFourBitUnpacker (const char* name = "VDIFFourBitUnpacker");
23 
24  protected:
25 
27  virtual bool matches (const Observation* observation);
28 
29  };
30 
31 }
32 
33 #endif // !defined(__VDIFEightBitUnpacker_h)
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
unsigned get_nbit() const
Return the number of bits per value.
Definition: Observation.h:95
std::string name
Operation name.
Definition: Operation.h:153
unsigned get_npol() const
Return the number of polarizations.
Definition: Observation.h:90
virtual bool matches(const Observation *observation)
Return true if we can convert the Observation.
Definition: VDIFFourBitUnpacker.C:22
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
VDIFFourBitUnpacker(const char *name="VDIFFourBitUnpacker")
Constructor.
Definition: VDIFFourBitUnpacker.C:14
void set_table(BitTable *table)
Set the digitisation convention.
Definition: BitUnpacker.C:35
Reference::To< BitTable > table
The bit table generator
Definition: BitUnpacker.h:55
Converts 4-bit digitised samples to floating point.
Definition: FourBitUnpacker.h:24
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194

Generated using doxygen 1.8.17