patch_denoise.simulation.noise.add_temporal_gaussian_noise#
- patch_denoise.simulation.noise.add_temporal_gaussian_noise(array, sigma=1, g_factor_map=None, rng=None)[source]#
Add gaussian noise to array.
- Parameters:
array (numpy.ndarray) – The noise_free ND-array, where the last dimension is a dynamical one (e.g. time)
sigma (float) – gaussian noise variance
g_factor_map (numpy.ndarray, optional) – Spatial variation of the noise ((N-1)D array). default is identity.
- Returns:
A noisy array
- Return type: