MolsInfo

class materials_compendium.utils.MolsInfo(mol_data)[source]

Initialize a MolsInfo object with molecular data.

Parameters:

mol_data (Mol) – An instance of the Mol class containing mols, isotope, and element information.

Example

mol_data = Mol(mols=42, isotope=”C-14”, element=”Carbon”) mols_info = MolsInfo(mol_data)

Methods

get_element

Get the element associated with the molecular data.

get_isotope

Get the isotope associated with the molecular data.

get_mols

Get the mols associated with the molecular data.