def METHOD_NAME( batchX, batchY, sigma_max):
  for i in range(batchX.shape[0]):
    if bool(random.getrandbits(1)):
      # Random sigma
      sigma = random.uniform(0., sigma_max)
      batchX[i] = scipy.ndimage.filters.gaussian_filter(batchX[i], sigma)
      batchY[i] = scipy.ndimage.filters.gaussian_filter(batchY[i], sigma)
  return batchX, batchY