XY_test_points

lenstest.lenstest.XY_test_points(D, N=100000, on_grid=False)[source]

Generate test points for lens test.

The generated points all fall within a circle of radius D.

Parameters:
  • D – diameter of mirror [mm]

  • N – number of points to generate

  • on_grid – if False generate points on a grid

Returns:

X, Y – arrays of test points