Skip to content

Changing model paramaters #146

Closed Answered by TJABB
TJABB asked this question in Q&A
May 2, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello,

Actually I was going through the different Q&As and I found the answer to my question. Below is a copy of what I was looking for.

sm.gaps[5].medium = create_glass('N-SK16', 'Schott')
sm.gaps[5].thi = 1.2
sm.ifcs[7].profile.cv = -.12
sm.ifcs[sm.cur_surface].profile = EvenPolynomial(r=63.00, cc=0,
coefs=[0.0,-4.662529E-6,8.0842E-09,0.0,0.0,0.0])
opm.update_model()
opm.rebuild_from_seq()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mjhoptics
Comment options

Answer selected by TJABB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants