Tomographer  v5.4
Tomographer C++ Framework Documentation
tpy::Histogram Class Reference

Histogram class like Tomographer::Histogram, but with NumPy arrays storage. More...

#include <py/cxx/tomographerpy/pyhistogram.h>

+ Inheritance diagram for tpy::Histogram:
+ Collaboration diagram for tpy::Histogram:

Public Types

enum  
 

Public Member Functions

 Histogram (HistogramParams params_)
 
 Histogram (tpy::RealScalar min, tpy::RealScalar max, Eigen::Index num_bins)
 
template<typename Scalar , typename CountType >
 Histogram (const Tomographer::Histogram< Scalar, CountType > &h)
 
template<typename X >
 operator X () const
 
template<typename Scalar , typename CountType >
Tomographer::Histogram< Scalar, CountType > toCxxHistogram () const
 
void set_bins (py::object newbins)
 
void set_off_chart (py::object o)
 
void load (py::object x, py::object o)
 
py::object normalization () const
 
py::object totalCounts () const
 

Public Attributes

HistogramParams params
 
py::object bins
 
py::object off_chart
 

Detailed Description

Histogram class like Tomographer::Histogram, but with NumPy arrays storage.

Definition at line 51 of file pyhistogram.h.


The documentation for this class was generated from the following file: