fast-histogram
fast-histogram copied to clipboard
:zap: Fast 1D and 2D histogram functions in Python :zap:
I'm experimenting with various optimizations in the pulsar search code in HENDRICS (https://github.com/StingraySoftware/HENDRICS/pull/65). One of my bottlenecks was a 2d histogram operation, and I gave a shot to yours. Tested...
Thank you for this package, it is indeed very fast and I am looking forward to using it. There is a discrepancy between your histogram2d function and the numpy equivalent,...
Hi, Thomas First of all, thank you for the package, it's really handy. However, I have a particular problem that might require an additional modification of the code. I have...
At the moment, the ``test_1d_compare_with_numpy`` and ``test_2d_compare_with_numpy`` tests are slightly hacky in how they generate test cases. Here's the code for the 1-d case: https://github.com/astrofrog/fast-histogram/blob/4dbb898d1ad221587262cfb609ef5ae93bda7715/fast_histogram/tests/test_histogram.py#L17-L39 What I'm trying to do...
Hey. I was just playing around with this and was trying to see if there's a way to implement this efficiently with standard libs. My usual way to do things...
This issue is to collect random Hypothesis failures that need investigating
Thanks for writing this fast histogram package. A task that we astronomers tend to do often and repeatedly :) Coming back to the package itself, it seems to me that...
I think it should be possible to rewrite the loops to include OpenMP pragmas. The final update could be protected with `#pragma omp atomic` and you can use `default(shared) private(tx...
Thank you for your cool package! `numpy.histogram` and `numpy.histogram2d` support the `normed` argument, which divides counts by the number of samples and the bin width/area. It would be great if...
updates: - [github.com/pycqa/isort: 5.13.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.13.0...5.13.2) - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.1](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.1) - [github.com/psf/black: 23.11.0 → 24.2.0](https://github.com/psf/black/compare/23.11.0...24.2.0)