find_rings_in_ase_atoms
alternate Simple cycle_basis rings from Voronoi bonds; less aromatic-aware than compute_aromatic_cycles. Use compute_aromatic_cycles instead.
analyze.find_rings_in_ase_atoms(
mat_atoms,
cycle_lengths=[5, 6, 7, 8],
make_unique=True,
)Find rings in an ASE structure via Voronoi bonds, sgraph_from_atoms, and NetworkX cycle_basis.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| mat_atoms | The mat_atoms parameter is a representation of a material system in the form of atoms. It likely contains information about the atomic positions, types of atoms, and possibly other properties of the material. The function find_rings_in_ase_atoms takes this material system represented by atoms and performs |
required | |
| cycle_lengths | The cycle_lengths parameter is a list of integers that specifies the lengths of cycles to be considered when filtering the cycles found in the graph. In the provided function find_rings_in_ase_atoms, the cycles found in the graph are filtered based on their length, and only cycles with lengths |
[5, 6, 7, 8] |
|
| make_unique | The make_unique parameter in the find_rings_in_ase_atoms function determines whether to return only unique cycles or all cycles that meet the specified criteria, defaults to True (optional) |
True |
Returns
| Name | Type | Description |
|---|---|---|
The function find_rings_in_ase_atoms returns either unique cycles or all cycles based on the input parameters. If make_unique is set to True, it returns chemically unique cycles of specified lengths (5, 6, 7, 8). If make_unique is set to False, it returns all cycles of specified lengths without filtering for uniqueness. |