GALPROP
https://galprop.stanford.edu/forum/

plot in configuration viewer
https://galprop.stanford.edu/forum/viewtopic.php?f=24&t=140
Page 1 of 1

Author:  whpark92 [ Tue Jan 03, 2012 4:22 pm ]
Post subject:  plot in configuration viewer

Hello, everyone.
I have questions for plotting results in the webrun configuration viewer.
The first when I follow the manual, the primary electron/positron and the secontray electron/positiron can be separated, but I could not in webrun.
Please let me know how can I plot them respectively.
Another question is for the solar modulation. I just conveniently use it in the webrun, but when I apply the solar modulation in my code, it is not easy for me although followed several papers. I expect any comments for the solar modulation especially calculation code is more helpful for me. Thank you.

WungHoa Park.

Author:  avladim [ Tue Jan 03, 2012 4:47 pm ]
Post subject:  Re: plot in configuration viewer

Hello Wunghoa,

Unfortunately, we currently cannot plot the spectrum of secondaries in WebRun. In order to find the spectrum of secondary particles, you will have to make two GALPROP runs:

(1) one with secondary particles and
(2) one without them,

and then find the spectrum of secondaries as the total flux of (1) minus the total flux of (2).

Be careful: FITS files contain columns for "primary" and "secondary" particles, but these are not the "secondaries" in the usual sense. Those are CR particles that have undergone at least one inelastic collision. The correct way to find the flux of secondary leptons is to make two GALPROP calculations (with and without secondary leptons) and then subtract the total fluxes.

To plot the spectra, you can modify our tool PlotGalprop to suit your needs. It can be downloaded from this page
http://galprop.stanford.edu/resources.php?option=routines
and the direct link is
http://galprop.stanford.edu/download/routines/plot_galprop.py.gz

This tool is used by WebRun to make plots. Inside you can find the Solar modulation algorithm in the simple modulation potential model.

Author:  whpark92 [ Wed Jan 04, 2012 12:59 am ]
Post subject:  Re: plot in configuration viewer

Thank you very much.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/