Skip to content
Snippets Groups Projects
Commit 8edc03d5 authored by Sarah Caudill's avatar Sarah Caudill
Browse files

multirate_datasource.py: use psd.data.data

parent 98edd5c7
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ def mkwhitened_multirate_src(pipeline, src, rates, instrument, psd = None, psd_f
n = int(round(elem.get_property("f-nyquist") / delta_f) + 1)
# interpolate and install PSD
psd = reference_psd.interpolate_psd(psd, delta_f)
elem.set_property("mean-psd", psd.data[:n])
elem.set_property("mean-psd", psd.data.data[:n])
whiten.connect_after("notify::f-nyquist", psd_resolution_changed, psd)
whiten.connect_after("notify::delta-f", psd_resolution_changed, psd)
......
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