awkward icon indicating copy to clipboard operation
awkward copied to clipboard

Public broadcast wrapper and recursively_apply tool

Open nsmith- opened this issue 5 years ago • 0 comments

Both functions in awkward1._util are used a few times in coffea. The wrapper function that broadcasts and flattens inputs for numpy ufuncs was copied in a simplified form to coffea lookup_tools: https://github.com/CoffeaTeam/coffea/blob/master/coffea/lookup_tools/lookup_base.py#L19-L45 The recursively_apply function is used to make sure a index take operates on the flat array in NanoEvents cross-references.

nsmith- avatar Nov 05 '20 01:11 nsmith-