Skip to content

Commit

Permalink
minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
boryanah committed May 16, 2024
1 parent ce7e184 commit 2016924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abacusnbody/analysis/power_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def pk_to_xi(Pk, Lbox, r_bins, poles=[0, 2, 4]):
poles = np.asarray(poles)
muedges = np.array([0.0, 1.0])
_, _, binned_poles, Npoles, r_avg = bin_kmu(
nmesh, Lbox, r_bins, muedges=muedges, weights=Xi, poles=poles, space='real'
nmesh, Lbox, r_bins, muedges=muedges, weights=Xi, poles=poles, fourier=False
)
binned_poles *= nmesh**3
return r_binc, binned_poles, Npoles
Expand Down

0 comments on commit 2016924

Please sign in to comment.