SetReceiver.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// psrchive/Base/Checks/Pulsar/SetReceiver.h
10
11#ifndef __Pulsar_SetReceiver_h
12#define __Pulsar_SetReceiver_h
13
14#include "Pulsar/Correction.h"
15#include "LogFile.h"
16
17namespace Pulsar {
18
20
24 class SetReceiver : public Correction {
25
26 public:
27
28 // Return the name of the check
29 std::string get_name () { return "SetReceiver"; }
30
32 void apply (Archive* archive);
33
35 std::string get_directory (const Archive* archive);
36
37
38 protected:
39
42
44 std::string current;
45
46 };
47
48
49}
50
51#endif
The primary interface to pulsar observational data.
Definition Archive.h:46
Definition Correction.h:20
Looks up the receiver name from a log file and installs parameters.
Definition SetReceiver.h:24
void apply(Archive *archive)
Correct the Signal::Source type attribute of the Archive.
Definition SetReceiver.C:29
std::string get_directory(const Archive *archive)
Get the name of the log directory for the given observation.
Definition SetReceiver.C:15
std::string current
Name of current log directory.
Definition SetReceiver.h:44
Reference::To< LogFile > receiver_log
Database of standard candles and their coordinates.
Definition SetReceiver.h:41
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0