Skip to content

Commit

Permalink
Fix docs example
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz authored and volodymyrss committed Mar 30, 2022
1 parent b1b84c7 commit 2feedad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/atomic/atomic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ In the following Python session you can see the ``atomic`` package in
action. Note that Hz is actually not a supported unit by Atomic Line List,
the atomic package takes care to support all spectral units.

.. code-block:: python
.. doctest-remote-data::

>>> from astropy import units as u
>>> from astroquery.atomic import AtomicLineList
>>> wavelength_range = (15 * u.nm, 1.5e+16 * u.Hz)
>>> AtomicLineList.query_object(wavelength_range, wavelength_type='Air', wavelength_accuracy=20, element_spectrum='C II-IV')
>>> AtomicLineList.query_object(wavelength_range=wavelength_range, wavelength_type='Air',
... wavelength_accuracy=20, element_spectrum='C II-IV')
<Table length=3>
LAMBDA VAC ANG SPECTRUM TT ... J J A_ki LEVEL ENERGY CM 1
float64 str4 str2 ... str5 float64 str18
float64 str4 str2 ... str5 float64 str18
-------------- -------- ---- ... ----- ----------- ------------------
196.8874 C IV E1 ... 1/2-* 91300000.0 0.00 - 507904.40
197.7992 C IV E1 ... 1/2-* 118000000.0 0.00 - 505563.30
Expand Down

0 comments on commit 2feedad

Please sign in to comment.