fuellib.rdk.mol.atom_counts

fuellib.rdk.mol.atom_counts(mol)

Count the number of each type of atom in mol.

Parameters:

mol (Mol) – RDKit Mol object.

Returns:

Dictionary mapping atom symbols to their counts.

Return type:

dict[str, int]