GMRTFourBit.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __GMRTFourBit_h
10 #define __GMRTFourBit_h
11 
12 #include "dsp/FourBitUnpacker.h"
13 
14 namespace dsp
15 {
17  class GMRTFourBit: public FourBitUnpacker
18  {
19  public:
20 
23 
25  bool matches (const Observation*);
26 
27  };
28 }
29 
30 #endif
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
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
bool matches(const Observation *)
Return true if this unpacker can handle the observation.
Definition: GMRTFourBit.C:22
void set_table(BitTable *table)
Set the digitisation convention.
Definition: BitUnpacker.C:35
GMRTFourBit()
Constructor initializes bit table.
Definition: GMRTFourBit.C:14
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