Script execution

This commit is contained in:
2016-02-17 12:04:09 +01:00
parent 4acfc7b008
commit f517a4a045

View File

@@ -18,7 +18,7 @@ def angle(e,h=1.0,k=1.0,l=1.0, deg =True, ln = False,bent = False):
a = math.asin(12.39842/d0/e)
if bent:
rho = 2*19.65*8.35/28*math.sin(a)
dt = 0.2e-3/rho*0.279
dt = 0.2e-3/rho*0.279
d0 = 2*5.43102*(1+dt)/math.sqrt(h**2+k**2+l**2)
a = math.asin(12.39842/d0/E)
a = a/dtor if deg else a