Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALSimulation 6.2.0.1-ea7c608
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
test_SEOBNRv5HM_ROM 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_SEOBNRv5_ROM ()
 This test checks that SEOBNRv5_ROM hasn't changed. More...
 
def test_SEOBNRv5HM_ROM ()
 This test checks that SEOBNRv5HM_ROM hasn't changed. More...
 

Variables

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

Function Documentation

◆ get_amp_phase()

def test_SEOBNRv5HM_ROM.get_amp_phase (   h)

Definition at line 39 of file test_SEOBNRv5HM_ROM.py.

◆ sum_sqr_diff()

def test_SEOBNRv5HM_ROM.sum_sqr_diff (   x,
  y 
)

Definition at line 44 of file test_SEOBNRv5HM_ROM.py.

◆ gen_test_data()

def test_SEOBNRv5HM_ROM.gen_test_data (   approximant)

compute the difference between two waveforms and compare to expected value

Definition at line 51 of file test_SEOBNRv5HM_ROM.py.

◆ test_SEOBNRv5_ROM()

def test_SEOBNRv5HM_ROM.test_SEOBNRv5_ROM ( )

This test checks that SEOBNRv5_ROM hasn't changed.

It does this by generating two SEOBNRv5_ROM 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.SEOBNRv5_ROM))

Definition at line 117 of file test_SEOBNRv5HM_ROM.py.

◆ test_SEOBNRv5HM_ROM()

def test_SEOBNRv5HM_ROM.test_SEOBNRv5HM_ROM ( )

This test checks that SEOBNRv5HM_ROM hasn't changed.

It does this by generating two SEOBNRv5HM_ROM 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.SEOBNRv5HM_ROM))

Definition at line 147 of file test_SEOBNRv5HM_ROM.py.

Variable Documentation

◆ args

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

Definition at line 170 of file test_SEOBNRv5HM_ROM.py.