Closed JostMigenda closed 3 years ago
To add to this: When I vary zmax
instead of zmin
, the number of sources does change as I would expect in the second case. So it looks like number 2 is the correct option and there is simply a bug related to zmin
?
Hi @JostMigenda,
Sorry for the late reply. Actually zmin was not supposed to be an option for the user. The reason is that the neutrino flux generated depends on the local density of the source, so the minimum distance to the source can not be at zmin. It is therefore a bug.
I am working on an update that will remove this option.
zmin has been removed in #65
[As part of the JOSS review.]
Here’s a usage example:
And this is the output I got:
The actual flux will vary randomly but is usually between 1e-8 and 2e-8 for zmin=-0.0005 (comparable to the expected flux normalization) while it is between 5.5e-10 and 6e-10 for zmin=4 (i.e. more than 20 times smaller than the expected flux normalization). The number of sources is constant across runs.
I would have expected one of two things:
Neither option appears to be the case. Am I misunderstanding something or is this a bug?