olm.general.mgL_to_molL

olm.general.mgL_to_molL(mgL, ion)[source]

Converts concentrations from mg/L to mol/L.

Parameters:
mgLfloat or array

concentration in mg/L

ionstr

name of ion

Returns:
molLfloat or array

concentration in mol/L