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

bug in cplot
https://galprop.stanford.edu/forum/viewtopic.php?f=9&t=63
Page 1 of 1

Author:  Beischer [ Fri Nov 14, 2008 3:12 am ]
Post subject:  bug in cplot

Hey everyone.

Although this is only indirectly related to the galprop code, I wanted to let you know that I think I found a bug in the cplot routine.

In plot_fitsfile.cc the solar modulation of the electron/positron spectra is incorrect because instead of the nucleon mass Mp one should use the electron mass. I changed my code accordingly and attached my version of the file.

Cheers
Bastian

Attachments:
plot_fitsfile.cc [42.5 KiB]
Downloaded 4130 times

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