Skip to content

Commit 0475354

Browse files
committed
DOC: reword the multiple lines in linename
1 parent 619798c commit 0475354

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/nist/nist.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ nanometer, or angstrom or the like. For example, to use a lower wavelength
1818
value of 4000 Angstroms, you should use ```4000 * u.AA``` and if you want the
1919
same in nanometers, just use ```400 * u.nm```. Of course there are several optional
2020
parameters you can also specify. For instance use the ``linename`` parameter to
21-
specify the spectrum you wish to fetch. By default this is set to "H I", but
22-
you can set it to several other values like "Na;Mg", etc. Lets now see a simple example.
21+
specify the spectrum you wish to fetch.
22+
``linename`` also accepts multiple line strings in an iterable (e.g. ``["Na", "H I"]``)
23+
or you can specify multiple lines as a single string value separated with a
24+
semicolon (e.g. ``"Na;Mg"``). Now let's see a simple example:
2325

2426
.. doctest-remote-data::
2527

0 commit comments

Comments
 (0)