Skip to content

Conversation

n-simplex
Copy link

No description provided.

@KelSolaar
Copy link
Member

KelSolaar commented Oct 28, 2019

@KelSolaar KelSolaar changed the title Added file for thin-film calculation functionality. PR: Added file for thin-film calculation functionality. Oct 28, 2019
l = wavelength/589.0
tot = 0.244257733+0.00974634476*r-0.00373234996*T+0.000268678472*(l**2)*T+0.0015892057/(l**2)+0.00245934259/(l**2-0.229202**2)+0.90070492/(l**2-5.432937**2)-0.0166626219*(r**2)
n = math.sqrt((2*tot+1/r)/(1/r-tot))
return 0.5-0.5*math.cos(4*n*math.pi*thickness*math.sqrt(1-(math.sin(incident*2*math.pi/360)/n)**2)/wavelength)
Copy link
Member

@KelSolaar KelSolaar Nov 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mirageinc : Would you have a reference for that formula handy please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants