Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
gen
src
Noise.h
Go to the documentation of this file.
1
// This is some "private" code shared by a couple of components in gen.
2
//
3
// fixme: this is a candidate for turning into an interface.
4
5
#include "
WireCellIface/IRandom.h
"
6
#include "
WireCellUtil/Waveform.h
"
7
8
#include <vector>
9
10
namespace
WireCell
{
11
namespace
Gen {
12
namespace
Noise {
13
// Generate a time series waveform given a spectral amplitude
14
WireCell::Waveform::realseq_t
generate_waveform
(
const
std::vector<float>& spec,
15
IRandom::pointer
rng
,
16
double
replace=0.02);
17
}
18
}
19
}
20
21
WireCell::Waveform::realseq_t
Sequence< real_t > realseq_t
Definition:
Waveform.h:31
test_gpu_visible.rng
rng
Definition:
test_gpu_visible.py:9
IRandom.h
WireCell::Interface::pointer
std::shared_ptr< Interface > pointer
Definition:
Interface.h:16
Waveform.h
WireCell::Gen::Noise::generate_waveform
WireCell::Waveform::realseq_t generate_waveform(const std::vector< float > &spec, IRandom::pointer rng, double replace=0.02)
Definition:
Noise.cxx:7
WireCell
Definition:
Main.h:22
Generated by
1.8.11