molsysmt.pbc.get_volume_from_box#
- molsysmt.pbc.get_volume_from_box(box)[source]#
Computing box volume from a box matrix.
- Parameters:
box (PyUnitWizard quantity) – Periodic box vectors with shape (n_structures, 3, 3) in units of length.
- Returns:
Volume in cubic length units, or None if no box.
- Return type:
quantity or None
Added in version 1.0.0.