Resample
Given a 1d array x
, find a list of indices idx
such that the density of x[idx]
is uniform.
Notice that the difficulty is in finding the indices, not the values.
Install
Install via pip in editable mode:
pip install -e .
Tests
Run the tests with
pytest -v tests
Author
Francesc Font-Clos Jan 2019