astrofrog / astrofrog/fast-histogram

allow density/normed argument

Open
#8 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
C
Stars
281
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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 fast-histogram could support this as well.

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare fast-histogram's public 1D and 2D histogram entry points with numpy.histogram and numpy.histogram2d, focusing on their normed argument behavior. Confirm the expected normalization by sample count and bin width or area, then add coverage for both dimensions; done means the package accepts the argument and matches NumPy's results.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.