VariableProjectionCorrection.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2019 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Pulsar_VariableProjectionCorrection_h
10 #define __Pulsar_VariableProjectionCorrection_h
11 
12 #include "Pulsar/VariableTransformation.h"
13 #include "Pulsar/ProjectionCorrection.h"
14 
15 namespace Pulsar {
16 
18  class VariableProjectionCorrection : public VariableTransformation
19  {
20  mutable ProjectionCorrection correction;
21  mutable Jones<double> transformation;
22 
23  void build () const;
24 
25  public:
26 
29 
31  bool required () const;
32 
34  std::string get_description () const;
35 
37  void set_chan (unsigned);
38  };
39 }
40 
41 #endif
bool required() const
Return true if the transformation is required.
Definition: VariableProjectionCorrection.C:22
void set_archive(const Archive *)
Set the archive for which projection corrections will be computed.
Definition: ProjectionCorrection.C:69
std::string get_summary() const
Return a summary of parameters relevant to get_rotation.
Definition: ProjectionCorrection.C:364
Jones< double > get_transformation()
Get the transformation.
Definition: VariableProjectionCorrection.C:14
Defines the PSRCHIVE library.
Definition: CalSource.h:17
bool required(unsigned isub) const
Return true if the given sub-integration requires correction.
Definition: ProjectionCorrection.C:125
void set_chan(unsigned)
Set the frequency channel index.
Definition: VariableProjectionCorrection.C:53
std::string get_description() const
Return the description.
Definition: VariableProjectionCorrection.C:30

Generated using doxygen 1.8.17