Skip to content

Commit

Permalink
refs #539, update URLS, reST autoformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 28, 2017
1 parent fde3a65 commit c5b9b75
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion manual/source/colophon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Colophon
========

These docs (manual and reference) were produced using :index:`Sphinx <Sphinx (documentation generator)>`
(http://sphinx.pocoo.org).
(http://sphinx-doc.org).
The :index:`source for the manual <manual source>` shows many examples of the structures
used to create the manual. If you have any questions about
how to contribute to this manual, please contact the NeXus
Expand Down
28 changes: 15 additions & 13 deletions manual/source/examples/lrmecs/index.rst
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
.. _Example-Viewing-LRMECS-Data:

================================================
Viewing 2-D Data from LRMECS
================================================
############################

The IPNS LRMECS instrument stored data in NeXus HDF4 data files.
One such example is available from the repository of NeXus data
file examples.
file examples. [#]_
For this example, we will start with a conversion of that
original data file into *HDF5* format.

:HDF4:
http://svn.nexusformat.org/definitions/exampledata/IPNS/LRMECS/lrcs3701.nxs
:HDF5:
http://svn.nexusformat.org/definitions/exampledata/IPNS/LRMECS/lrcs3701.nx5
====== =============
format file name
====== =============
HDF4 lrcs3701.nxs
HDF5 lrcs3701.nx5
====== =============

This dataset contains two histograms with 2-D images (148x750 and 148x32) of 32-bit integers.
First, we use the ``h5dump`` tool to investigate the header content of the file
(not showing any of the data).

.. [#] LRMECS example data: https://github.com/nexusformat/exampledata/tree/master/IPNS/LRMECS
Visualize Using ``h5dump``
###############################
**************************

Here, the output of the command::

Expand All @@ -30,7 +32,7 @@ Here, the output of the command::
has been edited to only show the first *NXdata* group (``/Histogram1/data``):

LRMECS ``lrcs3701`` data: ``h5dump`` output
++++++++++++++++++++++++++++++++++++++++++++++++++
===========================================

.. literalinclude:: dump-histogram1-data.txt
:tab-width: 4
Expand All @@ -39,7 +41,7 @@ LRMECS ``lrcs3701`` data: ``h5dump`` output


Visualize Using *HDFview*
###############################
*************************

For many, the simplest way to view the data content
of an HDF5 file is to use the *HDFview* program
Expand Down Expand Up @@ -72,7 +74,7 @@ radio button, and then (accepting everything else as a default) press the
LRMECS ``lrcs3701`` data: *HDFview* *Open As* dialog

LRMECS ``lrcs3701`` data: image
++++++++++++++++++++++++++++++++++++++++++++++++++
===============================

.. figure:: hdfview-image.jpg
:width: 80%
Expand All @@ -81,7 +83,7 @@ LRMECS ``lrcs3701`` data: image


Visualize Using *IgorPro*
###############################
*************************

Another way to visualize this data is to use a commercial
package for scientific data visualization and analysis.
Expand Down Expand Up @@ -132,7 +134,7 @@ to display the image.
LRMECS ``lrcs3701`` data: *IgorPro* *HDFBrowser* dialog

LRMECS ``lrcs3701`` data: image
++++++++++++++++++++++++++++++++++++++++++++++++++
===============================

.. figure:: igor-data.jpg
:width: 80%
Expand Down

0 comments on commit c5b9b75

Please sign in to comment.