Commit Graph

96 Commits

Author SHA1 Message Date
Hans Dembinski
739625e531 update copyright notice and renamed axis_iterator 2017-11-28 22:21:03 +01:00
Hans Dembinski
8cee054633 added missing reduce_to to Python 2017-11-13 11:37:44 +01:00
Hans Dembinski
c5094149de refactoring 2017-11-13 10:54:23 +01:00
Hans Dembinski
0637deed4e renaming weight to weight_counter, replacing asserts on user errors with throws, guide improvements 2017-11-10 16:38:58 +01:00
Hans Dembinski
776bcbd4fe improving documentation and tests of using iterator ranges, expanded guide 2017-11-09 16:35:01 +01:00
Hans Dembinski
0923ef3be2 support count keyword on the python side 2017-11-09 12:10:16 +01:00
Hans Dembinski
b40a68bb54 improving examples, and fixed bug in Python histogram constructor, now all axis types are recognized 2017-11-09 11:38:51 +01:00
Hans Dembinski
dbd05fd1cd refactoring, allow iteration over axis::any 2017-11-08 18:10:20 +01:00
Hans Dembinski
d9a792a666 adding and testing operators on the python side 2017-11-08 16:38:44 +01:00
Hans Dembinski
baf81b9d62 fixing issues with generic axis type 2017-11-08 10:48:25 +01:00
Hans Dembinski
1a12c574c6 getting rid of utility functions, tested and fixed bugs related to unusual axis value types 2017-11-07 19:29:22 +01:00
Hans Dembinski
de5ddecbbd make iteration and bin access consistent in python and c++, exclude under/overflow bins now 2017-11-06 14:22:37 +01:00
Hans Dembinski
ba274ed04d use std::type_traits everywhere 2017-11-06 11:49:47 +01:00
Hans Dembinski
76c596dfc4 allocator is gone, accepting any sequence in python for fill is back, refactoring in adaptive_storage 2017-11-05 21:54:14 +01:00
Hans Dembinski
9bb392906d different python interface for transformed axes, more code sharing for array_bases in adaptive_storage, reactivate axis_size test, moved bimap into a pointer to make category axis smaller 2017-11-04 20:03:53 +01:00
Hans Dembinski
0f4c9e25ab added checks for transforms, and be more consistent between c++ and python interface 2017-11-04 11:55:54 +01:00
Hans Dembinski
03c8436f4c fix 2017-11-04 00:32:22 +01:00
Hans Dembinski
14c43544bc added pow transform, transforms can now be used from python 2017-11-04 00:15:50 +01:00
Hans Dembinski
e6ae85cfde cosmetic 2017-11-03 18:41:16 +01:00
Hans Dembinski
7717852168 simpler, restrict numpy arrays to type double 2017-11-03 18:35:01 +01:00
Hans Dembinski
d4cee3ba99 fix build 2017-11-03 00:21:27 +01:00
Hans Dembinski
e12856b03d replaced CApi numpy with boost numpy 2017-11-03 00:13:43 +01:00
Hans Dembinski
ad2d323d92 simplify 2017-11-02 22:39:33 +01:00
Hans Dembinski
b4d3a38961 fix 2017-11-02 21:55:38 +01:00
Hans Dembinski
757d4b0ca4 interface break for axis, new category axis 2017-11-02 21:43:04 +01:00
Hans Dembinski
924b00042d fixed doc strings and some minor changes 2017-10-25 16:18:29 +02:00
Hans Dembinski
3ba9e8e417 make integer type variable, use enum for uoflow option instead of bool for clarity 2017-10-18 18:07:10 +02:00
Hans Dembinski
c6c17ad4a3 use string_view in interface 2017-10-13 17:00:15 +02:00
Hans Dembinski
83e4fcc8a2 fix 2017-09-01 00:51:26 +02:00
Hans Dembinski
dab47e6fa9 support passing individual arays and broadcasting in python histogram; also adapted interface in speed_numpy.py 2017-08-31 22:46:07 +02:00
Hans Dembinski
b71638f603 switching back to axis method 2017-06-04 18:17:42 +02:00
Hans Dembinski
da01e55d89 beauty 2017-06-04 11:57:56 +02:00
Hans Dembinski
ef4898ddc2 put axis in extra namespace, put python axis objects in axis submodule 2017-06-04 11:53:15 +02:00
Hans Dembinski
620c825d77 fix message 2017-05-09 09:56:18 +02:00
Hans Dembinski
c59fa052e1 fixing doc and renaming default_axes to builtin_axes 2017-05-03 00:05:19 +02:00
Hans Dembinski
9272cf896b nicer fill interface and clang-format 2017-05-02 14:22:27 +02:00
Hans Dembinski
ce7046d1a4 fix serialization issues 2017-04-27 13:48:21 +02:00
Hans Dembinski
812b607947 simpler 2017-04-25 10:45:37 +02:00
Hans Dembinski
7bc9bd8016 polishing 2017-03-29 21:15:43 +02:00
Hans Dembinski
493d6c7974 unified both histogram classes 2017-03-28 23:21:21 +02:00
Hans Dembinski
45f461e49c use handle instead of manual reference counting 2017-03-28 21:11:52 +02:00
Hans Dembinski
8fd50d36da make views read-only and dont modified viewed 2017-03-28 09:41:16 +02:00
Hans Dembinski
31aad75893 drop axis method in python 2017-03-27 22:45:45 +02:00
Hans Dembinski
603f3013d6 fixed link 2017-03-27 21:31:53 +02:00
hans.dembinski@gmail.com
10df0cc8e1 a little better 2017-03-27 15:35:22 +02:00
hans.dembinski@gmail.com
f38085daa9 new working adaptive_storage 2017-03-27 15:13:16 +02:00
Hans Dembinski
e2426fbdef clang-formatted code 2017-03-25 17:20:37 +01:00
Hans Dembinski
206818fad4 hide numpy-stuff 2017-03-24 23:41:51 +01:00
Hans Dembinski
5049feae99 test more 2017-03-24 23:38:13 +01:00
Hans Dembinski
4e23deca23 better 2017-03-24 23:03:00 +01:00