The lsst.obs.test module provides tests for the obs package framework and camera descriptions.

A small repository of test data (raw images and calibration data) is available in the data/input/ directory of the obs_test package.


lsst.obs.test is developed at You can find Jira issues for this module under the obs_test component.

Python API reference

lsst.obs.test Package


RawAndFlatAssembler(dataId, componentInfo, cls)
RawAndFlatDisassembler(obj, dataId, …)


MakeTestRawVisitInfo([log]) Make a VisitInfo from the FITS header of a test image.
MapperForTestCalexpMetadataObjects(root[, …]) Minimal mapper for testing calexp composite access, e.g.
RawAndFlatContainer(a, b)
TestConfig Config intended for unit tests.
TestMapper([inputPolicy]) Camera mapper for the Test camera.