-
Here's some example code that I'm using:
So I'm following the example "AddFromFile.ipynb" example for the most part this is working for me and I've figured out how to add my own lenses into the system. Now I'm trying to figure out how I would go about adding a stop to the system and getting the model to generate a chief and marginal ray that I could then define the NA around.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @cbhirsch, The answer is yes for both questions. Here are some details. You can designate a specific interface to be the stop surface. For example, if you want the first surface of the second doublet to be the stop, directly set the
You can set the stop on the current surface, e.g. when you are building up a model, using
If the limiting aperture isn't on a lens/mirror surface, you can add a planar dummy surface in the appropriate airspace and set the stop to that. To add field points to your model, create and populate a Field of View model (part of the optical specifications). You can specify fields by height or angle, in either the object space or image space. This example uses angle in object space, where the maximum field is at 10.0 deg off-axis. Three fields are created using the
Alternatively, specifying points on the image plane is often useful. The following key/value pair would be used.
You can set the image plane to be at the paraxial focus using a convenience method in the parax_model.
Feel free to ask more questions on this. Regards, Mike |
Beta Was this translation helpful? Give feedback.
-
Hi @cbhirsch,
Here's my code:
Regards, Mike |
Beta Was this translation helpful? Give feedback.
Hi @cbhirsch,
I've found a couple of things.
H…