make_random_projection#

lsst.images.tests.make_random_projection(rng: Generator, pixel_frame: F, bbox: Box) Projection#

Create a test 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#

Projection

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