gemmi.ReciprocalInt8Grid class

Classes

class Point

Static methods

def to_hkl(…)

Methods

def calculate_1_d2(self, arg0: Int8Grid.Point, /) -> float
def calculate_d(self, arg0: Int8Grid.Point, /) -> float
def fill(self, value: int) -> None
def get_fractional(self, arg0: int, arg1: int, arg2: int, /) -> Fractional
def get_nonzero_extent(self, /) -> FractionalBox
def get_position(self, arg0: int, arg1: int, arg2: int, /) -> Position
def get_value(self, arg0: int, arg1: int, arg2: int, /) -> int
def get_value_by_hkl(self, hkl: numpy.ndarray[numpy.int32], unblur: float = 0, mott_bethe: bool = False, mott_bethe_000: int = 0) -> numpy.ndarray[numpy.int32]
def get_value_or_zero(self, arg0: int, arg1: int, arg2: int, /) -> int
def index_to_point(self, arg0: int, /) -> Int8Grid.Point
def point_to_index(self, arg0: Int8Grid.Point, /) -> int
def prepare_asu_data(self, dmin: float = 0.0, unblur: float = 0.0, with_000: bool = False, with_sys_abs: bool = False, mott_bethe: bool = False) -> IntAsuData
def set_value(self, arg0: int, arg1: int, arg2: int, arg3: int, /) -> None
def sum(self, /) -> int

Special methods

def __init__(self, /) -> None
def __init__(self, nx: int, ny: int, nz: int) -> None
def __init__(self, arg0: numpy.ndarray[numpy.int8], cell: UnitCell = None, spacegroup: SpaceGroup = None) -> None
def __iter__(self, /) -> typing.Iterator
def __repr__(self, /) -> str

Properties

array: numpy.ndarray[numpy.int8] get
axis_order: AxisOrder get
half_l: bool get
nu: int get
size in the first (fastest-changing) dim
nv: int get
size in the second dimension
nw: int get
size in the third (slowest-changing) dim
point_count: int get
shape: tuple get
spacegroup: SpaceGroup get set
unit_cell: UnitCell get set