dcmri.add_noise#

dcmri.add_noise(signal, sdev: float) ndarray[source]#

Add noise to an MRI magnitude signal.

Parameters:
  • signal (array-like) – Signal values.

  • sdev (float) – Standard deviation of the noise.

Returns:

signal with noise added.

Return type:

np.ndarray