Functions | |
def | get_amp_phase (h) |
def | sum_sqr_diff (x, y) |
def | gen_test_data () |
compute the difference between two waveforms and compare to expected value More... | |
def | test_TEOBResumS () |
This test checks that TEOBResumS hasn't changed. More... | |
def test_TEOBResumS.get_amp_phase | ( | h | ) |
Definition at line 34 of file test_TEOBResumS.py.
def test_TEOBResumS.sum_sqr_diff | ( | x, | |
y | |||
) |
Definition at line 39 of file test_TEOBResumS.py.
def test_TEOBResumS.gen_test_data | ( | ) |
compute the difference between two waveforms and compare to expected value
Definition at line 46 of file test_TEOBResumS.py.
def test_TEOBResumS.test_TEOBResumS | ( | ) |
This test checks that TEOBResumS hasn't changed.
It does this by generating two TEOBResumS 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())
Definition at line 124 of file test_TEOBResumS.py.