lsst.obs.base
19.0.0-64-gf672fef+2
|
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 : `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.