Sven Dildick
Sven Dildick
@nsmith- Thanks. I might be able to use that as a temporary solution until a suitable function becomes available.
@nsmith- So I tried hooking up your solution in my script. I think something is wrong. If I use this sim_muons array ``` sim_muons = ak.zip( { "pt": ak.Array([[], [],...
And the output remains the same when I add more muons which match to the same cluster ``` sim_muons = ak.zip( { "pt": ak.Array([[], [], [20.0, 30.0, 40, 50, 60]]),...
Changing to ```ak.any(sim_muons.clusters.bx == 0, axis=2)``` seems to do the trick. It now prints ``` [[], [], [False, False, True, True, True]] ``` @nsmith- Another question I'm struggling with: how...
@nsmith, so I tried your solution. Strangely enough, the procedure works outside an encapsulating function, but once in a separate function, it does not... I have been trying to figure...
I made a slight change to the function, added "dest_name" so that ``` def embed_crossref(source, idx_name, dest, dest_name): """Embed a cross-reference Parameters ---------- source : ak.Array any array with shape...
Thanks Jim! We will give it a try.