Polarization.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/More/Polarimetry/Pulsar/Polarization.h
10 
11 #ifndef __Pulsar_polarization_h
12 #define __Pulsar_polarization_h
13 
14 // this file defines some convenience routines for use in polarization work
15 
16 namespace Pulsar {
17 
18  class Archive;
19  class Integration;
20  class PolnProfile;
21  class Profile;
22 
24  const PolnProfile* new_Stokes (const Archive*, unsigned sub, unsigned chan);
25 
27  const PolnProfile* new_Stokes (const Integration*, unsigned chan);
28 
30  const Profile* new_Profile (const PolnProfile* data, char code);
31 
32 }
33 
34 
35 #endif
36 
37 
38 
void get_orientation(std::vector< Estimate< double > > &, float sigma) const
Return the orientation and its estimated error for each pulse phase.
Definition: PolnProfile.C:889
void get_polarized(Profile *polarized) const
Return the total polarization profile.
Definition: PolnProfile.C:725
Any quantity recorded as a function of pulse phase.
Definition: Profile.h:45
The primary interface to pulsar observational data.
Definition: Archive.h:45
const Profile * new_Profile(const PolnProfile *data, char code)
Return a possibly newly constructed Profile with state specified by code.
Definition: Polarization.C:35
Type * release()
virtual Profile * clone() const
returns a pointer to a new copy of self
Definition: Profile.C:124
Integration * get_Integration(unsigned subint)
Return pointer to the specified Integration.
Definition: IntegrationManager.C:41
Array of Profiles integrated over the same time interval.
Definition: Integration.h:37
Polarimetric pulse profile transformations and derivations.
Definition: PolnProfile.h:34
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void get_linear(Profile *linear) const
Return the linear polarization profile.
Definition: PolnProfile.C:733
const PolnProfile * new_Stokes(const Archive *, unsigned sub, unsigned chan)
Return a newly constructed PolnProfile with state == Stokes.
Definition: Polarization.C:15
void invint(Profile *invint, bool second=true) const
Return the invariant interval.
Definition: PolnProfile.C:576
const Profile * get_Profile(unsigned ipol) const
Get the specifed constant profile.
Definition: PolnProfile.C:147

Generated using doxygen 1.8.17