BasisCorrection.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2008 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/BasisCorrection.h
10 
11 #ifndef __Pulsar_BasisCorrection_H
12 #define __Pulsar_BasisCorrection_H
13 
14 #include "Reference.h"
15 #include "Jones.h"
16 
17 namespace Pulsar
18 {
19  class Archive;
20  class Receiver;
21 
23  class BasisCorrection : public Reference::Able
24  {
25  public:
26 
28  bool required (const Archive* archive) const;
29 
31  Jones<double> operator () (const Archive*) const;
32 
34  Jones<double> operator () (const Receiver*) const;
35 
37  Jones<double> get_hand (const Receiver*) const;
38 
40  Jones<double> get_basis (const Receiver*) const;
41 
43  Jones<double> get_symmetry (const Receiver*) const;
44 
46  std::string get_summary () const;
47 
48  protected:
49  mutable std::string summary;
50 
51  };
52 }
53 
54 #endif
Jones< double > evaluate(std::vector< Jones< double > > *grad=0) const
bool get_basis_corrected() const
Return true when receptor basis has been corrected.
Definition: Receiver.h:165
void set_phi(const Estimate< double > &radians)
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
const ExtensionType * get() const
Template method searches for an Extension of the specified type.
Signal::Basis get_basis() const
Get the basis of the feed receptors.
Definition: Receiver.h:100
bool required(const Archive *archive) const
Return true if the correction is required.
Definition: BasisCorrection.C:95
Jones< double > get_symmetry(const Receiver *) const
Return the transformation due to receiver symmetry axis.
Definition: BasisCorrection.C:57
Jones< double > operator()(const Archive *) const
Return the basis correction transformation for the given archive.
Definition: BasisCorrection.C:79
Jones< double > get_hand(const Receiver *) const
Return the transformation due to receiver hand.
Definition: BasisCorrection.C:18
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Angle get_orientation() const
Get the orientation of the basis about the line of sight.
Definition: Receiver.h:112
std::string get_summary() const
Return a summary of parameters that produce non-identity terms.
Definition: BasisCorrection.C:123
Jones< double > get_basis(const Receiver *) const
Return the transformation due to receiver basis.
Definition: BasisCorrection.C:36
Signal::Hand get_hand() const
Get the hand of the basis.
Definition: Receiver.h:117

Generated using doxygen 1.8.17