Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALSimulation 6.2.0.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
test_IMRPhenomXP_NRTidalv3 Namespace Reference

Functions

def get_amp_phase (h)
 
def sum_sqr_diff (x, y)
 
def gen_test_data (approximant)
 compute the difference between two waveforms and compare to expected value More...
 
def test_IMRPhenomXP_NRTidalv3 ()
 This test checks that IMRPhenomXP_NRTidalv3 hasn't changed. More...
 

Variables

 args = sys.argv[1:] or ["-v", "-rs", "--junit-xml=junit-IMRPhenomXP_NRTidalv3.xml"]
 

Function Documentation

◆ get_amp_phase()

def test_IMRPhenomXP_NRTidalv3.get_amp_phase (   h)

Definition at line 31 of file test_IMRPhenomXP_NRTidalv3.py.

◆ sum_sqr_diff()

def test_IMRPhenomXP_NRTidalv3.sum_sqr_diff (   x,
  y 
)

Definition at line 36 of file test_IMRPhenomXP_NRTidalv3.py.

◆ gen_test_data()

def test_IMRPhenomXP_NRTidalv3.gen_test_data (   approximant)

compute the difference between two waveforms and compare to expected value

Definition at line 43 of file test_IMRPhenomXP_NRTidalv3.py.

◆ test_IMRPhenomXP_NRTidalv3()

def test_IMRPhenomXP_NRTidalv3.test_IMRPhenomXP_NRTidalv3 ( )

This test checks that IMRPhenomXP_NRTidalv3 hasn't changed.

It does this by generating two IMRPhenomXP_NRTidalv3 waveforms and computing their difference (according to their amplitude and phases) and compares them to pre-computed values.

these pre-computed values were computed using the following line:

expected_result = np.array(gen_test_data(lalsimulation.IMRPhenomXP_NRTidalv3))

Definition at line 110 of file test_IMRPhenomXP_NRTidalv3.py.

Variable Documentation

◆ args

test_IMRPhenomXP_NRTidalv3.args = sys.argv[1:] or ["-v", "-rs", "--junit-xml=junit-IMRPhenomXP_NRTidalv3.xml"]

Definition at line 119 of file test_IMRPhenomXP_NRTidalv3.py.