make_random_sky_projection#

lsst.images.tests.make_random_sky_projection(rng: Generator, pixel_frame: F, bbox: Box) SkyProjection#

Create a test sky_projection with random parameters.

Parameters#

rng

Random number generator.

pixel_frame

Coordinate frame for the pixel grid.

bbox

Bounding box for the pixel grid.

Returns#

SkyProjection

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