13 .def(py::init<const ElPtr &,const ElPtr &>())
14 .def(py::init<
const Vec<std::pair<ElPtr,ElPtr>> &>())
18 py::arg(
"bin_from_r_") =
true)
21 py::arg(
"beyond_half_") =
true)
const Vec< ArrayXd > & get_rdf_traj()
Get a sequence of radial distribution functions as list of one-dimensional arrays.
const ArrayXd & get_rdf()
Get the radial distribution function as a one-dimensional array.
void bin_from_r_to_r_plus_dr(bool bin_from_r_=true)
By default, the bins are [0, 0.5*dr), [0.5*dr, 1.5*dr), ... . If this method is called without a para...
This file is for binding ProRadialDistributionFunction class to Python.
std::vector< T > Vec
Vec is an alias for vector (same as list in Python).
void py_pro_radial_distribution_function(py::module &m)
Bind ProRadialDistributionFunction class to Python.
const ArrayXd get_r_axis()
Get a one-dimensional array of distance, [0, dr, 2*dr, ... ], where dr is width of a bin...
Processor analyzes data contained in one or more Generator objects.
void beyond_half_box_length(bool beyond_half_=true)
Use a sample including particles of which distance from a reference particle are larger than half the...
std::shared_ptr< T > ShPtr
ShPtr is an alias for shared pointer.
void set_bin(double bin_width_, int n_bins_)
Set width and number of bins in the distance axis. Each bin is a spherical shell of which center is p...