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"] | |
def test_IMRPhenomXP_NRTidalv3.get_amp_phase | ( | h | ) |
Definition at line 31 of file test_IMRPhenomXP_NRTidalv3.py.
def test_IMRPhenomXP_NRTidalv3.sum_sqr_diff | ( | x, | |
y | |||
) |
Definition at line 36 of file test_IMRPhenomXP_NRTidalv3.py.
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.
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.
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.