pandeia_io.get_modes
pandeia_io.get_modes(instrument, type=None)Get the list of available TSO modes for a given instrument.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| instrument | A JWST instrument. | required | |
| type | If set, get only the modes of the specified type: spectroscopy, photometry, or acquisition | None |
Returns
| Name | Type | Description |
|---|---|---|
| modes | 1D list of strings | JWST TSO modes for instrument |