Commit Graph

123 Commits

Author SHA1 Message Date
Hans Dembinski
08ba5c39c4 fixed missing adaptation in python interface 2018-07-16 00:42:31 +02:00
Hans Dembinski
d83fe99cfc renamed axis.hpp to types.hpp 2018-07-14 18:10:44 +02:00
Hans Dembinski
c7bca32b59 cleanup 2018-07-13 01:35:34 +02:00
Hans Dembinski
06d6635684 better coverage, more consistent exceptions, better handling of transforms 2018-07-11 22:41:42 +02:00
Hans Dembinski
7040e58215 simpler 2018-07-08 21:47:41 +02:00
Hans Dembinski
da5f42b3da support for operator[] 2018-07-08 19:12:13 +02:00
Hans Dembinski
b9a35f7b4f renamed method bin to method at 2018-07-05 09:10:04 +02:00
Hans Dembinski
8d25563438 increase test coverage, simplify testing of python stuff, add support for tests which intentionally trigger an assert 2018-07-04 21:34:34 +02:00
Hans Dembinski
e119bf0601 fixed py3 bugs 2018-07-04 00:22:48 +02:00
Hans Dembinski
56ffce6223 fix of build system and some gcc warnings 2018-07-02 21:21:46 +02:00
Hans Dembinski
316789b765 fixed python tests, make debug build by default, started to reduce template dependencies 2018-07-02 13:08:07 +02:00
Hans Dembinski
cfd47c4c11 fixing most of the python errors 2018-07-02 01:01:04 +02:00
Hans Dembinski
dab9c94c6f whitespace 2018-03-28 17:03:18 +02:00
Hans Dembinski
e6c9d717c0 replacing bin method with operator() 2018-03-28 16:51:53 +02:00
Hans Dembinski
88ccfee628 simplified and corrected headers 2018-03-14 23:16:35 +01:00
Hans Dembinski
ce93a88986 renamed Storage::bin_type to element_type; added Storage::const_reference; renamed histogram::bin_iterator to const_iterator; added bin(unsigned) method to histogram::const_iterator, which returns the current bin_type for that dimension 2018-03-13 00:26:41 +01:00
Hans Dembinski
d6b88544c2 fix for last commit 2018-03-11 23:59:19 +01:00
Hans Dembinski
698e94e0d2 simpler 2018-03-11 23:55:00 +01:00
Hans Dembinski
3a7c8cb715 always return matching types in bin_views 2018-03-11 20:51:03 +01:00
Hans Dembinski
37ccf6d80c finally elegant iteration over axis bins 2018-03-11 19:59:03 +01:00
Hans Dembinski
fe4bd1701d switched to lazy interval_view to improve performance 2018-03-11 17:08:13 +01:00
Hans Dembinski
460b417338 slightly more coverage 2018-03-10 22:51:08 +01:00
Hans Dembinski
541ca5eb32 simplification and clean-up 2018-03-02 17:21:28 +01:00
Hans Dembinski
8b11d8cdc5 fixed all the bugs and all the tests 2018-03-01 18:11:50 +01:00
Hans Dembinski
f1b711d634 separate bin type properties from histogram interface, made interface more flexible, histogram_test is failing, needs investigation 2018-03-01 15:57:55 +01:00
Hans Dembinski
3e825b449a make type of weight argument flexible, added sample type, some simplification to fill argument parsing 2018-02-28 23:07:36 +01:00
Hans Dembinski
d6b06a0022 back to histogram master template 2017-12-10 20:05:35 +01:00
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