hera_sim.utils.gen_white_noise

hera_sim.utils.gen_white_noise(size: int | tuple[int] = 1, rng: Generator | None = None) ndarray[source]

Produce complex Gaussian noise with unity variance.

Parameters:
  • size – Shape of output array. Can be an integer if a single dimension is required, otherwise a tuple of ints.

  • rng – Random number generator.

Returns:

noise – White noise realization with specified shape.