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 
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,
16  double replace=0.02);
17  }
18  }
19 }
20 
21 
Sequence< real_t > realseq_t
Definition: Waveform.h:31
std::shared_ptr< Interface > pointer
Definition: Interface.h:16
WireCell::Waveform::realseq_t generate_waveform(const std::vector< float > &spec, IRandom::pointer rng, double replace=0.02)
Definition: Noise.cxx:7
Definition: Main.h:22