Method summary
- all_close(self, a, b)
- check_positions(self, source, x, y, z)
- check_scalars(self, source, s)
- check_vectors(self, source, u, v, w)
- setUp(self)
- tearDown(self)
Methods
- all_close(self, a, b)
Similar to numpy's allclose, but works also for a=None.
- check_positions(self, source, x, y, z)
Check that the position vectors of the source do correspond to the given input positions
- check_scalars(self, source, s)
Check that the scalar data corresponds to the given array.
- check_vectors(self, source, u, v, w)
Check that the vector data corresponds to the given arrays.
- setUp(self)
- tearDown(self)