Simple and fast histogramming in Python accelerated with OpenMP.
MIT License
Published by douglasdavis over 4 years ago
Published by douglasdavis over 4 years ago
No real changes; minor release to fix conda-forge build on macOS
Published by douglasdavis over 4 years ago
No real changes; minor release to fix MANIFEST.in
for conda-forge builds.
Published by douglasdavis over 4 years ago
omp
function argument deprecatedomp_max_threads
renamed to omp_get_max_threads
to mirror OpenMP C APIomp_available
function removed__init__.py
) (without changing public API)Published by douglasdavis about 5 years ago
pygram11.OPENMP
:
pygram11.omp_available() -> bool
checks for availabilitypygram11.omp_max_threads() -> int
checks for the maximum available threadspygram11.OPENMP
will be removed in a future releasePublished by douglasdavis about 5 years ago
This is the first release dropping Python 2 support
Published by douglasdavis about 5 years ago
setup.py
such that setuptools
doesn't try to install numpy via easy_install
(remove unnecessary setup_requires
argument)._max_threads
attribute to pygram11._core
.delocate
to ensure OpenMP symbols are bundled).Published by douglasdavis about 5 years ago
fix1dmw
and var1dmw
weights
argument will use this feature as well.Published by douglasdavis about 5 years ago
Second 0.5 series alpha.
Published by douglasdavis about 5 years ago
First alpha for 0.5.x release series. This is meant to test manylinux2010
wheels uploaded to PyPI.
Published by douglasdavis over 5 years ago
A breaking change to the API w.r.t. returns. All functions now return sum of weights squared, even if it's None
. The histogramming functions previously had a single array returned if weights were not used. Now None
is returned if no weights are used
>>> x = np.random.randn(1000)
>>> w = np.random.uniform(0.5, 0.8, x.shape[0])
>>> pygram11.histogram(x, bins=5, range=(-3, 3))
(array([ 30., 249., 450., 227., 41.]), None)
>>> pygram11.histogram(x, bins=5, range=(-3, 3), weights=w)
(array([ 19.97159325, 162.31069262, 291.30576246, 147.4478516 ,
27.12625336]), array([ 3.66815712, 10.36897935, 13.85860416, 9.86909866, 4.27544407]))
before this release the first histogram
function call would not return a two entry tuple.
Published by douglasdavis over 5 years ago
Tagging minor release for documentation updates
Published by douglasdavis over 5 years ago
1D histograms now have a flow
argument, when True
the under and overflow contents are included in the first and last bins, respectively.
Published by douglasdavis over 5 years ago
Backend maintenance
std::move
Published by douglasdavis over 5 years ago
omp
argument to be "auto"
.
len(data) > 1e4
, for variable width histograms its used for len(data) > 1e3
. This is the new default.std::move
).Published by douglasdavis over 5 years ago
density
argument for one dimensional histogramspygram11.utils
module, houses a densify1d
function used internally by the histogramming functions if the density
argument is True
.Published by douglasdavis over 5 years ago
First release to work with conda-forge.
Published by douglasdavis over 5 years ago
Updated linker flags in setup.py
for conda-forge OpenMP on macOS attempt.
Published by douglasdavis over 5 years ago
Release with a cleaner setup.py
OpenMP discovery workflow.