Corrects the Signal::Source type attribute of the Archive. More...

#include <CalSource.h>

Inheritance diagram for Pulsar::CalSource:
Pulsar::Correction

Public Member Functions

 CalSource ()
 Default constructor.
 
std::string get_name ()
 
void apply (Archive *archive)
 Correct the Signal::Source type attribute of the Archive.
 
unsigned get_on_size () const
 Get the number of FluxCalOn aliases.
 
unsigned get_off_size () const
 Get the number of FluxCalOff aliases.
 
std::string get_on_filename () const
 Get the filename from which FluxCalOn aliases were read.
 
std::string get_off_filename () const
 Get the filename from which FluxCalOff aliases were read.
 

Static Public Attributes

static Option< std::string > default_on
 The default on filename.
 
static Option< std::string > default_off
 The default off filename.
 

Protected Member Functions

void load () const
 

Protected Attributes

std::vector< std::string > fluxcal_on
 Source names matching FluxCalOn.
 
std::vector< std::string > fluxcal_off
 Source names matching FluxCalOff.
 
std::string on_filename
 Name of file from which FluxCalOn aliases were read.
 
std::string off_filename
 Name of file from which FluxCalOff aliases were read.
 
bool loaded
 

Detailed Description

Corrects the Signal::Source type attribute of the Archive.

If the Archive::type attribute is set to Signal::PolnCal and the Archive::source attribute is in any of the recognized lists, then the Archive::type attribute may be corrected.


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17