Module utils

Module utils 

Source

Functionsยง

calculate_frequencies
Calculates the frequency values corresponding to the given number of samples and sample rate.
find_dominant_frequencies
Finds the dominant frequencies in the Power Spectral Density (PSD) based on a threshold.
generate_sine_wave
Generates a sine wave signal based on the specified frequency, sample rate, and duration.