LOFAR_DALUnpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Classes/dsp/LOFAR_DALUnpacker.h
10 
11 #ifndef __LOFAR_DALUnpacker_h
12 #define __LOFAR_DALUnpacker_h
13 
14 #include "dsp/Unpacker.h"
15 
16 namespace dsp {
17 
19  class LOFAR_DALUnpacker: public Unpacker
20  {
21 
22  public:
23 
26 
28  void unpack ();
29 
31  bool matches (const Observation* observation);
32 
35 
38 
39  };
40 }
41 
42 #endif
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
Order
Order of the dimensions.
Definition: TimeSeries.h:39
bool matches(const Observation *observation)
Return true if we can convert the Observation.
Definition: LOFAR_DALUnpacker.C:26
void set_output_order(TimeSeries::Order)
Set the order of the dimensions in the output TimeSeries.
Definition: LOFAR_DALUnpacker.C:40
LOFAR_DALUnpacker()
Null constructor.
Definition: LOFAR_DALUnpacker.C:19
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
static bool verbose
Global verbosity flag.
Definition: Operation.h:48
Abstract base class of Transformations that convert n-bit to float.
Definition: Unpacker.h:42
bool get_order_supported(TimeSeries::Order) const
Return true if the output order is supported.
Definition: LOFAR_DALUnpacker.C:34
void unpack()
The unpacking routine.
Definition: LOFAR_DALUnpacker.C:46
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194
@ OrderFPT
Frequency, Polarization, Time (default before 3 October 2008)
Definition: TimeSeries.h:47
@ OrderTFP
Time, Frequency, Polarization (better for many things)
Definition: TimeSeries.h:50

Generated using doxygen 1.8.17