Skip to content
Snippets Groups Projects
Commit 5958ec45 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

Merge branch 'more-ctn-fixing' into 'master'

Fix coating brownian so it agrees with Hong

See merge request !87
parents 5d4ffcc8 f68697f9
No related branches found
No related tags found
1 merge request!87Fix coating brownian so it agrees with Hong
Pipeline #127915 passed
...@@ -91,7 +91,7 @@ def coating_brownian(f, materials, wavelength, wBeam, dOpt): ...@@ -91,7 +91,7 @@ def coating_brownian(f, materials, wavelength, wBeam, dOpt):
# layer contributions, b_j (eq 1) from doi:10.1103/PhysRevD.91.042002, errors corrected # layer contributions, b_j (eq 1) from doi:10.1103/PhysRevD.91.042002, errors corrected
brLayer = ( 1/(1-pratN) * brLayer = ( 1/(1-pratN) *
( (1-nN*dcdp_z/2)**2 * (1-2*pratN)*(1+pratN)*Ysub / ((1-2*pratsub)*(1+pratsub)*yN) + ( (1-nN*dcdp_z)**2 * (1-2*pratN)*(1+pratN)*Ysub / ((1-2*pratsub)*(1+pratsub)*yN) +
(1-2*pratsub)*(1+pratsub)*yN / ((1+pratN)*Ysub) ) ) (1-2*pratsub)*(1+pratsub)*yN / ((1+pratN)*Ysub) ) )
# sum them up for total # sum them up for total
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment