Skip to content

names

names(ne=False)

Returns the name string of every species in the collection, in the order they were added. Pass ne=True to drop the electron species "e-" from the result, which is useful when building solver state vectors that treat electrons separately.

Parameters

ne : bool, optional
If True, excludes the electron species "e-" from the returned vector. Default False.

Returns

Vector[str]
Name of each species in the collection, in catalogue order.