gemmi.Binner class

Enums

class Method: EqualCount = 0 Dstar = 1 Dstar2 = 2 Dstar3 = 3
Members:

Static methods

def get_bin(…)

Methods

def dmax_of_bin(self, arg0: int, /) -> float
def dmin_of_bin(self, arg0: int, /) -> float
def get_bins(self, arg0: Mtz, /) -> numpy.ndarray[numpy.int32]
def get_bins(self, arg0: ReflnBlock, /) -> numpy.ndarray[numpy.int32]
def get_bins(self, arg0: numpy.ndarray[numpy.int32], /) -> numpy.ndarray[numpy.int32]
def get_bins_from_1_d2(self, arg0: numpy.ndarray[numpy.float64], /) -> numpy.ndarray[numpy.int32]
def setup(self, nbins: int, method: Method, mtz: Mtz, cell: UnitCell = None) -> None
def setup(self, nbins: int, method: Method, r: ReflnBlock, cell: UnitCell = None) -> None
def setup(self, nbins: int, method: Method, hkl: numpy.ndarray[numpy.int32], cell: UnitCell) -> None
def setup_from_1_d2(self, nbins: int, method: Method, inv_d2: numpy.ndarray[numpy.float64], cell: UnitCell) -> None

Special methods

def __init__(self, /) -> None

Properties

cell: UnitCell get set
limits: typing.List[float] get
max_1_d2: float get
min_1_d2: float get
size: int get