Skip to content

Structure

get_box_lengths(positions)

Compute lengths of box edges

get_box_vectors(positions)

Vectors of box edges.

PARAMETER DESCRIPTION
positions

Atomic cartesian coordinates.

TYPE: NDArray[float64]

RETURNS DESCRIPTION
NDArray[float64]

Box vectors.

get_box_volume(positions)

Volume of box.

PARAMETER DESCRIPTION
positions

Atomic cartesian coordinates.

TYPE: NDArray[float64]

RETURNS DESCRIPTION
float

Volume of structures in universe.

get_com(universe)

Compute the center of mass