bin1d_vec(p, bins, right_continuous=False)¶
Efficient implementation of binning routine on 1D Cartesian Grid.
Returns the indices of the points into bins. Bins are inclusive on the lower bound and exclusive on the upper bound. In the case where a point does not fall within the bins a -1 will be returned. The last bin extends to infinity when right_continuous is set as true.