tests.models.test_giese

Compare results with those from the code of Giese et al., 2021

Classes

class tests.models.test_giese.GieseTest(methodName='runTest')

Bases: TestCase

Compare results with those from the code of Giese et al., 2021

static test_bag()
static test_const_cs()
test_kappa33()
static test_kappa34()
static test_kappa43()
static test_kappa44()

Functions

tests.models.test_giese.assert_kappa(css2, csb2, kappa_ref, rtol=1e-7, atol=0)

Compare kappa results to those of figure 2 of Giese et al., 2021

Parameters:
  • css2 (float)

  • csb2 (float)

  • kappa_ref (ndarray)

  • rtol (float)

  • atol (float)

tests.models.test_giese.compare(model, alpha_ns, v_walls, ref, rtol)
Parameters:
tests.models.test_giese.get_kappa(bubble)
Parameters:

bubble (Bubble)

Return type:

float