Optics and Ray tracing
Makes sample optics: mirror, facet, and facet ensemble.
Draws the optics
Performs ray tracing analysis on the optics and a notional receiver
Plots sun disc image on receiver for
Plots ensquared energy plot
- example.csp.example_optics_and_ray_tracing.define_facet(focal_length: float) Facet
Creates facet containing a parametric mirror with given focal length
- example.csp.example_optics_and_ray_tracing.define_mirror(focal_length: float) MirrorParametric
Creates parametric mirror with given focal length
- example.csp.example_optics_and_ray_tracing.define_mirror_array(focal_length: float) FacetEnsemble
Creates an array of on-axis canted facets with the given focal length
- example.csp.example_optics_and_ray_tracing.plot_ray_trace(scene: Scene, image: ndarray, trace: RayTrace, title: str, plot_rays: bool = False) None
Plots and saves images
- example.csp.example_optics_and_ray_tracing.visualize_facet() None
Draws image of, plots slope, and ray traces facet
- example.csp.example_optics_and_ray_tracing.visualize_mirror() None
Draws image of, plots slope, and ray traces mirror
- example.csp.example_optics_and_ray_tracing.visualize_mirror_array() None
Draws image of, plots slope, and ray traces mirror_array