pymatgen.io.zeopp module¶
-
class
ZeoCssr(structure)[source]¶ Bases:
pymatgen.io.cssr.CssrZeoCssr adds extra fields to CSSR sites to conform with Zeo++ input CSSR format. The coordinate system is rorated from xyz to zyx. This change aligns the pivot axis of pymatgen (z-axis) to pivot axis of Zeo++ (x-axis) for structurural modifications.
Parameters: structure – A structure to create ZeoCssr object
-
class
ZeoVoronoiXYZ(mol)[source]¶ Bases:
pymatgen.io.xyz.XYZClass to read Voronoi Nodes from XYZ file written by Zeo++. The sites have an additional column representing the voronoi node radius. The voronoi node radius is represented by the site property voronoi_radius.
Parameters: mol – Input molecule holding the voronoi node information
-
get_free_sphere_params(structure, rad_dict=None, probe_rad=0.1)[source]¶ Analyze the void space in the input structure using voronoi decomposition Calls Zeo++ for Voronoi decomposition.
Parameters: - structure – pymatgen.core.structure.Structure
- rad_dict (optional) – Dictionary of radii of elements in structure. If not given, Zeo++ default values are used. Note: Zeo++ uses atomic radii of elements. For ionic structures, pass rad_dict with ionic radii
- probe_rad (optional) – Sampling probe radius in Angstroms. Default is 0.1 A
Returns: voronoi nodes as pymatgen.core.structure.Strucutre within the unit cell defined by the lattice of input structure voronoi face centers as pymatgen.core.structure.Strucutre within the unit cell defined by the lattice of input structure
-
get_high_accuracy_voronoi_nodes(structure, rad_dict, probe_rad=0.1)[source]¶ Analyze the void space in the input structure using high accuracy voronoi decomposition. Calls Zeo++ for Voronoi decomposition.
Parameters: - structure – pymatgen.core.structure.Structure
- rad_dict (optional) – Dictionary of radii of elements in structure. If not given, Zeo++ default values are used. Note: Zeo++ uses atomic radii of elements. For ionic structures, pass rad_dict with ionic radii
- probe_rad (optional) – Sampling probe radius in Angstroms. Default is 0.1 A
Returns: voronoi nodes as pymatgen.core.structure.Strucutre within the unit cell defined by the lattice of input structure voronoi face centers as pymatgen.core.structure.Strucutre within the unit cell defined by the lattice of input structure
-
get_void_volume_surfarea(structure, rad_dict=None, chan_rad=0.3, probe_rad=0.1)[source]¶ Computes the volume and surface area of isolated void using Zeo++. Useful to compute the volume and surface area of vacant site.
Parameters: - structure – pymatgen Structure containing vacancy
- rad_dict (optional) – Dictionary with short name of elements and their radii.
- chan_rad (optional) – Minimum channel Radius.
- probe_rad (optional) – Probe radius for Monte Carlo sampling.
Returns: floating number representing the volume of void
Return type:
-
get_voronoi_nodes(structure, rad_dict=None, probe_rad=0.1)[source]¶ Analyze the void space in the input structure using voronoi decomposition Calls Zeo++ for Voronoi decomposition.
Parameters: - structure – pymatgen.core.structure.Structure
- rad_dict (optional) – Dictionary of radii of elements in structure. If not given, Zeo++ default values are used. Note: Zeo++ uses atomic radii of elements. For ionic structures, pass rad_dict with ionic radii
- probe_rad (optional) – Sampling probe radius in Angstroms. Default is 0.1 A
Returns: voronoi nodes as pymatgen.core.structure.Strucutre within the unit cell defined by the lattice of input structure voronoi face centers as pymatgen.core.structure.Strucutre within the unit cell defined by the lattice of input structure