Skip to content

Instantly share code, notes, and snippets.

View open-tommie's full-sized avatar

tommie open-tommie

  • Tokyo, Japan
View GitHub Profile
@bitglue
bitglue / xtal.py
Last active December 25, 2020 06:08
from __future__ import division
from math import pi, sqrt
r = 7.37
cs = 18.8e-15
cp = 4.15e-12
l = 6.5722e-3
l = 6.572233217077748e-3
fs = 14.318078e6
fp = 1/(2*pi*sqrt(l*(cs*cp)/(cs+cp)))