Skip to content

Instantly share code, notes, and snippets.

@JeanOlivier
Last active June 19, 2025 15:08
Show Gist options
  • Save JeanOlivier/f664d0a483f33ad4b4892f24d51e8423 to your computer and use it in GitHub Desktop.
Save JeanOlivier/f664d0a483f33ad4b4892f24d51e8423 to your computer and use it in GitHub Desktop.
dBm2Volt
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