engineerjoe440 / ElectricPy

Electrical Engineering Formulas in Python
https://electricpy.readthedocs.io/en/latest/
MIT License
86 stars 16 forks source link

Fix #72 Add Voltage Decibel Functions #74

Closed khan-asfi-reza closed 2 years ago

khan-asfi-reza commented 2 years ago

72 Add Voltage Decibel Functions

1.voltage_to_db Converts voltage and reference voltage into decibel unit

  1. db_to_vref Given Decibel and voltage, converts to reference voltage
  2. db_to_voltage Given decibel and reference voltage, converts to voltage
engineerjoe440 commented 2 years ago

Thank you so much for your contributions!

I'd really like to address these two changes as separate pull requests to make reviewing a little easier. Would you mind breaking this work up in such a way?

Thank you! 😄