Skip to content

constant index model #92

Answered by mjhoptics
TLawu asked this question in Q&A
Jul 23, 2022 · 6 comments · 14 replies
Discussion options

You must be logged in to vote

Here's a jupyter notebook addressing the 3 parts of this discussion/issue. The notebook is in the ray-optics-notebooks repo.

%matplotlib inline
from rayoptics.environment import *
from rayoptics.seq import medium    # shortcut reference to medium package
isdark = False
opm = OpticalModel()
sm = opm['seq_model']
osp = opm['optical_spec']
pm = opm['parax_model']
em = opm['ele_model']
pt = opm['part_tree']
ar = opm['analysis_results']   # add analysis results model for paraxial data
osp['pupil'] = PupilSpec(osp, key=['object', 'pupil'], value=3)
osp['fov'] = FieldSpec(osp, key=['object', 'angle'], value=5.0, flds=[0.],is_relative=True)
osp['wvls'] = WvlSpec([(546.074, 1.0)], ref_wl=0)

opm.r…

Replies: 6 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

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

Answer selected by TLawu
Comment options

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

Comment options

You must be logged in to vote
4 replies
@mjhoptics
Comment options

@TLawu
Comment options

@mjhoptics
Comment options

@TLawu
Comment options

Comment options

You must be logged in to vote
7 replies
@TLawu
Comment options

@TLawu
Comment options

@TLawu
Comment options

@TLawu
Comment options

@mjhoptics
Comment options

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