class
Int8GridClasses
- class Point
Static methods
- def get_subarray(…)
- def set_subarray(…)
Methods
- def change_values(self, old_value: int, new_value: int) -> None
- def clone(self, /) -> Int8Grid
- def copy_metadata_from(self, arg0: GridMeta, /) -> None
- def fill(self, value: int) -> None
- def get_fractional(self, arg0: int, arg1: int, arg2: int, /) -> Fractional
- def get_nearest_point(self, arg0: Position, /) -> Point
- def get_nonzero_extent(self, /) -> FractionalBox
- def get_point(self, arg0: int, arg1: int, arg2: int, /) -> Point
- def get_position(self, arg0: int, arg1: int, arg2: int, /) -> Position
- def get_value(self, arg0: int, arg1: int, arg2: int, /) -> int
- def index_to_point(self, arg0: int, /) -> Point
- def mask_points_in_constant_radius(self, model: Model, radius: float, value: int, ignore_hydrogen: bool = False, ignore_zero_occupancy_atoms: bool = False) -> None
- def masked_asu(self, /) -> MaskedInt8Grid
- 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 resample_to(self, dest: Int8Grid, order: int) -> None
- def set_points_around(self, position: Position, radius: float, value: int, use_pbc: bool = True) -> None
- def set_size(self, arg0: int, arg1: int, arg2: int, /) -> None
- def set_size_from_spacing(self, spacing: float, rounding: GridSizeRounding) -> None
- def set_unit_cell(self, arg0: UnitCell, /) -> None
- def set_value(self, arg0: int, arg1: int, arg2: int, arg3: int, /) -> None
- def setup_from(self, st: Structure, spacing: float) -> None
- def sum(self, /) -> int
- def symmetrize_abs_max(self, /) -> None
- def symmetrize_max(self, /) -> None
- def symmetrize_min(self, /) -> None
- def symmetrize_sum(self, /) -> None
Special methods
Properties
- array: numpy.ndarray[numpy.int8] get
- 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
- shape: tuple get
- spacegroup: SpaceGroup get set
- spacing: tuple get
- unit_cell: UnitCell get set