Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on tilted/decentered optics #103

Open
Jashcraf opened this issue Oct 6, 2023 · 2 comments
Open

Question on tilted/decentered optics #103

Jashcraf opened this issue Oct 6, 2023 · 2 comments

Comments

@Jashcraf
Copy link

Jashcraf commented Oct 6, 2023

Hello! I'm a University of Arizona grad student that's doing some work on optical modeling for astronomy, and was curious if batoid was capable of simulating generally non-axially symmetric systems? It wasn't clear to me from the docs, but I saw that Interface has the following methods that might make it possible:

  • withGlobalShift
  • withLocalShift
  • withGlobalRotation
  • withLocalRotation

I'm interested in an open-source ray tracer that is capable of modeling off-axis conics and fold mirrors for some of my research.

@jmeyers314
Copy link
Owner

Hi Jaren,

Yes, certainly the methods you highlighted can be used to create a non-axially symmetric optical system. To date, I think I've only really used these to introduce small misalignments among individually symmetric optics, but I think with some careful use of the various Obscuration classes you could make off-axis conics. There's also at least one instance of a fold mirror in the repo: take a look at https://github.com/jmeyers314/batoid/blob/releases/0.5/batoid/data/AuxTel/AuxTel.yaml and https://github.com/jmeyers314/batoid/blob/releases/0.5/notebook/AuxTel%20trace.ipynb.

Full disclosure: you'd be charting some new territory using batoid for off-axis conics, but I'm not aware of any reason right now why this shouldn't work.

Hope that helps get you started. Feel free to reach out with more questions or any problems you encounter if you give batoid a go.

@Jashcraf
Copy link
Author

Jashcraf commented Oct 6, 2023

Hi Josh,

Thanks for pointing out the demo! I'll try making an off-axis parabola and doing a comparison with Zemax / CODE V, and come back here once I've done the comparison.

Edit: Notebook is running!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants