FadcObservation.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Eric Plum
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __FadcObservation_h
10 #define __FadcObservation_h
11 
12 #include "dsp/Observation.h"
13 
14 namespace dsp {
15 
16  // NOTES : The comment below may have to change
17  // uint64_t offset_bytes can probably be deleted
18 
20 
26  class FadcObservation : public Observation {
27 
28  public:
29 
31  // This constructor is empty
32  // It does not ever get called
33  FadcObservation (const char* header=0);
34 
35  // constructor used by FadcFile
36  FadcObservation (const char* header, long firstFile, long lastFile, unsigned long offset_tsmps_file0, unsigned long offset_tsmps, double centerFreqOverride=0, double bwOverride=0);
37 
38  protected:
39 
40  // this function initializes offset_tsmp with the number of time samples that are missing
41  // or incomplete at the beginning of the requested data (first file). These samples will not be
42  // loaded and have to be considered when calculating the total number of samples.
43 // int get_offset_tsmps(char* expFileName, long firstFile, long lastFile, unsigned long* offset_tsmps_file0, unsigned long* offset_tsmps, int nbit);
44 
45  int read_blockMap(long *buffers_per_file, long *bytes_per_buffer);
46 
47  };
48 
49 }
50 
51 #endif
FadcObservation(const char *header=0)
Construct from a Fadc ASCII header.
Definition: FadcObservation.C:16
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17

Generated using doxygen 1.8.17