API for lenstest package

lenstest.lenstest Module

Utility routines for lens testing.

Documentation and examples are available at <https://lenstest.readthedocs.io>

Functions

XY_test_points(D[, N, random])

Generate test points for lens test.

knife_polygon(r, phi[, dx])

Create a polygon for a knife edge.

circle_polygon(R[, X0, Y0])

Create a polygon for a circle.

draw_circle(R[, X0, Y0, color])

Draw a circle.

sagitta(RoC, conic, X, Y[, A1])

Calculate sagitta for conic surface at points X,Y.

lenstest.ronchi Module

Generate ronchigrams for lens testing.

Documentation and examples are available at <https://lenstest.readthedocs.io>

Functions

ronchi_mask(RoC, lpm, z_offset, conic, X, Y)

Create Ronchigram with random points.

ronchigram(D, RoC, lpm, z_offset, conic[, ...])

Create Ronchigram for points on a grid or randomly selected.

ronchi_plot(D, RoC, lp_per_mm, z_offset, conic)

Plot the Surface Ronchigram.

lenstest.foucault Module

Generate Foucaugrams (Foucault Knife Edge images) for lens testing.

Documentation and examples are available at <https://lenstest.readthedocs.io>

Functions

foucault_mask(RoC, x_offset, z_offset, ...)

Create Foucault knife edge image with specified points.

foucaugram(D, RoC, x_offset, z_offset, conic)

Create Ronchigram for points on a grid or randomly selected.

foucault_plot(D, RoC, x_offset, offset, conic)

Plot the Foucault knife edge image.