plot_ruling_and_screen

lenstest.ronchi.plot_ruling_and_screen(D, RoC, lpm, z_offset, conic=0, phi=0, init=True, on_grid=False, invert=False)[source]

Plot cross-sections at Ronchi ruling and projection screen.

The idea is to graph both the beam on the ruling and the expected projection on a screen located at the radius-of-curvature away from the focus. This allows rapid visualization or roughly how much of the Ronchi ruling interacts with the screen.

The beam size is limited by the diffraction focus limit of the beam (assuming a 1000nm wavelength).

Parameters:
  • D – diameter of mirror [mm]

  • RoC – radius of curvature of mirror [mm]

  • lpm – line pairs per mm [1/mm]

  • z_offset – axial z_offset of grating from true focus [mm]

  • conic – conic or Schwartzchild constant [-]

  • phi – CCW rotation of Ronchi ruling from vertical [radians]

  • init – set to False to allow updating plots

  • on_grid – if False generate points on a grid

  • invert – set to True to invert ruling

Returns:

fig – matplotlib Figure object representing the plot ax: matplotlib Axes object representing the plot