kaylai / DensityX

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DensityX.py

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.

Peer-reviewed manuscript

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.

Web app

DensityX can be run as a webapp with no download or coding required at https://densityx.herokuapp.com.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

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


Languages

Language:Python 100.0%