You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for this cool work. I have a request for adding molarity units. molarity is a chemical unit for concentration. 1M = mol/L. 1uM = 1micro mol /L ... etc. I think this could be applied by the symbols of M, mM, uM, nM ... etc.
A tough part however is that moles is a standardized quantity of weight by molecular mass. So 1 mol of calcium = 40 gms.
Is some extension like that possible?
The text was updated successfully, but these errors were encountered:
We rely on udunits2, and molarity is not defined in that database, but we provide a mechanism to extend the database with new units. In this case, you need:
install_unit("M", "1 mol/L", "molarity")
and you are good to go.
About moles of substances, it's a complicated problem, yes. There's an ongoing effort to address this in a separate package, see r-quantities/substances#1.
Thanks! When I follow this discussions, I can find a talk about install_conversion_constant() function in units package. However, I can't find it exported?
Hi,
Thank you for this cool work. I have a request for adding molarity units. molarity is a chemical unit for concentration. 1M = mol/L. 1uM = 1micro mol /L ... etc. I think this could be applied by the symbols of M, mM, uM, nM ... etc.
A tough part however is that moles is a standardized quantity of weight by molecular mass. So 1 mol of calcium = 40 gms.
Is some extension like that possible?
The text was updated successfully, but these errors were encountered: