The following command installs WCMpy
in a command prompt/terminal environment:
pip install wcmpy
The data environment, in a Python IDE, is defined:
import chemw
chem_mw = chemw.ChemMW(verbose = False, printing = True)
- verbose & printing
bool
: specifies whether troubleshooting information or MW results will be printed, respectively.
The parameterized data is fitted to the Hill equation, with the following arguments and their default values:
chem_mw.mass(formula)
The WCMpy
object retains numerous components that are accessible to the user: