raypier_optics
A raytracing toolkit for optical design (by bryancole)
goray
By brandondube
raypier_optics | goray | |
---|---|---|
3 | 1 | |
43 | 2 | |
- | - | |
0.0 | 1.1 | |
over 1 year ago | about 1 year ago | |
Jupyter Notebook | Go | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
raypier_optics
Posts with mentions or reviews of raypier_optics.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-12.
-
Options for free optical simulation?
Raypier - current front runner, I've managed to model both an RC telescope and a thorlabs microlens array here with results that seem quite reasonable. Also has a gui for sanity checking/interactivity. Unfortunately the performance really starts to tank as you increase the resolutions of the plane where the E-field is evaluated, increase number of rays or increase number of surfaces. (Something I would like to do to be able to model atmospheric disturbance + mirror misalignments +
-
So, You Want To Write a Raytracer?
Tracing meshes is something I've just started tackling in raypier (https://github.com/bryancole/raypier_optics). This is a spatial-search problem and a Oriented Bounding Box tree structure (OBB-tree) is a decent approach. Once you can trace a mesh, this provides the starting points for tracing freeform surfaces like NURBS. The approach is to split a NURBS surface into a set of B-spline patches. Each patch is defines by a coarse mesh of control points and discretised into a finer mesh which we trace with a OBB-tree to get close to the correct intersection. Then employ Newton-Raphson to get the final intersection. Once we can trace NURBS / Spline surfaces, we can then generalize the code to handle anything a CAD model can contain: the ultimate prize!
-
ANN: Raypier - A raytracing and physical optics modelling toolkit for python (preview)
I'm developing a physical optics modelling package for python, based on the Gaussian Beam Decomposition method (a.k.a. method of Gausslets). It also does conventional geometric ray-tracing. It handles polarisation, dispersion and diffraction. Raypier provides nice model visualisations via VTK and a live GUI where you can "twiddle" with your model parameters. Performance is pretty good, I think, although I've got no points of comparison. Check out the docs at https://raypier-optics.readthedocs.io/en/latest/introduction.html and/or get the code at https://github.com/bryancole/raypier_optics
goray
Posts with mentions or reviews of goray.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-12.
-
Options for free optical simulation?
If you structure the program similar to this then you can get scaling that is basically proportional to the number of cores; and that continues all the way up to a 2x6248R 48 core system, which is ~44 times faster with all of the cores vs 1 core.
What are some alternatives?
When comparing raypier_optics and goray you can also consider the following projects:
pyoptica
prysm - physical optics: integrated modeling, phase retrieval, segmented systems, polynomials and fitting, sequential raytracing...
SympleyWavey - A collection of code and design related to a DIY shack-hartmann wavefront sensor. Very much WIP :)