Skip to content
Snippets Groups Projects
Commit 8cb75170 authored by Drew Keppel's avatar Drew Keppel
Browse files

Correcting sigma calculation

parent 5fedd580
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,7 @@ def generate_templates(template_table, approximant, psd, f_low, time_freq_bounda
sigma = abs(numpy.dot(data, numpy.conj(data)))
data *= cmath.sqrt(2 / sigma)
sigmasq.append(sigma)
sigmasq.append(2. * sigma)
#
# copy real and imaginary parts into adjacent (real-valued)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment