Skip to content

Commit

Permalink
DOC: reword the multiple lines in linename
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Mar 31, 2023
1 parent 619798c commit c56d370
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/nist/nist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ nanometer, or angstrom or the like. For example, to use a lower wavelength
value of 4000 Angstroms, you should use ```4000 * u.AA``` and if you want the
same in nanometers, just use ```400 * u.nm```. Of course there are several optional
parameters you can also specify. For instance use the ``linename`` parameter to
specify the spectrum you wish to fetch. By default this is set to "H I", but
you can set it to several other values like "Na;Mg", etc. Lets now see a simple example.
specify the spectrum you wish to fetch.
``linename`` also accepts multiple line strings in an iterable (e.g. ``["Na", "H I"]``)
or you can specify multiple lines as a single string value separated with a
semicolon (e.g.``"Na;Mg"``). Now let's see a simple example:
.. doctest-remote-data::
Expand Down

0 comments on commit c56d370

Please sign in to comment.