sky_grid#

esis.optics.sky_grid(position, num, axis=('sky_x', 'sky_y'))[source]#

Build a regular grid on the sky spanning the given positions.

Parameters:
  • position (AbstractCartesian2dVectorArray) – Positions on the sky whose extent the grid should span, usually the vertices of the scene.

  • num (int) – The number of samples along each axis.

  • axis (tuple[str, str]) – The logical axes of the grid.

Return type:

Cartesian2dVectorLinearSpace