DisperseWeight.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/General/Pulsar/DisperseWeight.h
10
11#ifndef __Pulsar_DisperseWeight_h
12#define __Pulsar_DisperseWeight_h
13
14#include "Pulsar/Algorithm.h"
15
16namespace Pulsar {
17
18 class Integration;
19
20 class PhaseWeight;
21 class PhaseWeightShift;
22 class Dispersion;
23
26 {
27
28 public:
29
32
35
37 DisperseWeight* clone () const;
38
40 void set_weight (const PhaseWeight*);
41
43 void get_weight (unsigned ichan, PhaseWeight*);
44
45 protected:
46
49
52
55
56 };
57
58}
59
60#endif
Data manipulation implementations.
Definition Algorithm.h:19
void set_weight(const PhaseWeight *)
Set the PhaseWeight mask to be shifted.
Definition DisperseWeight.C:41
Reference::To< PhaseWeightShift > shift
Used to shift PhaseWeight masks by dispersion delay.
Definition DisperseWeight.h:48
void get_weight(unsigned ichan, PhaseWeight *)
Get the shifted PhaseWeight mask for the specified channel.
Definition DisperseWeight.C:48
DisperseWeight * clone() const
Return a copy constructed instance of self.
Definition DisperseWeight.C:35
DisperseWeight(const Integration *)
Default constructor.
Definition DisperseWeight.C:16
Reference::To< Dispersion > dispersion
Used to compute dispersion delay for PhaseWeightShift.
Definition DisperseWeight.h:51
Reference::To< const Integration > integration
The Integration instance for whom this class is working.
Definition DisperseWeight.h:54
~DisperseWeight()
Destructor.
Definition DisperseWeight.C:31
Corrects dispersive delays.
Definition Dispersion.h:28
Array of Profiles integrated over the same time interval.
Definition Integration.h:37
Shifts PhaseWeight elements.
Definition PhaseWeightShift.h:20
Stores a weight for each Profile phase bin.
Definition PhaseWeight.h:24
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0