CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
71 stars 69 forks source link

seperate output files for various channels #158

Closed saikatxdas closed 6 years ago

saikatxdas commented 6 years ago

Hi,

What is the correct way to write the output from various channels of secondary particle production in different output files? For eg., while propagating secondary neutrinos, is there a way I can separate out the neutrinos from beta-decay and pion decay in two different output files?

saikatxdas commented 6 years ago

Also, is there a separate beta-decay module, or does NuclearDecay( ) takes care of it?

lukasmerten commented 6 years ago

Beta decay is included in NuclearDecay().

saikatxdas commented 6 years ago

Thank you. Can you say something about my 1st question? How does one separate the various channels of neutrino production in separate output files? @lukasmerten

avvliet commented 6 years ago

It is at the moment not possible to separate the various channels of neutrino production in separate output files. But the type of neutrino that you get is given in the output file (12 = electron neutrino, 14 = muon neutrino), with a '-' in case of the anti-particles. You can use that to separate the various channels after the simulation.

saikatxdas commented 6 years ago

Okay. Thank you. That suffices to answer my query. Thank you very much

Saikat

avvliet commented 6 years ago

You're welcome. Arjen