readRawFile

lsst.obs.lsst.utils.readRawFile(fileName, detector, dataId=None)

Read a raw file from fileName, assembling it nicely.

Parameters:
filenamestr

The fully-qualified filename.

detectorlsst.afw.cameraGeom.Detector

Detector to associate with the returned Exposure.

dataIdlsst.daf.butler.DataCoordinate or dict

DataId to use in log message output.

Returns:
exposurelsst.afw.image.Exposure

The assembled exposure from the supplied filename.