Skip to content

Commit

Permalink
ptrac usage description and another author
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrachem committed Jul 1, 2013
1 parent 76238ce commit ccb03d3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
32 changes: 31 additions & 1 deletion pyne_ans2013w.tex
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
\usepackage{graphicx}
\usepackage{tabls}
\usepackage{hyperref}
\usepackage{listings}
%

%General Short-Cut Commands
Expand Down Expand Up @@ -75,8 +76,9 @@
\title{PyNE Progress Report}

\author{Anthony Scopatz\superscript{A}, Elliott D. Biondo\superscript{A},
John Xia\superscript{C}}
Carsten Brachem\superscript{B}, John Xia\superscript{C}}
\affil{\textbf{A:} The University of Wisconsin-Madison,
\textbf{B:} Technische Universit\"at Dresden,
\textbf{C:} The University of Chicago\\
[email protected]}

Expand Down Expand Up @@ -154,6 +156,34 @@ \subsection{MCNP Support}
for reading event information and metadata associated with the run.
It also has a built-in function to write the particle tracks directly
to a file in the well-known HDF5 format \cite{hdf5}.
A small command line utility program called \verb|ptrac_to_hdf5| is
provided to make converting PTRAC files as convenient as possible
for the common use case. Figure \ref{fig_ptractohdf5} shows the usage
description of the conversion program.

\begin{figure}
\begin{lstlisting}[frame=single,basicstyle=\scriptsize]
usage: ptrac_to_hdf5 [-h] [-n TABLE_NAME] [-t TABLE_TITLE] [-s]
ptrac_file hdf5_file

write the contents of a MCNP PTRAC file to a HDF5 table

positional arguments:
ptrac_file MCNP PTRAC file to read from
hdf5_file HDF5 file to write to (will be created if it does not
exist)

optional arguments:
-h, --help show this help message and exit
-n TABLE_NAME, --table-name TABLE_NAME
name of the HDF5 table (default is "ptrac")
-t TABLE_TITLE, --table-title TABLE_TITLE
title of the HDF5 table (default is "Ptrac data")
-s, --show-progress show progress indicator
\end{lstlisting}
\caption{Usage description of the PTRAC to HDF5 command line utility.}
\label{fig_ptractohdf5}
\end{figure}

\subsection{ENDF Reader Support}

Expand Down
2 changes: 1 addition & 1 deletion refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ @phdthesis{wilson_alara:_1999
},
@misc{hdf5,
author = {The HDF Group},
author = {{The HDF Group}},
title = {Hierarchical data format version 5},
year = {2000-2010},
url = {http://www.hdfgroup.org/HDF5},
Expand Down

0 comments on commit ccb03d3

Please sign in to comment.