olm.general.molL_to_mgL

olm.general.molL_to_mgL(molL, ion)[source]

Converts concentrations from mol/L to mg/L.

Parameters:

molL : float or array

concentration in mol/L

ion : str

name of ion

Returns:

mgL : float or array

concentration in mg/L