compute_pld

legacy One-shot PLD from CIF via Python dgrid and find_pore_limiting_radius. Use find_pore_limiting_radius_winding instead.

compute.compute_pld(path_to_cif, dgrid=None, kwargs={})

Compute the pore limiting diameter (PLD) from a CIF file.

Parameters

path_to_cif : Path The path to the CIF file. kwargs : dict, optional Additional keyword arguments. Default is an empty dictionary. - spacing : float, optional The spacing for the distance grid. Default is 0.5. - block_size : int, optional The block size for processing. Default is 50000.

Returns

float or None The pore limiting diameter if found, otherwise None.