Skip to content

masses

masses(ne=False)

Returns the total mass in grams (CGS) for every species in the collection, summed over constituent atoms. Species whose composition cannot be resolved yield None. Pass ne=True to drop the electron species "e-".

Parameters

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

Returns

Vector[float or None]
Total mass in grams (CGS) for each species, or None when the mass cannot be resolved. One entry per species, in catalogue order.