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 region calculations. |
|
Abstract base class for the subtask of |
|
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 |
|
Information about a complete raw exposure, used during ingest. |
|
Information about a single raw file, used during ingest. |
|
Information about a single dataset within a raw file. |
|
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 |
|
Base class formatter for image-like storage classes stored via FITS. |
|
Concrete formatter for reading/writing |
|
Concrete formatter for reading/writing |
|
Base class interface for image-like storage stored via FITS, written using LSST code. |
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#

lsst.obs.base.camera_tests Module#
Classes#
Tests that the butler returns a useable Camera. |
Class Inheritance Diagram#

lsst.obs.base.butler_tests Module#
Classes#
Tests of obs_* Butler get() functionality. |
Class Inheritance Diagram#

lsst.obs.base.instrument_tests Module#
Classes#
|
Class that implements minimal read/write interface needed to support curated calibration ingest. |
|
Instrument class used for testing. |
|
Specialist formatter for tests that can make a WCS. |
|
Values to test against in subclasses of |
Tests of subclasses of Instrument. |
Class Inheritance Diagram#

lsst.obs.base.ingest_tests Module#
Classes#
Base class for tests of gen3 ingest. |
Class Inheritance Diagram#
