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:
detectorlsst.afw.cameraGeom.Detector

Detector object that the new exposure should match.

dtypenumpy.dtype, optional

Type of the new exposure. Defaults to int32.

Returns:
exposurelsst.afw.image.Exposure

New exposure with the given detector attached.