WLJS LogoWLJS Notebook

Atom

Represent an atom and its chemical properties.

Atom[symbol] represents an atom with the specified chemical symbol.

Atom[symbol, property1 -> value1, ...] represents an atom with additional properties. Atom[property -> value] can also be used as a query that matches atoms with the requested property.

Examples

Create a carbon atom:

Atom["C"]

Specify an isotope and hydrogen count:

Atom["C", "MassNumber" -> 13, "HydrogenCount" -> 3]

Use an atom as a pattern when plotting a molecule:

molecule = Molecule["NC(=O)C[C@H](C(=O)O)N"];
MoleculePlot[molecule, Atom["O"]]

See Molecule, Bond, and MoleculePattern.

Something isn't working? Report an issue.

Please visit the official Wolfram Language Reference for more details.

On this page