Allow spectral resolution as velocity

This commit is contained in:
2020-06-30 11:30:32 +02:00
parent 76727a5c73
commit fc5e7dfb7c
2 changed files with 10 additions and 3 deletions

View File

@ -58,7 +58,7 @@ Attributes:
* | **val:** float
| The value of the spectral resolution.
* | **val_unit:** str, *optional* = ""
| The unit of the spectral resolution. This has to be emtpy (dimensionless). The default is ``dimensionless``.
| The unit of the spectral resolution. This has to be emtpy (dimensionless) or one of [``m/s``, ``km/s``]. The default is ``dimensionless``.
.. note::
Either :ref:`wl_delta` or :ref:`res` must be given in the configuration.