StatGeochem.jl
Some computational tools for geochemistry
Installation
StatGeochem.jl is written in the Julia programming language.
In the Julia package manager (type ]
in the REPL to enter):
pkg> add https://github.com/brenhinkeller/StatGeochem.jl
or equivalently outside of the package manager:
julia> using Pkg
julia> Pkg.add(PackageSpec(url="https://github.com/brenhinkeller/StatGeochem.jl"))
Usage
This package can be used in the Julia REPL, in scripts or functions in Julia .jl
files, in the Juno/Atom IDE, or in a Jupyter notebook. There aren't examples yet for most of the code in this repository, but for a quick demonstration, try the interactive Jupyter notebooks (it may take a few minutes for these to launch)
Weighted bootstrap resampling: BootstrapResamplingDemo.ipynb
Constant-silica reference model: ConstantSilicaReferenceModel.ipynb
Julia-alphaMELTS interface demo: MeltsExamples.ipynb
Julia-Perple_X interface demo: PerplexExamples.ipynb
The above links run notebooks from the examples/ folder on a JupyterHub server hosted by the Binder project. If you make changes to the online notebook, you can save them with File
> Download as
> Notebook (.ipynb)
To run a downloaded notebook locally, use IJulia
julia> using IJulia
julia> notebook()