compute_void_volume
legacy Direct dgrid void-volume wrapper; prefer from_results winding helper. Use compute_void_volume_from_results_winding instead.
compute.compute_void_volume(dgrid, probe_radius=None, mat_atoms=None)Compute the accessible volume based on the distance grid and probe radius.
Parameters
dgrid : numpy.ndarray The distance grid computed from the atomic structure. probe_radius : float, optional The radius of the probe to use for volume calculation. If None, defaults to the radius of helium (atomic number 2). mat_atoms : ase.Atoms The atomic structure for which the volume is being calculated.
Returns
dict A dictionary containing the void fraction, void volume in cc_cc, and void volume in cc_g.