FadcUnpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Eric Plum
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __FadcUnpacker_h
10 #define __FadcUnpacker_h
11 
12 #include "dsp/HistUnpacker.h"
13 //#include "HistUnpacker.h"
14 
15 namespace dsp {
16 
18  class FadcUnpacker : public HistUnpacker {
19 
20  public:
21 
23  FadcUnpacker (const char* name = "FadcUnpacker");
24 
25  protected:
26 
28  virtual void unpack ();
29 
31  virtual bool matches (const Observation* observation);
32 
34  virtual void match (const Observation* observation);
35 
36  };
37 
38 }
39 
40 #endif // !defined(__FadcUnpacker_h)
virtual bool matches(const Observation *observation)
Return true if we can convert the Observation.
Definition: FadcUnpacker.C:72
Bit unpacker that keeps a histogram and optimal statistics.
Definition: HistUnpacker.h:25
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
FadcUnpacker(const char *name="FadcUnpacker")
Constructor.
Definition: FadcUnpacker.C:59
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
std::string name
Operation name.
Definition: Operation.h:153
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
virtual void match(const Observation *observation)
Specialize the Unpacker for the Observation.
Definition: FadcUnpacker.C:64
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194
virtual void unpack()
The unpacking routine.
Definition: FadcUnpacker.C:79

Generated using doxygen 1.8.17