Skip to content

Commit

Permalink
Version bump (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Oct 24, 2019
1 parent ae8d72c commit 034c720
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
34 changes: 30 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,44 @@
### IN DEVELOPMENT
### Version 0.5.2

* Use relative paths in setup.py to avoid resolving WSL paths on Windows [#162][]
#### User changes:

* `bh.loc` supports an offset [#164][]
* Nicer reprs in several places [#167][]
* Deprecate `.at` and `.axis` [#170][]

#### Bug fixes:

* Use relative paths in setup.py to avoid resolving WSL paths on Windows [#162][], [#163][]
* Better Pybind11 support for Python 3.8 [#168][]

#### Developer changes:

* Serialization code shared with Boost.Histogram [#166][]
* Avoid unused PEP 517 isolation for now [#171][] (may return with proper PEP 518 support eventually)

[#162]: https://github.com/scikit-hep/boost-histogram/pull/162

[#162]: https://github.com/scikit-hep/boost-histogram/pull/162
[#163]: https://github.com/scikit-hep/boost-histogram/pull/163
[#164]: https://github.com/scikit-hep/boost-histogram/pull/164
[#166]: https://github.com/scikit-hep/boost-histogram/pull/166
[#167]: https://github.com/scikit-hep/boost-histogram/pull/167
[#168]: https://github.com/scikit-hep/boost-histogram/pull/168
[#170]: https://github.com/scikit-hep/boost-histogram/pull/170
[#171]: https://github.com/scikit-hep/boost-histogram/pull/171


### Version 0.5.1

#### User changes:

* Removed the `bh.indexed`/`h.indexed` iterator [#150][]
* Added `.axes` AxisTuple, with direct access to properties [#150][]
* Cleaned up tab completion in IPython [#150][]

#### Bug fixes:

* Fixed a bug in the sdist missing Boost.Variant2 [#154][]
* Fixed filling on strided inputs [#158][]
* Cleaned up tab completion in IPython [#150][]



Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Python bindings for [Boost::Histogram][] ([source][Boost::Histogram source]), a C++14 library. This should become one of the [fastest libraries][] for histogramming, while still providing the power of a full histogram object.

> ## 0.5.1: Public beta
> ## Version 0.5.2: Public beta
>
> Please feel free to try out boost-histogram and give feedback.
> Join the [discussion on gitter][gitter-link] or [open an issue](https://github.com/scikit-hep/boost-histogram/issues)!
Expand Down Expand Up @@ -72,12 +72,12 @@ counts = hist.view()
* `bh.storage.double`: Doubles for weighted values (default)
* `bh.storage.int`: 64 bit unsigned integers
* `bh.storage.unlimited`: Starts small, but can go up to unlimited precision ints or doubles.
* `bh.storage.atomic_int`: Threadsafe filling, experimental. Does not support growing axis in threads.
* `bh.storage.atomic_int`: Threadsafe filling, experimental. Does not support growing axis in threads. (`.view` not yet supported`)
* `bh.storage.weight`: Stores a weight and sum of weights squared. (`.view` not yet supported)
* `bh.storage.mean`: Accepts a sample and computes the mean of the samples (profile). (`.view` not yet supported)
* `bh.storage.weighted_mean`: Accepts a sample and a weight. It computes the weighted mean of the samples. (`.view` not yet supported)
* Accumulators
* `bh.accumulator.sum`: High accuracy sum (Neumaier)
* `bh.accumulator.sum`: High accuracy sum (Neumaier) - used by the sum method when summing a numerical histogram
* `bh.accumulator.weighted_sum`: Tracks a weighted sum and variance
* `bh.accumulator.weighted_mean`: Tracks a weighted sum, mean, and variance (West's incremental algorithm)
* `bh.accumulator.mean`: Running count, mean, and variance (Welfords's incremental algorithm)
Expand All @@ -98,7 +98,7 @@ counts = hist.view()
* `.sum(flow=False)`: The total count of all bins
* `.project(ax1, ax2, ...)`: Project down to listed axis (numbers)
* `.reduce(ax, reduce_option, ...)`: shrink, rebin, or slice, or any combination
* Indexing - Supports the Unified Histogram Indexing (UHI) proposal
* Indexing - Supports the [Unified Histogram Indexing (UHI)](https://boost-histogram.readthedocs.io/en/latest/usage/indexing.html) proposal
* Details
* Use `bh.histogram(..., storage=...)` to make a histogram (there are several different types)

Expand Down
2 changes: 1 addition & 1 deletion boost_histogram/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.1"
__version__ = "0.5.2"

0 comments on commit 034c720

Please sign in to comment.