BGlib.be.translators.df_utils.beps_gen_utils.get_noise_vec

BGlib.be.translators.df_utils.beps_gen_utils.get_noise_vec(num_pts, noise_coeff)[source]

Calculate a multiplicative noise vector from the noise_coeff

Parameters:
  • num_pts (uint) – number of points in the vector

  • noise_coeff (float) – Noise coefficient that determines the variation in the noise vector

Returns:

noise_vec – 1d noise vector array

Return type:

numpy.ndarray