gemmi.Int8Grid class

Classes

class Point

Methods

def asu(self, /) -> MaskedInt8Grid
def fill(self, value: int) -> None
def get_point(self, arg0: int, arg1: int, arg2: int, /) -> Point
def get_value(self, arg0: int, arg1: int, arg2: int, /) -> int
def interpolate_value(self, arg0: Fractional, /) -> int
def interpolate_value(self, arg0: Position, /) -> int
def interpolate_values(self, arg0: numpy.ndarray[numpy.int8], arg1: Transform, /) -> None
def point_to_fractional(self, arg0: Point, /) -> Fractional
def point_to_index(self, arg0: Point, /) -> int
def point_to_position(self, arg0: Point, /) -> Position
def set_points_around(self, position: Position, radius: float, value: int) -> None
def set_unit_cell(self, arg0: UnitCell, /) -> None
def set_value(self, arg0: int, arg1: int, arg2: int, arg3: int, /) -> None
def sum(self, /) -> int
def symmetrize_max(self, /) -> None
def symmetrize_min(self, /) -> None

Special methods

def __init__(self, /) -> None
def __init__(self, nx: int, ny: int, nz: int) -> None
def __iter__(self, /) -> typing.Iterator[Point]
def __repr__(self, /) -> str

Properties

axis_order: AxisOrder 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
spacegroup: SpaceGroup get set
unit_cell: UnitCell get set