molsysmt.pbc.get_lengths_from_box#
- molsysmt.pbc.get_lengths_from_box(box, skip_digestion=False)[source]#
Extracting box edge lengths from a box matrix.
- Parameters:
box (PyUnitWizard quantity) – Periodic box vectors with shape (n_structures, 3, 3) in units of length.
skip_digestion (bool, default=False) – Whether to skip MolSysMT’s internal argument digestion mechanism.
- Returns:
Edge lengths (a, b, c) in the same units as the input.
- Return type:
quantity
Added in version 1.0.0.