CODIFTwoBitCorrectionMulti.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2017 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __CODIFTwoBitCorrectionMulti_h
10 #define __CODIFTwoBitCorrectionMulti_h
11 
12 #include "dsp/SubByteTwoBitCorrection.h"
13 
14 namespace dsp {
15 
17  class CODIFTwoBitCorrectionMulti: public SubByteTwoBitCorrection {
18 
19  public:
20 
23 
25  virtual bool matches (const Observation* observation);
26 
27  };
28 
29 }
30 
31 #endif
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
virtual void set_ndig(unsigned ndig)
Set the number of digitizers (histograms)
Definition: HistUnpacker.C:64
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
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
virtual unsigned get_shift(unsigned idig, unsigned isamp) const
Return the bit shift for the given digitizer and the given sample.
Definition: SubByteTwoBitCorrection.C:49
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194
Converts BitSeries data from two-bit digitized to floating-point values.
Definition: SubByteTwoBitCorrection.h:29
CODIFTwoBitCorrectionMulti()
Constructor initializes base class atributes.
Definition: CODIFTwoBitCorrectionMulti.C:18
virtual bool matches(const Observation *observation)
Return true if CODIFTwoBitCorrection can convert the Observation.
Definition: CODIFTwoBitCorrectionMulti.C:10

Generated using doxygen 1.8.17