From 34d1e04f6452d59c13a665e31e0c27935cd3090a Mon Sep 17 00:00:00 2001 From: Shichao Wu Date: Tue, 14 May 2024 23:14:54 +0200 Subject: [PATCH] use consistent approx name --- BBHX_Phenom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BBHX_Phenom.py b/BBHX_Phenom.py index a7f8467..b8eeaf2 100644 --- a/BBHX_Phenom.py +++ b/BBHX_Phenom.py @@ -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))