Source: GitHub
Signature¶
def sdynpy.signal_processing.sdynpy_srs.sum_decayed_sines_reconstruction_with_compensation(sine_frequencies, sine_amplitudes, sine_decays, sine_delays, compensation_frequency, compensation_decay, sample_rate, block_size, ignore_compensation_pulse=False)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
ignore_compensation_pulse : bool, optional If True, ignores the compensation pulse
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