B_matrix# anri.crystal.B_matrix(lattice_parameters)[source]# Compute the B matrix of a lattice in float64 (from anri.crystal.lpars_to_B(), no 2 pi). Parameters: lattice_parameters (Array | ndarray | bool | number | bool | int | float | complex) – [6] a, b, c (angstrom), alpha, beta, gamma (degrees) Returns: np.ndarray – [3, 3] B, with g = U B h