scikit-hep / histbook

Versatile, high-performance histogram toolkit for Numpy.
BSD 3-Clause "New" or "Revised" License
109 stars 9 forks source link

Hist constructor should have a "filter" method #17

Closed jpivarski closed 6 years ago

jpivarski commented 6 years ago

To apply a cut to the data because weight="where(muonpt > 20, 1, 0)" is less guessable than `filter="muonpt > 20". They'll have the same effect, though.

jpivarski commented 6 years ago

Done.