Published February 11, 2021
| Version 0.11.0
Software
Open
douglasdavis/pygram11: 0.11.0
Description
- API change: functions calls with
weights=Nonenow returnNoneas the second return. Previously the uncertainty was returned (which is just the square-root of the bin heights); now users can take the square-root themselves, and the back-end does not waste cycles tracking the uncertainty since it's trivial for unweighted histograms. - More types are supported without conversions (previously
np.float64andnp.float32were the only supported array types, and we converted input). Now singed and unsigned integer input (both 64 and 32 bit) are supported.- If unsupported array types are used
TypeErroris now raised. This library prioritizes performance; hidden performance hits are explicitly avoided.
- If unsupported array types are used
- Configurable thresholds have been introduced to configure when OpenMP acceleration is used (described in the documentation).
- The back-end was refactored with some help from boost::mp11 to aid in adding more type support without introducing more boilerplate. We now vendor
boost::mp11as a submodule. - Bumped the vendored pybind11 submodule to v2.6.2.
- C++14 now required to build from source.
- Added Apple Silicon support for Python 3.9 with
libompfrom Homebrew installed at/opt/homebrew. - Documentation improvements
- Renamed
masterbranch tomain.
Files
douglasdavis/pygram11-0.11.0.zip
Files
(306.8 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:a2a16a3f9cff0ec3dbae82431cef6e4d
|
306.8 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/douglasdavis/pygram11/tree/0.11.0 (URL)