Function that searches through the matrix of phases per pixel and exports the statistics of representation of different phases in the map as well as the bulk composition of pixels in the map. de Winter, N. J. (2017) doi:10.5194/gmd-2017-137
Oyster_phase_stats(phasemat, phases)
Arguments
phasemat: matrix of phases of each pixel sorted by X- and Y-coordinate of the pixel
phases: Matrix containing colour and trace element data of the phases in the XRF phase map
Details
Phase statistics are calculated by looping through the matrix of phases created from the XRF phase map and comparing with the "phases" statistics table
Returns
phase_stat: matrix of statistics of trace elements and phases in the total map
References
de Winter, N. J.: ShellTrace v1.0 ? A new approach for modelling growth and trace element uptake in marine bivalve shells: Model verification on pacific oyster shells (Crassostrea gigas), Geosci. Model Dev. Discuss., https://doi.org/10.5194/gmd-2017-137, in review, 2017.
Author(s)
Niels J. de Winter
Note
Please cite Geoscientific Model Development paper dealing with the ShellTrace model