gcr_convert
converts cosmic-ray files from GALPROP for viewing / plotting.
...=0 or (x,y) at z=0, in each case for a chosen cosmic-ray species.
The third axis is momentum in each case. The distribution can be viewed with fv as a colour image, contoured, output to a file etc.
The program is stand-alone and requires only the cfitsio library to be installed. Build instructions are in the program header.
The FITS.cc/FITS.h class used provides simple convenient access to image data, useful also for other projects.
For fv and cfitsio see http://heasarc.gsfc.nasa.gov/fitsio