Mark5Unpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Haydon Knight
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Mark5Unpacker_h
10 #define __Mark5Unpacker_h
11 
12 #include "dsp/Unpacker.h"
13 
14 namespace dsp {
15 
17  class Mark5Unpacker : public Unpacker {
18 
19  public:
20 
22  Mark5Unpacker (const char* name = "Mark5Unpacker");
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(__Mark5Unpacker_h)
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
static bool can_do(const Observation *observation)
Return true if Mark5TwoBitCorrection can convert the Observation.
Definition: Mark5TwoBitCorrection.C:21
void unpack()
The unpacking routine.
Definition: Mark5Unpacker.C:33
Mark5Unpacker(const char *name="Mark5Unpacker")
Constructor.
Definition: Mark5Unpacker.C:16
std::string name
Operation name.
Definition: Operation.h:153
unsigned get_ndig() const
Get the number of independent digitizers.
Definition: Mark5Unpacker.C:28
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
bool matches(const Observation *observation)
Return true if we can convert the obsservation.
Definition: Mark5Unpacker.C:22
Loads BitSeries data from a MkV file.
Definition: Mark5File.h:22
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194

Generated using doxygen 1.8.17