PSR
CHIVE documentation has moved to
ReadTheDocs
Home
Install
Use
Develop
Support
News
Credits
hosted by
More
General
Pulsar
AddNoise.h
1
//-*-C++-*-
2
/***************************************************************************
3
*
4
* Copyright (C) 2023 by Willem van Straten
5
* Licensed under the Academic Free License version 2.1
6
*
7
***************************************************************************/
8
9
// psrchive/More/General/Pulsar/AddNoise.h
10
11
#ifndef __Pulsar_AddNoise_h
12
#define __Pulsar_AddNoise_h
13
14
#include "Pulsar/Transformation.h"
15
#include "BoxMuller.h"
16
17
namespace
Pulsar
{
18
19
class
Profile
;
20
22
class
AddNoise
:
public
Transformation
<Profile>
23
{
24
BoxMuller
gasdev;
25
double
sigma;
26
27
public
:
28
30
AddNoise
(
double
sigma);
31
33
~AddNoise
();
34
36
void
transform
(
Profile
* profile);
37
38
};
39
40
}
41
42
#endif
BoxMuller
Pulsar::AddNoise::transform
void transform(Profile *profile)
AddNoise the given Profile.
Definition
AddNoise.C:22
Pulsar::AddNoise::AddNoise
AddNoise(double sigma)
Default constructor.
Definition
AddNoise.C:13
Pulsar::AddNoise::~AddNoise
~AddNoise()
Destructor.
Definition
AddNoise.C:18
Pulsar::Profile
Any quantity recorded as a function of pulse phase.
Definition
Profile.h:40
Pulsar::Transformation
Algorithms that modify data in the Container.
Definition
Transformation.h:20
Pulsar
Defines the PSRCHIVE library.
Definition
CalSource.h:17
Generated using
doxygen
1.14.0