mirror of
https://github.com/boostorg/histogram.git
synced 2026-02-23 15:52:11 +00:00
11 lines
316 B
Python
11 lines
316 B
Python
# also see examples/create_python_fill_cpp.py and examples/module_cpp_filler.cpp
|
|
import histogram as bh
|
|
import cpp_filler
|
|
|
|
h = bh.histogram(bh.axis.regular(100, -1, 1),
|
|
bh.axis.integer(0, 10))
|
|
|
|
cpp_filler.process(h) # histogram is filled with input values
|
|
|
|
# continue with statistical analysis of h
|