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 
17 namespace 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
Warning warning
Warning messages filter.
Definition: Pulsar.C:12
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
The primary interface to pulsar observational data.
Definition: Archive.h:45
Contains information about the receiver and receiver platform.
Definition: Receiver.h:28
Type * get() const
static void load(std::istream &input, std::list< ArchiveSort > &entries)
Load a list of ArchiveSort instances and sort them.
Definition: ArchiveSort.C:80
std::string current
Name of current log directory.
Definition: SetReceiver.h:54
bool verbose
Definition: timer++.C:25
Defines the PSRCHIVE library.
Definition: CalSource.h:17
static bool compare_frequencies
Set to false when you want to join bands into a single session.
Definition: ArchiveSort.h:63
static bool read_length
Enable the new ArchiveSort behaviour (in new psrpl pipelines)
Definition: ArchiveSort.h:60
Reference::To< LogFile > receiver_log
Database of standard candles and their coordinates.
Definition: SetReceiver.h:51
static bool compare_sources
Set to false when you want to join sources (e.g. HYDRA_[ONS])
Definition: ArchiveSort.h:66

Generated using doxygen 1.8.17