Como converter RMS para pico-a-pico para sinusoidais em Python usando UliEngineering
Você pode converter facilmente um valor RMS para pico-a-pico para um sinal sinusoidal usando a biblioteca Python UliEngineering:
V
⚠
example.py
from UliEngineering.SignalProcessing.Utils import *
# Converter 1V RMS para pico-a-pico
pp_value = rms_to_peak_to_peak("1V")
print(f"1V RMS = {pp_value} peak-to-peak")
# Converter 3.3V RMS para pico-a-pico
pp_value = rms_to_peak_to_peak("3.3V")
print(f"3.3V RMS = {pp_value} peak-to-peak")Exemplo de saída
rms_to_peak_to_peak_output.txt
1V RMS = 2.828V peak-to-peak
3.3V RMS = 9.333V peak-to-peakA conversão usa a relação para sinais sinusoidais: $V_{pp} = 2\sqrt{2} \times V_{RMS}$
Check out similar posts by category:
Calculators, Signal Processing, Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow