Skip to content

atomli.geometry.analysis

Generated from the public Python surface of Atomli 0.1.18.

ASE drop-in atomli.geometry.analysis module.

Analysis(images: 'Any', *, cutoff: 'float | None' = None, skin: 'float' = 0.25) -> 'None'

Section titled “Analysis(images: 'Any', *, cutoff: 'float | None' = None, skin: 'float' = 0.25) -> 'None'”

ASE-compatible cached geometric topology analyzer (ase.geometry.analysis.Analysis).

Accepts a single Atoms object or a sequence of Atoms frames.

get_angles(self, atom_a: 'str | None' = None, atom_b: 'str | None' = None, atom_c: 'str | None' = None, *, unique: 'bool' = True) -> 'list[list[tuple[int, int, int]]]'

Section titled “get_angles(self, atom_a: 'str | None' = None, atom_b: 'str | None' = None, atom_c: 'str | None' = None, *, unique: 'bool' = True) -> 'list[list[tuple[int, int, int]]]'”

Return bonded (i, j, k) angle triplets per image with central atom j.

get_bonds(self, atom_a: 'str | None' = None, atom_b: 'str | None' = None, *, unique: 'bool' = True) -> 'list[list[tuple[int, int]]]'

Section titled “get_bonds(self, atom_a: 'str | None' = None, atom_b: 'str | None' = None, *, unique: 'bool' = True) -> 'list[list[tuple[int, int]]]'”

Return bonded (i, j) index pairs per image, optionally filtered by element symbols.

get_coordination_numbers(self, cutoff: 'float' = 3.0) -> 'list[np.ndarray]'

Section titled “get_coordination_numbers(self, cutoff: 'float' = 3.0) -> 'list[np.ndarray]'”

Return per-atom coordination numbers for each stored image.

get_dihedrals(self, atom_a: 'str | None' = None, atom_b: 'str | None' = None, atom_c: 'str | None' = None, atom_d: 'str | None' = None, *, unique: 'bool' = True) -> 'list[list[tuple[int, int, int, int]]]'

Section titled “get_dihedrals(self, atom_a: 'str | None' = None, atom_b: 'str | None' = None, atom_c: 'str | None' = None, atom_d: 'str | None' = None, *, unique: 'bool' = True) -> 'list[list[tuple[int, int, int, int]]]'”

Return bonded (i, j, k, l) dihedral quadruplets per image.

get_hydrogen_bonds(self, *, donor_h_cutoff: 'float' = 1.25, donor_acceptor_cutoff: 'float' = 3.5, min_angle_deg: 'float' = 135.0) -> 'list[list[dict[str, Any]]]'

Section titled “get_hydrogen_bonds(self, *, donor_h_cutoff: 'float' = 1.25, donor_acceptor_cutoff: 'float' = 3.5, min_angle_deg: 'float' = 135.0) -> 'list[list[dict[str, Any]]]'”

Return detected hydrogen bonds for each stored image.

get_rdf(self, rmax: 'float', nbins: 'int', *, imageIdx: 'int | None' = None, return_dists: 'bool' = False) -> 'Any'

Section titled “get_rdf(self, rmax: 'float', nbins: 'int', *, imageIdx: 'int | None' = None, return_dists: 'bool' = False) -> 'Any'”

Compute radial distribution function(s) across stored images.

get_values(self, indices_per_image: 'Sequence[Sequence[Sequence[int]]]', *, imageIdx: 'int | None' = None, mic: 'bool' = True) -> 'list[list[float]]'

Section titled “get_values(self, indices_per_image: 'Sequence[Sequence[Sequence[int]]]', *, imageIdx: 'int | None' = None, mic: 'bool' = True) -> 'list[list[float]]'”

Evaluate bond lengths (Angstrom), angles (deg), or dihedrals (deg) for index tuples.