Waveform filter programs
◆
removeavg()
void removeavg
(
Tseries
&
s
)
Definition at line
105
of file
sigfit.cc
.
106
{
107
double
avg=0.;
108
for
(
int
i=s.first(); i<=s.last(); ++i) { avg += s(i); }
109
avg /= s.size();
110
for
(
int
i=s.first(); i<=s.last(); ++i) { s(i) -= avg; }
111
}
sigfit.cc
Generated on Mon Aug 21 2023 17:36:35 for Waveform filter programs by
1.8.14