SigProcObservation.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2007 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/sigproc/dsp/SigProcObservation.h
10 
11 #ifndef __SigProcObservation_h
12 #define __SigProcObservation_h
13 
14 #include "dsp/Observation.h"
15 
16 namespace dsp {
17 
19  class SigProcObservation : public Observation {
20 
21  public:
22 
24  SigProcObservation (const char* filename);
25 
27  void load (const char* filename);
28 
30  SigProcObservation (FILE* header=0);
31 
33  void load (FILE* header);
34 
36  void unload (FILE* header);
37 
39  void load_global ();
40 
42  void unload_global ();
43 
44  int header_bytes;
45  };
46 
47 }
48 
49 #endif
void load_global()
Copy parameters from the sigproc global variables.
Definition: SigProcObservation.C:188
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
void set_observatory_latitude(double latitude)
void set_source_coordinates(const sky_coord &coords)
void unload(FILE *header)
Write a SigProc header block.
Definition: SigProcObservation.C:230
static const Site * location(const std::string &antenna)
virtual void get_sph(double &lat, double &lon, double &rad) const=0
void load(const char *filename)
Read the sigproce header from file.
Definition: SigProcObservation.C:42
void set_observatory_longitude(double longitude)
double get_azimuth() const
void set_epoch(const MJD &epoch)
void unload_global()
Copy parameters to the sigproc global variables.
Definition: SigProcObservation.C:238
SigProcObservation(const char *filename)
Construct from a sigproc file.
Definition: SigProcObservation.C:36
double get_zenith() const

Generated using doxygen 1.8.17