gemmi.UnitCell class

Contents

Methods

def calculate_1_d2(self, hkl: typing.List[int[3]]) -> float
def calculate_d(self, hkl: typing.List[int[3]]) -> float
def find_nearest_image(self, ref: Position, pos: Position, asu: Asu = Asu.Any) -> SymImage
def fractionalize(self, arg0: Position, /) -> Fractional
def is_crystal(self, /) -> bool
def is_special_position(self, pos: Position, max_dist: float = 0.8) -> int
def is_special_position(self, fpos: Fractional, max_dist: float) -> int
def orthogonalize(self, arg0: Fractional, /) -> Position
def set(self, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, /) -> None
def volume_per_image(self, /) -> float

Special methods

def __init__(self, /) -> None
def __init__(self, a: float, b: float, c: float, alpha: float, beta: float, gamma: float) -> None
def __repr__(self, /) -> str

Properties

a: float get
alpha: float get
b: float get
beta: float get
c: float get
gamma: float get
images: typing.List[FTransform] get
volume: float get