Mark5bUnpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2015 by Stuart Weston and Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Mark5bUnpacker_h
10 #define __Mark5bUnpacker_h
11 
12 #include "dsp/Unpacker.h"
13 
14 namespace dsp {
15 
17  class Mark5bUnpacker : public Unpacker {
18 
19  public:
20 
22  Mark5bUnpacker (const char* name = "Mark5bUnpacker");
23 
25  unsigned get_ndig () const;
26 
27  protected:
28 
30  void unpack ();
31 
33  bool matches (const Observation* observation);
34 
35  };
36 
37 
38 }
39 
40 #endif // !defined(__Mark5bUnpacker_h)
bool matches(const Observation *observation)
Return true if we can convert the obsservation.
Definition: Mark5bUnpacker.C:21
Loads BitSeries data from a MkV file using the mark5access library.
Definition: Mark5bFile.h:22
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
Mark5bUnpacker(const char *name="Mark5bUnpacker")
Constructor.
Definition: Mark5bUnpacker.C:16
std::string name
Operation name.
Definition: Operation.h:153
unsigned get_ndig() const
Get the number of independent digitizers.
Definition: Mark5bUnpacker.C:26
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
Abstract base class of Transformations that convert n-bit to float.
Definition: Unpacker.h:42
void unpack()
The unpacking routine.
Definition: Mark5bUnpacker.C:31
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194

Generated using doxygen 1.8.17