Skip to content

Instantly share code, notes, and snippets.

@awade
Created September 11, 2019 08:20
Show Gist options
  • Save awade/a5cdee696111295bdc362256f9b2ffb0 to your computer and use it in GitHub Desktop.
Save awade/a5cdee696111295bdc362256f9b2ffb0 to your computer and use it in GitHub Desktop.
Python function for computing PDH shot noise limit
def S_f_SN(Pcar, Finesse, Lcav, lambd=1064.0e-9):
'''
Compute PDH shot noise
'''
_h = 6.62607004e-34 # [J.s] Plank's constant
_c = 2.99792458e8 # [m/s] Speed of light
return np.sqrt(_h * _c**3) / 8 / (Finesse * Lcav * np.sqrt(lambd * Pcar))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment