WAPPUnpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/wapp/dsp/WAPPUnpacker.h
10 
11 #ifndef __WAPPUnpacker_h
12 #define __WAPPUnpacker_h
13 
14 #include "dsp/HistUnpacker.h"
15 
16 namespace dsp {
17 
19  class WAPPUnpacker : public HistUnpacker {
20 
21  public:
22 
24  WAPPUnpacker (const char* name = "WAPPUnpacker");
25 
26  protected:
27 
29  virtual void unpack ();
30 
32  virtual bool matches (const Observation* observation);
33 
34  //unsigned get_output_offset (unsigned idig) const;
35  //unsigned get_output_ipol (unsigned idig) const;
36 
37  };
38 
39 }
40 
41 #endif // !defined(__WAPPUnpacker_h)
Bit unpacker that keeps a histogram and optimal statistics.
Definition: HistUnpacker.h:25
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
virtual void set_ndig(unsigned ndig)
Set the number of digitizers (histograms)
Definition: HistUnpacker.C:64
void frc1d(size_t nfft, float *into, const float *from)
void * header
The header parser.
Definition: WAPPFile.h:46
std::string name
Operation name.
Definition: Operation.h:153
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
virtual bool matches(const Observation *observation)
Return true if we can convert the Observation.
Definition: WAPPUnpacker.C:36
virtual void unpack()
The unpacking routine.
Definition: WAPPUnpacker.C:44
Loads BitSeries data from a WAPP file.
Definition: WAPPFile.h:25
WAPPUnpacker(const char *name="WAPPUnpacker")
Constructor.
Definition: WAPPUnpacker.C:31
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194

Generated using doxygen 1.8.17