Fourier.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/General/Pulsar/Fourier.h
10
11#ifndef __Pulsar_Fourier_h
12#define __Pulsar_Fourier_h
13
14#include "FTransformAgent.h"
15
16namespace Pulsar {
17
18 class Profile;
19 class PolnProfile;
20
22 Profile* fourier_transform (const Profile*, FTransform::Plan* = 0);
23
25 PolnProfile* fourier_transform (const PolnProfile*, FTransform::Plan* = 0);
26
28 Profile* complex_fourier_transform (const Profile*, FTransform::Plan* = 0);
29
31 PolnProfile* complex_fourier_transform (const PolnProfile*, FTransform::Plan* = 0);
32
34 void detect (Profile* input);
35
37 void phase (Profile* input);
38
40 void detect (PolnProfile* input);
41
43 void phase (PolnProfile* input);
44
46 void fourier_to_re_im (const PolnProfile* fourier, PolnProfile* re, PolnProfile* im);
47
49 void fourier_to_re_im (const Profile* fourier, Profile* re, Profile* im);
50}
51
52#endif
Polarimetric pulse profile transformations and derivations.
Definition PolnProfile.h:29
Any quantity recorded as a function of pulse phase.
Definition Profile.h:40
Defines the PSRCHIVE library.
Definition CalSource.h:17
Profile * complex_fourier_transform(const Profile *, FTransform::Plan *=0)
Return the forward Fourier transform of the input Profile.
Definition Fourier.C:61
void detect(Profile *input)
Square-law detect the input complex-valued Profile.
Definition Fourier.C:103
Profile * fourier_transform(const Profile *, FTransform::Plan *=0)
Return the forward Fourier transform of the input Profile.
Definition Fourier.C:41
void fourier_to_re_im(const PolnProfile *fourier, PolnProfile *re, PolnProfile *im)
Divide the output of fourier_transform into its real and imaginary components.
Definition Fourier.C:158
void phase(Profile *input)
Compute the phase of the input complex-valued Profile.
Definition Fourier.C:135

Generated using doxygen 1.14.0