Last active
June 19, 2025 15:08
-
-
Save JeanOlivier/f664d0a483f33ad4b4892f24d51e8423 to your computer and use it in GitHub Desktop.
dBm2Volt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def dBm2Volt(dBm, impedance=50): | |
"""If A * sin(wt) --> X dBm, this function takes X and returns A""" | |
return (2*impedance/1000)**0.5*10**(dBm/20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment