mordred.surface_area¶
surface area subpackage.
$ python -m mordred.surface_area -h
usage: python -m mordred.surface_area [-h] [-s R] [-l L] FILE
positional arguments:
FILE input sdf/mol file
optional arguments:
-h, --help show this help message and exit
-s R, --solvent-radius R
solvent radius (default: 1.4)
-l L, --mesh-level L mesh level (default: 5)
- class mordred.surface_area.SurfaceArea(radiuses, xyzs, level=4)[source]¶
Bases:
object
calculate solvent accessible surface area.
- Parameters:
radiuses (np.ndarray(dtype=float, shape=(N,))) – atomic radius + solvent radius vector
xyzs (np.ndarray(dtype=float, shape=(N, 3))) – atomic position matrix
level (int) –
mesh level. subdivide icosahedron n-1 times.
\[N_{\rm points} = 5 \times 4^{level} - 8\]