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_IMRPhenomPv3HM () |
This test checks that IMRPhenomPv3HM hasn't changed. More... | |
Variables | |
args = sys.argv[1:] or ["-v", "-rs", "--junit-xml=junit-phenomPv3HM.xml"] | |
def test_phenomPv3HM.get_amp_phase | ( | h | ) |
Definition at line 29 of file test_phenomPv3HM.py.
def test_phenomPv3HM.sum_sqr_diff | ( | x, | |
y | |||
) |
Definition at line 34 of file test_phenomPv3HM.py.
def test_phenomPv3HM.gen_test_data | ( | ) |
compute the difference between two waveforms and compare to expected value
Definition at line 41 of file test_phenomPv3HM.py.
def test_phenomPv3HM.test_IMRPhenomPv3HM | ( | ) |
This test checks that IMRPhenomPv3HM hasn't changed.
It does this by generating two PhenomPv3HM 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 104 of file test_phenomPv3HM.py.
test_phenomPv3HM.args = sys.argv[1:] or ["-v", "-rs", "--junit-xml=junit-phenomPv3HM.xml"] |
Definition at line 117 of file test_phenomPv3HM.py.