<p><strong>Why you should not do it</strong></p>

<p>The QAPF and related diagrams are intended for classification of rocks in the field, or preliminary classification with modal proportions as seen in the optical microscope. They are not designed with the chemical composition of the rocks in the mind. Furthermore, these diagrams are merely descriptive and not genetic. They do not take into account many factors affecting the various characteristics of the rocks. While doing something like this may be interesting for homework exercise, it is not something I would expect to see in a recent research article.</p>

<p><strong>If you want to do it anyway</strong></p>

<p>Your solution should consist of two steps.</p>

<ol>
<li><p>Finding what is the norm of the rock. A norm is an estimation of the ideal mineralogy of an igneous rock, based on the chemical composition of the rock. The most common norm calculation method is the CIPW norm, but there are other methods as well. For starters you should do fine with the norm. Instructions on how to calculate the CIPW norm are available in your favourite petrology textbook, <a href="http://www.uwgb.edu/dutchs/Petrology/cipw01.htm">here</a>, or <a href="http://minerva.union.edu/hollochk/c_petrology/norms.htm">here</a>. I've also seen some algorithms that do it for you, but their success varies on the silica undersaturated side of the rock spectrum.</p></li>
<li><p>Now that you have the norm, add together anorthite and albite to count how much plagioclase you have. You are also given the rest of the minerals. Now all you need to do is use the normalised relative proportions of each triplet of minerals to place them on the diagram. <a href="https://en.wikipedia.org/wiki/Ternary_plot#Example">Here's a refresher on that</a>.</p></li>
</ol>

CC BY-SA 3.0
2014-10-26T19:19:37.793Z
2014-10-26T19:19:37.793Z
Gimelist
<p>I have been given the following diagrams: 
<img src="https://i.sstatic.net/W2dP3.png" alt="enter image description here">
and <img src="https://i.sstatic.net/58bg7.gif" alt="enter image description here"><br>
and a database that is structured like this:</p>

<pre><code>ROCK NAME |SIO2 |TIO2| AL2O3|   CR2O3|  FEOT|   CAO|    MGO|    MNO|    K2O|    NA2O|   P2O5|  
WEHRLITE    |45.42| 0.17|   2.57|   0.32|   11.3384|    7.54|   31.93|  0.17|   0.01|   0.24|   0.01|  
</code></pre>

<p>I want to know how to normalize the data and use these diagrams to identify the rock name based on the IUGS specification. I then am tasked to write a program that will do this automatically meaning that I have to come up with some semi-mathematically-based process to identify these rocks. Any ideas? </p>

<mineralogy><petrology>
How do you use the streckeisen (QAPF) classification ternary diagram to identify igneous rocks based on chemical rock composition?
Avi Mosseri
# How do you use the streckeisen (QAPF) classification ternary diagram to identify igneous rocks based on chemical rock composition?

(Asked by: username_0 on 2014-10-26)

I have been given the following diagrams:
![enter image description here](https://i.sstatic.net/W2dP3.png)
and ![enter image description here](https://i.sstatic.net/58bg7.gif)  
and a database that is structured like this:

```
ROCK NAME |SIO2 |TIO2| AL2O3|   CR2O3|  FEOT|   CAO|    MGO|    MNO|    K2O|    NA2O|   P2O5|  
WEHRLITE    |45.42| 0.17|   2.57|   0.32|   11.3384|    7.54|   31.93|  0.17|   0.01|   0.24|   0.01|  

```

I want to know how to normalize the data and use these diagrams to identify the rock name based on the IUGS specification. I then am tasked to write a program that will do this automatically meaning that I have to come up with some semi-mathematically-based process to identify these rocks. Any ideas?

**Tags:** mineralogy, petrology


---

## 1 answers

### Answer by username_1 on 2014-10-26. Score: 12 | Accepted answer

**Why you should not do it**

The QAPF and related diagrams are intended for classification of rocks in the field, or preliminary classification with modal proportions as seen in the optical microscope. They are not designed with the chemical composition of the rocks in the mind. Furthermore, these diagrams are merely descriptive and not genetic. They do not take into account many factors affecting the various characteristics of the rocks. While doing something like this may be interesting for homework exercise, it is not something I would expect to see in a recent research article.

**If you want to do it anyway**

Your solution should consist of two steps.

1. Finding what is the norm of the rock. A norm is an estimation of the ideal mineralogy of an igneous rock, based on the chemical composition of the rock. The most common norm calculation method is the CIPW norm, but there are other methods as well. For starters you should do fine with the norm. Instructions on how to calculate the CIPW norm are available in your favourite petrology textbook, [here](http://www.uwgb.edu/dutchs/Petrology/cipw01.htm), or [here](http://minerva.union.edu/hollochk/c_petrology/norms.htm). I've also seen some algorithms that do it for you, but their success varies on the silica undersaturated side of the rock spectrum.
2. Now that you have the norm, add together anorthite and albite to count how much plagioclase you have. You are also given the rest of the minerals. Now all you need to do is use the normalised relative proportions of each triplet of minerals to place them on the diagram. [Here's a refresher on that](https://en.wikipedia.org/wiki/Ternary_plot#Example).


---

