VDIFTwoBitCorrectionMulti.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Paul Demorest
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __VDIFTwoBitCorrectionMulti_h
10 #define __VDIFTwoBitCorrectionMulti_h
11 
12 #include "dsp/SubByteTwoBitCorrection.h"
13 
14 namespace dsp {
15 
17  class VDIFTwoBitCorrectionMulti: public SubByteTwoBitCorrection {
18 
19  public:
20 
23 
25  virtual bool matches (const Observation* observation);
26 
27  void unpack ();
28 
29  };
30 
31 }
32 
33 #endif
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
virtual bool matches(const Observation *observation)
Return true if VDIFTwoBitCorrection can convert the Observation.
Definition: VDIFTwoBitCorrectionMulti.C:10
unsigned get_nbit() const
Return the number of bits per value.
Definition: Observation.h:95
unsigned get_npol() const
Return the number of polarizations.
Definition: Observation.h:90
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
void unpack()
Unpack using dig_unpack.
Definition: VDIFTwoBitCorrectionMulti.C:25
Reference::To< TwoBitTable > table
Two-bit conversion table generator.
Definition: TwoBitCorrection.h:96
Look-up table for converting 2-bit digitized to floating point numbers.
Definition: TwoBitTable.h:25
void unpack()
Unpack using dig_unpack.
Definition: ExcisionUnpacker.C:178
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194
VDIFTwoBitCorrectionMulti()
Constructor initializes base class atributes.
Definition: VDIFTwoBitCorrectionMulti.C:18
Converts BitSeries data from two-bit digitized to floating-point values.
Definition: SubByteTwoBitCorrection.h:29
unsigned get_nchan() const
Return the number of channels into which the band is divided.
Definition: Observation.h:85

Generated using doxygen 1.8.17