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

Load optics tables #4

Open
GNiendorf opened this issue Jul 29, 2019 · 2 comments
Open

Load optics tables #4

GNiendorf opened this issue Jul 29, 2019 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@GNiendorf
Copy link
Owner

Currently you can only save a given geometry as a csv file, but you cannot load that csv file directly from TracePy. Also, the ability to load optics tables from other ray tracing software such as BEAM4 would allow us to validate TracePy's outputs

@GNiendorf GNiendorf added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 29, 2019
@divarano
Copy link

I found a way to plot two configurations, one with a centered field angle, the other tiny tilted., by multiple use of ray_plane and plotyz functions. Is there a way to change color by field as in Zemax for instance? Or can I use standard plot functions from matplotlib?
Thanks,
Igor
FigureDORA_tel.pdf

@GNiendorf
Copy link
Owner Author

I found a way to plot two configurations, one with a centered field angle, the other tiny tilted., by multiple use of ray_plane and plotyz functions. Is there a way to change color by field as in Zemax for instance? Or can I use standard plot functions from matplotlib? Thanks, Igor FigureDORA_tel.pdf

For this you can just pass in the pltparams parameter: tp.plotyz(geo, ray_group, pltparams={'c':'blue'})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants