gcr_convert Icon

gcr_convert

converts cosmic-ray files from GALPROP for viewing / plotting.

4.0 Stars (2)
0 Downloads (This Week)
Last Update:
  Browse Code Git Repository

Description

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 y=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

gcr_convert Web Site

Categories

Astronomy

Features

  • 28 Oct 2013: gcr_convert.cc replaced by V2. Now species indexing starts at 1 as in the FITS header, instead of starting with 0 as in the original version. .
  • 15 Nov 2013: gcr_convert.cc replaced by V3: include cstdio to resolve sscanf reference
  • For GALPROP updates see https://sourceforge.net/projects/galprop/

KEEP ME UPDATED

Other Useful Business Software

Protect your Network & Cloud Assets with USM Anywhere Icon

Discover a better way to detect & respond to threats before they impact your business with AlienVault USM Anywhere.

Protect your Network & Cloud Assets with USM Anywhere Icon
AlienVault® Unified Security Management™ (USM™) is an innovative approach to security monitoring, delivered in a unified platform. The USM platform includes five essential security capabilities that provide resource-constrained organizations with everything they need for effective threat detection, incident response, and compliance management, in a single pane of glass.

User Ratings

★★★★★
★★★★
★★★
★★
0
2
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    to astrotula: try adding at the top: #include <cstdio> If that works I will update it.

    Posted 11/14/2013
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I'm getting the error: gcr_convert.cc:81: error: ‘sscanf’ was not declared in this scope

    Posted 11/06/2013
Read more reviews

Additional Project Details

Intended Audience

Science/Research

Programming Language

C++

Registered

2013-09-08

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

No, thanks