Python script that takes an excel spreadsheet containing major oxide data, T, and P for a silicate melt and outputs the density of each sample as a new excel spreadsheet.
DensityX is also distributed as a python library, so you can use this model in your own python code. Install using pip install densityx. See contents of the /lib folder for a README with example usage of the library. The module densityx takes a pandas dataframe and returns a pandas dataframe.
Iacovino, K. and Till, C. B. (2019) “DensityX: A program for calculating the densities of magmatic liquids up to 1,627 °C and 30 kbar”, Volcanica, 2(1), pp. 1–10. doi: 10.30909/vol.02.01.0110.
DensityX can be run as a webapp with no download or coding required at https://densityx.herokuapp.com.
This project is licensed under the MIT License - see the LICENSE.md file for details