materials_compendium.parse.Isotope.from_dict

static Isotope.from_dict(obj)[source]

Create an Isotope object from a dictionary representation.

Parameters:

obj (dict) – A dictionary containing attributes of the Isotope.

Returns:

A new Isotope object with attributes initialized using the values from the dictionary.

Return type:

Isotope