|
lsst.obs.base
20.0.0-69-g8f355a9+701c885a11
|
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.
1.8.18