gcr_convert
converts cosmic-ray files from GALPROP for viewing / plotting.
The GALPROP program (http://galprop.stanford.edu) computes cosmic-ray propagation in the Galaxy, in 2D or 3D. The ouput cosmic-ray distribution is in the form of FITS files which however are not convenient for viewing or plotting with the standard ftools program fv, since the files have 4 or 5 dimensional arrays (due to the momentum and species axes) while fv handles only 3 dimensional arrays. This program converts to fv-compatible FITS files, either from 2D to (R,z) or from 3D to (x,z) at...