make_ramp_array#

lsst.obs.base.tests.make_ramp_array(bbox, pedestal)#

Make a 2-d ramp array.

Parameters#

bboxlsst.geom.Box2I

Bounding box for the array.

pedestalint

Minimum value for the ramp.

Returns#

rampnumpy.ndarray

A 2-d array with shape (bbox.getHeight(), bbox.getWidth()).

endint

One past the maximum value in the ramp (for use as the pedestal for another box).