ConvertComps

ConvertComps[datatable,{component1,component2,...}]
converts the compositional data in a DataTable to a set of new chemical components using matrix transformations.

DetailsDetails

  • ConvertComps can convert the chemical composition of a compound from one set of components to a new set of components.
  • Internally, the composition is first converted to a set of independent oxides (e.g. SiO2, MgO, CO2, ...), and then to the new set of components.
  • The following options can be given:
  • FromMolarDataFalseFromMolarData is an option that specifies the input data are molar amounts.
    ToMolarDataFalseToMolarData is an option that specifies the output data should be molar amounts.
    ToPercentFalseToPercent is an option that specifies the output data for should be percentages.
    ToFractionsFalseToFractions is an option that specifies the output data for should be fractions.
    ProjectFromNoneProjectFrom is an option that specifies a list of components from which the data should be projected.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Define a set of chemical compositions:

In[1]:=
Click for copyable input
Out[1]=

Define the composition of the input components:

In[2]:=
Click for copyable input

Convert the two sample compositions to oxides:

In[3]:=
Click for copyable input
Out[3]=

Various sets of components can be specified:

In[4]:=
Click for copyable input
Out[4]=