#include <binner.hpp>
|
| void | setup_from_1_d2 (int nbins, Method method, std::vector< double > &&inv_d2, const UnitCell *cell_) |
| |
| template<typename DataProxy > |
| void | setup (int nbins, Method method, const DataProxy &proxy, const UnitCell *cell_=nullptr, size_t col_idx=0) |
| |
| void | ensure_limits_are_set () const |
| |
| int | get_bin_from_1_d2 (double inv_d2) |
| |
| int | get_bin (const Miller &hkl) |
| |
| int | get_bin_from_1_d2_hinted (double inv_d2, int &hint) const |
| |
| int | get_bin_hinted (const Miller &hkl, int &hint) const |
| |
| template<typename DataProxy > |
| std::vector< int > | get_bins (const DataProxy &proxy) const |
| |
| std::vector< int > | get_bins_from_1_d2 (const double *inv_d2, size_t size) const |
| |
| std::vector< int > | get_bins_from_1_d2 (const std::vector< double > &inv_d2) const |
| |
| double | dmin_of_bin (int n) const |
| |
| double | dmax_of_bin (int n) const |
| |
| size_t | size () const |
| |
Definition at line 14 of file binner.hpp.
◆ Method
| Enumerator |
|---|
| EqualCount | |
| Dstar | |
| Dstar2 | |
| Dstar3 | |
Definition at line 15 of file binner.hpp.
◆ setup_from_1_d2()
◆ setup()
◆ ensure_limits_are_set()
| void gemmi::Binner::ensure_limits_are_set |
( |
| ) |
const |
|
inline |
◆ get_bin_from_1_d2()
| int gemmi::Binner::get_bin_from_1_d2 |
( |
double |
inv_d2 | ) |
|
|
inline |
◆ get_bin()
◆ get_bin_from_1_d2_hinted()
| int gemmi::Binner::get_bin_from_1_d2_hinted |
( |
double |
inv_d2, |
|
|
int & |
hint |
|
) |
| const |
|
inline |
◆ get_bin_hinted()
◆ get_bins()
| std::vector< int > gemmi::Binner::get_bins |
( |
const DataProxy & |
proxy | ) |
const |
|
inline |
◆ get_bins_from_1_d2() [1/2]
| std::vector< int > gemmi::Binner::get_bins_from_1_d2 |
( |
const double * |
inv_d2, |
|
|
size_t |
size |
|
) |
| const |
|
inline |
◆ get_bins_from_1_d2() [2/2]
| std::vector< int > gemmi::Binner::get_bins_from_1_d2 |
( |
const std::vector< double > & |
inv_d2 | ) |
const |
|
inline |
◆ dmin_of_bin()
| double gemmi::Binner::dmin_of_bin |
( |
int |
n | ) |
const |
|
inline |
◆ dmax_of_bin()
| double gemmi::Binner::dmax_of_bin |
( |
int |
n | ) |
const |
|
inline |
◆ size()
| size_t gemmi::Binner::size |
( |
| ) |
const |
|
inline |
◆ cell
◆ min_1_d2
| double gemmi::Binner::min_1_d2 |
◆ max_1_d2
| double gemmi::Binner::max_1_d2 |
◆ limits
| std::vector<double> gemmi::Binner::limits |
◆ mids
| std::vector<double> gemmi::Binner::mids |
The documentation for this struct was generated from the following file: