lsst.obs.base#
The lsst.obs.base module provides the framework and common API for telescope/camera specific “obs” packages.
New cameras will derive from the classes defined here.
lsst.obs.base.tests provides the tests that all “obs” packages should pass.
Changes#
Using lsst.obs.base#
Contributing#
lsst.obs.base is developed at lsst/obs_base.
You can find Jira issues for this module under the obs_base component.
Command Line Interface#
daf_butler implements a command line interface command called butler. The following subcommands are
implemented by this package and available to the butler command when this package is setup.
Python API reference#
lsst.obs.base Package#
Functions#
|
Modify the given header to include provenance headers. |
|
Return a Box2I corresponding to an IRAF-style BBOX. |
|
Create a SkyWcs from the visit information and detector geometry. |
|
Create a SkyWcs from the telescope boresight and detector geometry. |
|
Parse an ISO time, potentially from a calibration valid start time, and convert to form suitable for use in a curated calibration filename. |
|
Attempt to load versioned camera geometry from a butler, but fall back to obtaining a nominal camera from the |
|
Construct an exposure DimensionRecord from |
|
Create a Config field with options for transferring data between repos. |
Remove all FITS headers relating to butler provenance. |
Classes#
|
Configure visit definition. |
|
Driver Task for defining visits (and their spatial regions) in Gen3 Butler repositories. |
|
The definition of an instrument's filter bandpass. |
|
An order-preserving collection of multiple |
|
Abstract base class for reading and writing raw data to and from FITS files. |
|
Configure exposure grouping. |
|
Abstract base class for the subtask of |
For handling failures when creating a SkyWcs from a camera geometry and boresight. |
|
|
Rubin-specified base for instrument-specific logic for the Gen3 Butler. |
|
Base class functor to make a VisitInfo from the FITS header of a raw image using |
|
Configuration class for RawIngestTask. |
|
Driver Task for ingesting raw data into Gen3 Butler repositories. |
|
A helper class for stacking astropy tables without having them all in memory at once. |
|
Struct representing a group of exposures that will be used to define a visit. |
|
Enumeration used to label different visit systems. |
Class Inheritance Diagram#

lsst.obs.base.tests Module#
Functions#
|
Make a 2-d ramp array. |
|
Create a trimmed, assembled exposure with different ramps for each amplifier region. |
|
Create an untrimmed, assembled exposure with different ramps for each sub-amplifier region. |
Classes#
|
Aggregator class for all of the obs_* test classes. |
Class Inheritance Diagram#

lsst.obs.base.formatters.fitsExposure Module#
Functions#
|
Preprocess the Exposure storage class's "amp" and "detector" parameters. |
Classes#
|
Concrete formatter for reading/writing |
|
Concrete formatter for reading/writing |
|
Concrete formatter for reading/writing |
|
Concrete formatter for reading/writing |
Class Inheritance Diagram#

lsst.obs.base.formatters.fitsGeneric Module#
Classes#
|
Interface for reading and writing objects that support the standard afw I/O readFits/writeFits methods. |
Class Inheritance Diagram#
