make_random_sky_projection#

lsst.images.tests.make_random_sky_projection(rng, pixel_frame, bbox)#

Create a test sky_projection with random parameters.

Parameters:
  • rng (Generator) – Random number generator.

  • pixel_frame (TypeVar(F, bound= Frame)) – Coordinate frame for the pixel grid.

  • bbox (Box) – Bounding box for the pixel grid.

Returns:

A projection. Guaranteed to be FITS-representable and have no FITS approximation attached.

Return type:

SkyProjection

This page was last modified on .