sdynpy.signal_processing.sdynpy_srs.sum_decayed_sines_reconstruction_with_compensation

sum_decayed_sines_reconstruction_with_compensation(sine_frequencies, sine_amplitudes, sine_decays, sine_delays, compensation_frequency, compensation_decay, sample_rate, block_size)[source]
Parameters
  • sine_frequencies (ndarray) – An array of frequencies for each sine tone

  • sine_amplitudes (ndarray) – An array of amplitudes for each sine tone

  • sine_decays (ndarray) – An array of decay values for each sine tone

  • sine_delays (ndarray) – An array of delay values for each sine tone

  • compensation_frequency (float) – The frequency of the compensation pulse

  • compensation_decay (float) – The decay value for the compensation pulse

  • sample_rate (float) – The sample rate of the signal

  • block_size (int) – The number of samples in the signal

Returns

  • signal (ndarray) – A signal containing the sum of decayed sinusoids.

  • compensation_frequency (float) – The frequency of the compensation pulse

  • compensation_amplitude (float) – The amplitude value for the compensation pulse

  • compensation_decay (float) – The decay value for the compensation pulse

  • compensation_delay (float) – The delay value for the compensation pulse