katsdpimager.test.utils module¶
Utilities for test code
-
class
katsdpimager.test.utils.RandomState¶ Bases:
numpy.random.mtrand.RandomStateExtension of
random.RandomStatewith extra distributions-
complex_normal(loc=0j, scale=1.0, size=None)¶ Circularly symmetric Gaussian in the Argand plane
-
complex_uniform(low=0.0, high=1.0, size=None)¶ Uniform distribution over a rectangle in the complex plane.
If low or high is purely real (by dtype, not by value), it is taken to be the boundary on both the real and imaginary extent.
-