Closed tomaskontrimas closed 1 year ago
There is potential for ~53% speedup when creating analysis (detector signal yields).
We could sort data_sin_true_dec once, pass idxs to hist function and apply them to data_sin_true_dec, data_true_energy and weights.
data_sin_true_dec
idxs
hist
data_true_energy
weights
https://github.com/icecube/skyllh/blob/a5c6185fa25dcdc46dca0084296282ba226a3542/skyllh/i3/detsigyield.py#L643 https://github.com/icecube/skyllh/blob/a5c6185fa25dcdc46dca0084296282ba226a3542/skyllh/i3/detsigyield.py#L613
Can we close this issue? 😃
It will be closed automatically once I merge the parameter_handling branch!
I've also tried to mark such issues with Fixed in SkyLLH v2 milestone
Fixed in SkyLLH v2
There is potential for ~53% speedup when creating analysis (detector signal yields).
We could sort
data_sin_true_dec
once, passidxs
tohist
function and apply them todata_sin_true_dec
,data_true_energy
andweights
.https://github.com/icecube/skyllh/blob/a5c6185fa25dcdc46dca0084296282ba226a3542/skyllh/i3/detsigyield.py#L643 https://github.com/icecube/skyllh/blob/a5c6185fa25dcdc46dca0084296282ba226a3542/skyllh/i3/detsigyield.py#L613