DeFaraday.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Extensions/Pulsar/DeFaraday.h
10 
11 #ifndef __Pulsar_DeFaraday_h
12 #define __Pulsar_DeFaraday_h
13 
14 #include "Pulsar/ColdPlasmaHistory.h"
15 
16 namespace Pulsar {
17 
19  class DeFaraday : public ColdPlasmaHistory {
20 
21  public:
22 
25 
27  DeFaraday (const DeFaraday& extension);
28 
30  const DeFaraday& operator= (const DeFaraday& extension);
31 
33  DeFaraday* clone () const { return new DeFaraday( *this ); }
34 
36  void set_rotation_measure (double rotation_measure)
37  { set_measure (rotation_measure); }
38 
40  double get_rotation_measure () const
41  { return get_measure (); }
42 
43  };
44 
45 }
46 
47 #endif
48 
double get_rotation_measure() const
Get the rotation measure.
Definition: DeFaraday.h:50
DeFaraday * clone() const
Clone method.
Definition: DeFaraday.h:43
const DeFaraday & operator=(const DeFaraday &extension)
Assignment operator.
Definition: DeFaraday.C:24
Stores parameters used to correct Faraday rotation in each Integration.
Definition: DeFaraday.h:24
Stores parameters used to correct Faraday rotation in each Integration.
Definition: ColdPlasmaHistory.h:24
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void set_rotation_measure(double rotation_measure)
Set the rotation measure.
Definition: DeFaraday.h:46
const ColdPlasmaHistory & operator=(const ColdPlasmaHistory &extension)
Assignment operator.
Definition: ColdPlasmaHistory.C:27
void set_measure(double measure)
Set the correction measure.
Definition: ColdPlasmaHistory.C:41
DeFaraday()
Default constructor.
Definition: DeFaraday.C:10
double get_measure() const
Get the correction measure.
Definition: ColdPlasmaHistory.C:47

Generated using doxygen 1.8.17