It is currently Wed Dec 11, 2024 2:59 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: bug in cplot
PostPosted: Fri Nov 14, 2008 3:12 am 
Offline

Joined: Thu Apr 17, 2008 8:26 am
Posts: 4
Location: Aachen
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 4127 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group