Skip to content
Snippets Groups Projects
Commit c8826311 authored by Yifan Wang's avatar Yifan Wang
Browse files

fix a bug

parent 56fa6c78
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ def gen(**kwds):
hp, hc = get_fd_waveform(approximant=kwds['baseapprox'], **kwds)
zz = cosmology.redshift(kwds['distance'])
intz = integrate.quad(integrand_parityamu_mpv, 0, zz)[0]
intz = integrate.quad(integrand_parityamu_mpvinverse, 0, zz)[0]
temp = kwds['parity_mpvinverse'] * intz / 1e9 / lal.QE_SI * lal.H_SI * lal.PI * lal.PI / lal.H0_SI
hp_parity = hp + hc * temp * hp.sample_frequencies **2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment