Skip to content

Commit

Permalink
DOC: point to image generation script
Browse files Browse the repository at this point in the history
in comment in RST file.  Add more specifics of needed images in script
comments.
  • Loading branch information
matthew-brett committed Aug 26, 2014
1 parent f4811ab commit 9f60922
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/source/coordinate_systems.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ has a red box that shows the position of the slice block for
``someones_epi.nii.gz`` and a blue box for the slice block of
``someones_anatomy.nii.gz``:

.. images generated by <nibabel>/doc/source/scripts/make_coord_examples.py
.. _localizer-image:

.. image:: /images/localizer.png
Expand Down
8 changes: 6 additions & 2 deletions doc/source/scripts/make_coord_examples.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/usr/bin/env python
""" Make graphics and example image for coordinate tutorial
Expects MNI nonlinear template t1 and t2 images in directory of script.
Expects MNI nonlinear template t1 and t2 images in directory of script -
specifically these files:
Requires nipy and matplotlib
* mni_icbm152_t1_tal_nlin_asym_09a.nii
* mni_icbm152_t2_tal_nlin_asym_09a.nii
Requires nipy and matplotlib.
Executing this script generates the following files in the current directory:
Expand Down

0 comments on commit 9f60922

Please sign in to comment.