You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NuRadioMC/simulation/simulation.py, an issue arises specifically with the "efield_idl1_spice" emitter model, where, even if you set the pulse you want to use when you generate data with the iN variable as follows (where nonRandomPulse_number is a variable between 0 and 9):
...the simulation seems to override the iN input and goes back to randomly picking one of the 10 pulses.
I think this issue is somewhere in lines 835-851 of simulation.py, or otherwise is related to the fact that iN doesn't seem to be passed in as a key to the emitter anywhere even if it's set in the data generation step.
(This is admittedly really niche, and I have a simple hack to get around it for now so it doesn't need a fix urgently. But figured it was worth bringing up anyway, especially since the emitter class is in the main branch now.)
The text was updated successfully, but these errors were encountered:
In NuRadioMC/simulation/simulation.py, an issue arises specifically with the "efield_idl1_spice" emitter model, where, even if you set the pulse you want to use when you generate data with the
iN
variable as follows (wherenonRandomPulse_number
is a variable between 0 and 9):data_sets["iN"] = nonRandomPulse_number * np.ones(n_events)
...the simulation seems to override the
iN
input and goes back to randomly picking one of the 10 pulses.I think this issue is somewhere in lines 835-851 of simulation.py, or otherwise is related to the fact that
iN
doesn't seem to be passed in as a key to the emitter anywhere even if it's set in the data generation step.(This is admittedly really niche, and I have a simple hack to get around it for now so it doesn't need a fix urgently. But figured it was worth bringing up anyway, especially since the emitter class is in the main branch now.)
The text was updated successfully, but these errors were encountered: