Commit Graph

95 Commits

Author SHA1 Message Date
Hans Dembinski
a1cecfb698 wip 2018-08-06 22:58:29 +02:00
Hans Dembinski
109a7183ab WIP: everything compiles but most of histogram class is broken 2018-08-06 00:31:45 +02:00
Hans Dembinski
d1a3541bdb simplify 2018-08-01 00:07:51 +02:00
Hans Dembinski
e8bd056d8e fixed all tests 2018-07-31 22:30:03 +02:00
Hans Dembinski
c67329ffb4 more coverage 2018-07-22 17:30:49 +02:00
Hans Dembinski
d4dbae92f5 clang-format everything 2018-07-21 17:27:18 +02:00
Hans Dembinski
08ba5c39c4 fixed missing adaptation in python interface 2018-07-16 00:42:31 +02:00
Hans Dembinski
c7bca32b59 cleanup 2018-07-13 01:35:34 +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
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
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
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
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
0f4c9e25ab added checks for transforms, and be more consistent between c++ and python interface 2017-11-04 11:55:54 +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
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
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