LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
obs_test models a simple camera with one CCD and includes a data repository containing a few raw images and some associated calibration data.
obs_test is designed to be used for unit tests that require camera geometry and/or a small data repository.
The obs_test camera consists of a single CCD whose geometry matches a subregion of a single LSST CCD. The chosen LSST CCD is is near, but not at, the center of the LSST focal plane, in order to make the obs_test camera geometry nontrivial and to provide a bit of distortion. A subregion is used (rather than simply using an entire LSST CCD) in order to make the images smaller.
In detail, the obs_test CCD, sensor 0, corresponds to the following LSST CCD subregion:
obs_test CCD amplifiers map as follows to LSST CCD amplifiers:
The data ID keys that may be used to identify "raw" images and (except for "amp") "calexp" images are:
amp
: amplifier name: one of "00", "01", "10", "11" (not used for calexp)ccd
: ccd number: always 0filter
: filter namevisit
: exposure numberLike the LSST camera, the obs_test camera focal plane coordinates are rotated 90 degrees from pixel coordinates. (The focal plane coordinates are determined by the camera engineers, whereas CCD pixel coordinates are required to have x along rows and y along columns).
The data
directory includes the following:
ReadMe.md
: a file describing the data and how it was generatedinput
: the data repository. This includes three raw images and associated flats, biases and defects.utils
: scripts used to generate the data from lsstSim dataUnlike the LSST camera, but like most other cameras, obs_test raw images combine the data from all amplifiers into a single image.
Useful classes include:
To obtain the camera geometry and a raw image: