Coverage for python/lsst/sims/coordUtils/LsstCameraMethod.py : 40%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from lsst.obs.lsstSim import LsstSimMapper
2import lsst.log as lsstLog
5__all__ = ["lsst_camera"]
8def lsst_camera():
9 """
10 Return a copy of the LSST Camera model as stored in obs_lsstSim.
11 """
12 if not hasattr(lsst_camera, '_lsst_camera'):
13 lsstLog.setLevel('CameraMapper', lsstLog.WARN)
14 lsst_camera._lsst_camera = LsstSimMapper().camera
16 return lsst_camera._lsst_camera