CPSR2TwoBitCorrection.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2002 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/cpsr2/dsp/CPSR2TwoBitCorrection.h
10 
11 #ifndef __CPSR2TwoBitCorrection_h
12 #define __CPSR2TwoBitCorrection_h
13 
14 class CPSR2TwoBitCorrection;
15 
16 #include "dsp/TwoBitCorrection.h"
17 
18 namespace dsp {
19 
20  class TwoBitTable;
21 
22  /*
23  * 2023-Jun-29 - Willem van Straten
24  *
25  * The CPSR2 instrument was decommissioned in 2010 and it is
26  * not recommended to begin any new development using this software.
27  * See the warning in CSPR2File.h for more information.
28  *
29  */
30 
33 
34  public:
35 
38 
40  virtual bool matches (const Observation* observation);
41 
42  };
43 
44 }
45 
46 #endif
CPSR2TwoBitCorrection()
Constructor initializes base class attributes.
Definition: CPSR2TwoBitCorrection.C:20
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
virtual bool matches(const Observation *observation)
Return true if CPSR2TwoBitCorrection can convert the Observation.
Definition: CPSR2TwoBitCorrection.C:12
Signal::State get_state() const
Return the state of the signal.
Definition: Observation.h:70
unsigned get_nbit() const
Return the number of bits per value.
Definition: Observation.h:95
static bool verbose
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
Converts BitSeries data from two-bit digitized to floating-point values.
Definition: TwoBitCorrection.h:39
Converts CPSR2 data from 2-bit digitized to floating point values.
Definition: CPSR2TwoBitCorrection.h:32
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
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194

Generated using doxygen 1.8.17