box_volume#
- biotite.structure.box_volume(box: ndarray[tuple[XYZ, XYZ], dtype[floating]] | ndarray[tuple[M, XYZ, XYZ], dtype[floating]]) floating | ndarray[tuple[M], dtype[floating]][source]#
Get the volume of one ore multiple boxes.
- Parameters:
- boxndarray, shape=(3,3) or shape=(m,3,3)
One or multiple boxes to get the volume for.
- Returns:
- volumefloat or ndarray, shape=(m,)
The volume(s) of the given box(es).