Faster exact substrate thermorefractive noise calculation
Compare changes
+ 5
− 11
@@ -34,19 +34,13 @@ def substrate_thermorefractive(f, materials, wBeam, exact=False):
@@ -34,19 +34,13 @@ def substrate_thermorefractive(f, materials, wBeam, exact=False):
inte = np.array([scipy.integrate.quad(lambda k: integrand(k, om, kappa/(rho*C)), 0, inf)[0] for om in omega])