Welcome to the VRock Laboratory (VRockLab) calculation website!

This website archives algorithms we developed for petrological studies, including a few online calculators for apatite ("ApThermo", "ApTimer") and Python & Matlab codes for conducting other calculations ("Python & Matlab code").

By clicking the buttons below, you will be directed to a new page for calculations. Please cite these software/codes when publishing your work.

ApThermo

This model can be used to calculate the abundances of water in silicate melts using concentrations of volatiles (F, Cl, H2O) in apatite.

Open

ApTimer

ApTimer is developed for estimating the timescale of multicomponent (F-Cl-OH) diffusion in apatite, and it can be applied to natural apatite that is zoned of F/Cl/OH. The calculated diffusion times can be related to magmatic processes such as magma ascent.

Open

Python & Matlab Code

This page compiles the Python and Matlab codes we developed for petrological studies.

Browse
Find out more about VRock Laboratory (VRockLab): https://weiranli.wixsite.com/alex