Skip to content

Commit

Permalink
improve tutorial documentation
Browse files Browse the repository at this point in the history
Addresses issue in #212 (comment)

Closes #212
  • Loading branch information
zonca committed Mar 23, 2015
1 parent 61e818f commit ad599a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/tutorial.rst
Expand Up @@ -6,18 +6,18 @@ Creating and manipulating maps

Maps are simply numpy arrays, where each array element refers to a location in the sky as defined by the Healpix pixelization schemes (see the `healpix website`_).

Note: Running the code below in a regular Python session will not display the maps; its recommended that iPython be used:
Note: Running the code below in a regular Python session will not display the maps; it's recommended to use IPython:

.. code-block:: bash
% ipython
...then select the appropriate backend display:

>>> matplotlib inline # for IPython notebook
>>> matplotlib qt # using Qt (e.g. Windows)
>>> matplotlib osx # on Macs
>>> matplotlib gtx # GTK
>>> %matplotlib inline # for IPython notebook
>>> %matplotlib qt # using Qt (e.g. Windows)
>>> %matplotlib osx # on Macs
>>> %matplotlib gtk # GTK

The resolution of the map is defined by the *NSIDE* parameter. The :py:func:`~healpy.pixelfunc.nside2npix` function gives the number of pixel *NPIX* of the map:

Expand Down

0 comments on commit ad599a2

Please sign in to comment.