Closed neherh closed 3 years ago
I think I figured it out and would like confirmation.
add_surface function can input a list like so: [curvature, dist, n-value, v-number (abbe number)]
so to create a varioptic lense where we have 2 flat interfaces of water and oil it would be:
n_water = 1.3 n_oil = 1.5 v_water = 60 v_oil = 38
sm.add_surface([0, 6.3/2, n_water, v_water]) sm.add_surface([0, 6.3/2, n_oil, v_oil])
Hello, yes that looks like the way to go. I'm not really familiar with how those devices work so let me know if you have further issues.
I am looking to model a varioptic lens at 0 power; meaning that the lens acts as a series of flat interfaces. How might I include that in a sequential model using your library?
For reference, this is what I did in a ray transfer matrice equation to model it:
def create_flat_interface(): """ flat interface"""