Skip to content

Commit

Permalink
use consistent approx name
Browse files Browse the repository at this point in the history
  • Loading branch information
WuShichao authored May 14, 2024
1 parent d4702cf commit 34d1e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BBHX_Phenom.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ def imr_duration(**params):
'spin1z':params['spin1z'], 'spin2z':params['spin2z'],
'f_lower':params['f_lower']}

if params['approximant'] == 'BBHX_IMRPhenomD':
if params['approximant'] == 'BBHX_PhenomD':
from pycbc.waveform.waveform import imrphenomd_length_in_time
time_length = np.float64(imrphenomd_length_in_time(**nparams))
elif params['approximant'] == 'BBHX_IMRPhenomHM':
elif params['approximant'] == 'BBHX_PhenomHM':
from pycbc.waveform.waveform import imrphenomhm_length_in_time
time_length = np.float64(imrphenomhm_length_in_time(**nparams))

Expand Down

0 comments on commit 34d1e04

Please sign in to comment.