make_ramp_array¶
- lsst.obs.base.tests.make_ramp_array(bbox, pedestal)¶
Make a 2-d ramp array.
- Parameters:
- bbox
lsst.geom.Box2I Bounding box for the array.
- pedestal
int Minimum value for the ramp.
- bbox
- Returns:
- ramp
np.ndarray A 2-d array with shape
(bbox.getHeight(), bbox.getWidth()).- end
int One past the maximum value in the ramp (for use as the pedestal for another box).
- ramp