axis_exposed#
- irmsd.bindings.axis_exposed.get_axis_fortran_raw(natoms: int, types: ndarray, coords_flat: ndarray, rot: ndarray, avmom: ndarray, evec: ndarray) None[source]#
Low-level call that matches the Fortran signature exactly. Operates IN- PLACE on rot, avmom, evec.
- Parameters:
natoms (
int) – Number of atoms (must be consistent with array lengths).types (
(natoms,) int32,C-contiguous) – Atomic numbers (or type IDs).coords_flat (
(3*natoms,) float64,C-contiguous) – Flat coordinates [x1,y1,z1,x2,y2,z2,…].rot (
(3,) float64,C-contiguous) – Output rotation axis.avmom (
(1,) float64,C-contiguous) – Output average moment.evec (
(3,3) float64,C-contiguous) – Output eigenvectors.
- Raises:
TypeError – If any of the arrays do not have the expected dtype or memory layout.