Commit 8639904b authored by Martin Reinecke's avatar Martin Reinecke

adjust to new PowerSpace

parent 01d27c0b
Pipeline #14794 passed with stage
in 8 minutes and 27 seconds
...@@ -98,10 +98,8 @@ if __name__ == "__main__": ...@@ -98,10 +98,8 @@ if __name__ == "__main__":
# The information source # The information source
j = R.adjoint_times(N.inverse_times(d)) j = R.adjoint_times(N.inverse_times(d))
realized_power = log(sh.power_analyze(logarithmic=p_space.config["logarithmic"], realized_power = log(sh.power_analyze(binbounds=p_space.binbounds))
nbin=p_space.config["nbin"])) data_power = log(fft(d).power_analyze(binbounds=p_space.binbounds))
data_power = log(fft(d).power_analyze(logarithmic=p_space.config["logarithmic"],
nbin=p_space.config["nbin"]))
d_data = d.val.get_full_data().real d_data = d.val.get_full_data().real
if rank == 0: if rank == 0:
pl.plot([go.Heatmap(z=d_data)], filename='data.html') pl.plot([go.Heatmap(z=d_data)], filename='data.html')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment