Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement `WcsNDMap.sample()` and remove `MapEventSampler` #2343
Following the PR in https://github.com/fabiopintore/gammapy/blob/event_sampling_pig/docs/development/pigs/pig-009.rst, the MapEventSampler class should be removed by the current gammapy.utils.random.inverse_cdf.py.
Thanks @fabiopintore, the PR looks much better now!
Unfortunately there is now a merg conflict. Can you please rebase against the latest master (