make_ramp_exposure_trimmed

lsst.obs.base.tests.make_ramp_exposure_trimmed(detector, dtype=None)

Create a trimmed, assembled exposure with different ramps for each amplifier region.

Parameters:
detector : lsst.afw.cameraGeom.Detector

Detector object that the new exposure should match.

dtype : np.dtype, optional

Type of the new exposure. Defaults to int32.

Returns:
exposure : lsst.afw.image.Exposure

New exposure with the given detector attached.