rayoptics.mpl package
package implementing useful rayoptics graphics using matplotlib
The mpl subpackage provides useful basic optical graphics
using the matplotlib plotting package. Particular features include:
2D lens layout,
interactivelayout\(y-\overline{y}\) and \(\omega-\overline{\omega}\) paraxial ray diagrams,
interactivediagramray aberration and wavefront pupil/field plots,
analysisfigure,axisarrayfigureandanalysisplotsbase class to manage light and dark UI styles,
styledfigure
Submodules
- rayoptics.mpl.analysisfigure module
- rayoptics.mpl.analysisplots module
- rayoptics.mpl.axisarrayfigure module
- rayoptics.mpl.interactivediagram module
InteractiveDiagramInteractiveDiagram.opt_modelInteractiveDiagram.refresh_guiInteractiveDiagram.dgm_typeInteractiveDiagram.enable_slideInteractiveDiagram.bend_or_gapInteractiveDiagram.parax_modelInteractiveDiagram.parax_model_keyInteractiveDiagram.setup_dgm_type()InteractiveDiagram.sync_light_or_dark()InteractiveDiagram.update_data()InteractiveDiagram.get_artist_for_handle()InteractiveDiagram.action_complete()InteractiveDiagram.set()InteractiveDiagram.fit_axis_limits()
- rayoptics.mpl.interactivefigure module
SelectInfoartist_str()display_artist_and_event()InteractiveFigureInteractiveFigure.do_draw_frameInteractiveFigure.do_draw_axesInteractiveFigure.oversize_factorInteractiveFigure.aspectInteractiveFigure.artist_filterInteractiveFigure.connect_events()InteractiveFigure.disconnect_events()InteractiveFigure.is_unit_aspect_ratioInteractiveFigure.refresh()InteractiveFigure.update_data()InteractiveFigure.action_complete()InteractiveFigure.register_action()InteractiveFigure.register_pan()InteractiveFigure.register_zoom_box()InteractiveFigure.update_patches()InteractiveFigure.create_patches()InteractiveFigure.create_polygon()InteractiveFigure.create_polyline()InteractiveFigure.create_vertex()InteractiveFigure.get_artist_for_handle()InteractiveFigure.update_axis_limits()InteractiveFigure.fit_axis_limits()InteractiveFigure.set_view_bbox()InteractiveFigure.fit()InteractiveFigure.zoom()InteractiveFigure.zoom_in()InteractiveFigure.zoom_out()InteractiveFigure.draw_frame()InteractiveFigure.draw_axes()InteractiveFigure.plot()InteractiveFigure.find_artists_at_location()InteractiveFigure.do_shape_action()InteractiveFigure.on_select()InteractiveFigure.on_key_press()InteractiveFigure.on_motion()InteractiveFigure.on_press()InteractiveFigure.on_release()InteractiveFigure.find_artists_and_hilite()InteractiveFigure.set()
update_artist_hiliting()PanActionZoomBoxActionenter_polyline()snap_to_grid_fct()
- rayoptics.mpl.interactivelayout module
InteractiveLayoutInteractiveLayout.opt_modelInteractiveLayout.refresh_guiInteractiveLayout.offset_factorInteractiveLayout.do_draw_partsInteractiveLayout.part_filterInteractiveLayout.do_draw_raysInteractiveLayout.do_draw_beamsInteractiveLayout.do_draw_edge_raysInteractiveLayout.do_draw_ray_fansInteractiveLayout.num_rays_in_fanInteractiveLayout.clip_raysInteractiveLayout.do_paraxial_layoutInteractiveLayout.entity_factory_listInteractiveLayout.sync_light_or_dark()InteractiveLayout.set()InteractiveLayout.update_data()InteractiveLayout.action_complete()InteractiveLayout.fit_axis_limits()
- rayoptics.mpl.styledfigure module