PyMatGen Lattices¶
Important
This page provides a concise list of available properties and methods, grouped by topic.
Refer to Pymatgen's API docs for detailed descriptions.
Introduction¶
To access the Lattice object from a Structure:
lattice = structure.lattice
Lattice Loading¶
basic¶
from_dictfrom_parameters
constructors¶
cubichexagonalmonoclinicorthorhombicrhombohedraltetragonal
Lattice Exporting¶
as_dictcopyto_json
Basic Properties¶
vectors¶
abcabclengthspbc
angles¶
alphabetagammaangles
full lattice¶
matrixvolumeis_3d_periodicis_hexagonalis_orthogonalparametersreciprocal_latticereciprocal_lattice_crystallographic
Measurements¶
d_hkldotnorm
Transforms¶
inv_matrixlll_inverselll_mappinglll_matrixmetric_tensorscale
Analysis Methods¶
get_all_distancesget_brillouin_zoneget_cartesian_coordsget_distance_and_imageget_frac_coords_from_lllget_fractional_coordsget_lll_frac_coordsget_lll_reduced_latticeget_miller_index_from_coordsget_niggli_reduced_latticeget_points_in_sphereget_points_in_sphere_oldget_points_in_sphere_pyget_recp_symmetry_operationget_vector_along_lattice_directionsget_wigner_seitz_cell
Inter-lattice Utils¶
find_all_mappingsfind_mappingselling_distselling_vector
JSON Utils¶
unsafe_hashvalidate_monty_v1validate_monty_v2