Skip to content
Snippets Groups Projects
Commit 7cce87e3 authored by Chad Hanna's avatar Chad Hanna
Browse files

reference_psd.py: fix typo from swig binding port

parent ef01533e
No related branches found
No related tags found
No related merge requests found
......@@ -650,7 +650,7 @@ def polyfit(psd, minsample, maxsample, order, verbose = False):
if verbose:
print >> sys.stderr, "\nFit polynomial is: \n\nlog(PSD) = \n", p, "\n\nwhere x = f / f_min\n"
data = numpy.exp(p(numpy.log(f)))
olddata = psd.data
olddata = psd.data.data
olddata[minsample:maxsample] = data
psd = lal.CreateREAL8FrequencySeries(
name = psd.name,
......
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