One question that came up recently was how to get the results in weight percent oxide rather than ppm. In this note, we’ll go through one way you can do that using iolite’s python functionality.
Getting element data and oxide-to-element factors
We have a mini database of element/isotope data available in iolite that can be accessed from python via the data.elements
dictionary. For example:
|
|
This data can be useful for a variety of tasks, but in this instance we are interested in using it to get atomic weights so we can calculate a conversion factor between element and oxide forms. We could do this as follows:
|
|
Or more conveniently, you can get this factor using a built in function:
|
|
Calculating major elements as weight % oxide
Equipped with these conversion factors, we can now calculate weight % oxide channels from our existing ppm outputs from the trace elements data reduction scheme as follows:
|
|
And that’s it!
Click here to discuss.