GUPPIFITSUnpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2014 by Paul Demorest
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __GUPPIFITS_unpack_h
10 #define __GUPPIFITS_unpack_h
11 
12 #include "dsp/Unpacker.h"
13 #include "fitsio.h"
14 
15 #include "dsp/TimeSeries.h"
16 #include "dsp/BitSeries.h"
17 
18 namespace dsp
19 {
21 
27  class GUPPIFITSUnpacker : public Unpacker
28  {
29  public:
30  GUPPIFITSUnpacker(const char* name = "GUPPIFITSUnpacker");
31 
32  protected:
33  virtual void unpack();
34 
35  virtual bool matches(const Observation* observation);
36  };
37 }
38 
39 #endif
virtual void unpack()
The unpacking routine.
Definition: GUPPIFITSUnpacker.C:13
virtual bool matches(const Observation *observation)
Return true if the derived class can convert the Observation.
Definition: GUPPIFITSUnpacker.C:71
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
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
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194

Generated using doxygen 1.8.17