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

change the capital letter to small letter!

parent 2c0edbc3
Branches
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ def gen(**kwds):
kwds.pop("approximant")
hp, hc = get_fd_waveform(approximant="IMRPhenomD_NRTidal", **kwds)
temp = kwds['parity_Amu'] / 1e9 / lal.QE_SI * lal.H_SI * lal.PI * lal.PI / lal.H0_SI
temp = kwds['parity_amu'] / 1e9 / lal.QE_SI * lal.H_SI * lal.PI * lal.PI / lal.H0_SI
hp_parity = hp + hc * temp * hp.sample_frequencies **2
hc_parity = hc - hp * temp * hp.sample_frequencies **2
......
def genIMRPhenomParity(**kwds):
from pycbc.waveform import get_fd_waveform
import lal
#print(kwds)
if 'approximant' in kwds:
kwds.pop("approximant")
hp, hc = get_fd_waveform(approximant="IMRPhenomXPHM", **kwds)
temp = kwds['parity_Amu'] / 1e9 / lal.QE_SI * lal.H_SI * lal.PI * lal.PI / lal.H0_SI
temp = kwds['parity_amu'] / 1e9 / lal.QE_SI * lal.H_SI * lal.PI * lal.PI / lal.H0_SI
hp_parity = hp + hc * temp * hp.sample_frequencies **2
hc_parity = hc - hp * 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