Skip to content

Plots with different axes #125

Answered by HarrisonKramer
nsotom asked this question in Q&A
Apr 23, 2025 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

Hi @nsotom,

Thanks for the kind words.

There are a few things to point out here. Optiland assumes the optical axis is along z, with light propagating in the +z direction. This currently cannot be configured otherwise. Second, as you pointed out, the SpotDiagram data does not include z points. There is not currently a way to tell Optiland to change the axes for diagrams, but this is certainly something that could be added. How would you like to see that implemented? I can imagine something like the following:

spot = SpotDiagram(lens, fields=[(0, 1)], axes="xz")
spot.view()

This would not be too difficult to implement for the SpotDiagram. It may be more difficult for other analyses, but I w…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@nsotom
Comment options

@HarrisonKramer
Comment options

@manuelFragata
Comment options

Answer selected by nsotom
Comment options

You must be logged in to vote
3 replies
@manuelFragata
Comment options

@HarrisonKramer
Comment options

@nsotom
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
3 participants