lsst.obs.base
20.0.0-63-g7191b3b+8ae2fb2912
|
Functions | |
def | registerInstrument (repo, instrument) |
def lsst.obs.base.script.registerInstrument.registerInstrument | ( | repo, | |
instrument | |||
) |
Add an instrument to the data repository. Parameters ---------- repo : `str` URI to the location to create the repo. instrument : `list` [`str`] The fully-qualified name of an Instrument subclass. Raises ------ RuntimeError If the instrument can not be imported, instantiated, or obtained from the registry. TypeError If the instrument is not a subclass of lsst.obs.base.Instrument.
Definition at line 26 of file registerInstrument.py.