Skip to content

Commit

Permalink
Merge branch 'release/0.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
morganjwilliams committed Jun 4, 2020
2 parents 1f77574 + 2ac39b2 commit 89ccedf
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 73 deletions.
16 changes: 9 additions & 7 deletions 00_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"\n",
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand All @@ -36,8 +36,6 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"\n",
"<details>\n",
" <summary>About this Presentation</summary>\n",
"<p>\n",
Expand All @@ -51,7 +49,11 @@
" \n",
"This presentation has been constructed using <a href=\"https://jupyter.org\">Jupyter notebooks</a> and <a href=\"https://voila.readthedocs.io\">Voilà</a> as an experiment in combining what would typically be found in a conference presentation with live-rendered interactive elements as a way to demonstrate aspects of software.\n",
"</p>\n",
"</details>"
"</details>\n",
"\n",
"<div class='alert alert-info'>\n",
" <b>Note</b>: The final versions of these notebooks are on the way, check back soon.\n",
"<div>"
]
},
{
Expand All @@ -74,8 +76,8 @@
"source": [
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down
16 changes: 7 additions & 9 deletions 01_Introduction.ipynb → 01_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"\n",
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand All @@ -24,16 +24,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Introduction\n",
"\n",
"### Key Messages\n",
"## Key Messages\n",
"\n",
"* Software is a key part of geochemical research\n",
"* Existing software is often relatively inflexible and intransparent\n",
"* Developing open-source tools can address some of the existing challenges\n",
"* Community input and support is likely required to make this sustainable\n",
"\n",
"### Software in Geochemistry\n",
"## Software in Geochemistry\n",
"\n",
"While software was once auxiliary to the collection of data and generation of knowledge, it is quickly becoming an essential component of scientific research. In geochemical research, we use software<sup><a id=\"a1\">[*](#f1)</a></sup> to control instruments and collect data, to reduce this raw data to produce estimates of composition, to analyse and model our data, and to produce graphical representations which we can use to communicate the meaning and significance of all of this. Additionally, while it's not the focus of this presentation, reserach software can also be later tertiary education programmes, especially those which seek to introduce students to what research looks like in practise. \n",
"\n",
Expand All @@ -50,7 +48,7 @@
"</p>\n",
"</sup>\n",
"\n",
"### Requirements and Challenges for Research Software\n",
"## Requirements and Challenges for Research Software\n",
"\n",
"There are number of key challenges for the development, adoption and sustainability of research software projects. Below we've listed a few of them with assocaited questions, and some potential solutions or advantages in developing community-driven open-source software.\n",
"\n",
Expand Down Expand Up @@ -199,8 +197,8 @@
"source": [
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down
24 changes: 14 additions & 10 deletions 021_pyrolite.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"\n",
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand All @@ -36,23 +36,27 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-info\">\n",
"Note that pyrolite is currently <a href=\"https://github.com/pyOpenSci/software-review/issues/20\" >in review</a>, and the following is largely taken from a short paper \"pyrolite: Python for Geochemistry\", recently submitted to pyOpenSci and the Journal of Open Source Software.\n",
"</div>\n",
"\n",
"``pyrolite`` provides tools for processing, transforming and visualising geochemical data from common tabular formats.\n",
"The package includes methods to recalculate and rescale whole-rock and mineral compositions, perform compositional statistics and create appropriate visualisations and also includes numerous auxiliary utilities (e.g. a geological timescale).\n",
"In addition, these tools provide a foundation for preparing data for subsequent machine learning applications using ``scikit-learn``<sup>[[1]](#pedregosa)</sup>.\n",
"In addition, these tools provide a foundation for preparing data for subsequent machine learning applications using ``scikit-learn``<sup><a href='#pedregosa'>[1]</a></sup>.\n",
"\n",
"Geochemical data are compositional (i.e. sum to 100%), and as such require non-standard statistical treatment<sup>[[2]](#aitchison)</sup>. While challenges of compositional data have long been acknowledged<sup>[[3]](#pearson)</sup>, appropriate measures to account for this have thus far seen limited uptake by the geochemistry community. The submodule ``pyrolite.comp`` provides access to methods for transforming compositional data, facilitating more robust statistical practices.\n",
"Geochemical data are compositional (i.e. sum to 100%), and as such require non-standard statistical treatment<sup><a href='#aitchison'>[2]</a></sup>. While challenges of compositional data have long been acknowledged<sup><a href='#pearson'>[3]</a></sup>, appropriate measures to account for this have thus far seen limited uptake by the geochemistry community. The submodule ``pyrolite.comp`` provides access to methods for transforming compositional data, facilitating more robust statistical practices.\n",
"\n",
"A variety of standard diagram methods (e.g. ternary, spider, and data-density diagrams; see Figs. 1, 2), templated diagrams (e.g. the Total-Alkali Silica diagram<sup>[[4]](#lebas)</sup>; and Pearce diagrams<sup>[[5]](#pearce)</sup> and novel geochemical visualisation methods are available.\n",
"A variety of standard diagram methods (e.g. ternary, spider, and data-density diagrams; see Figs. 1, 2), templated diagrams (e.g. the Total-Alkali Silica diagram<sup><a href='#lebas'>[5]</a></sup>; and Pearce diagrams<sup><a href='#pearce'>[5]</a></sup> and novel geochemical visualisation methods are available.\n",
"The need to visualise geochemical data (typically graphically represented as bivariate and ternary diagrams) has historically limited the use of multivariate measures in geochemical research.\n",
"Together with the methods for compositional data and utilities for dimensional reduction via ``scikit-learn``, ``pyrolite`` eases some of these difficulties and encourages users to make the most of their data dimensionality.\n",
"Further, the data-density and histogram-based methods are particularly useful for working with steadily growing volumes of geochemical data, as they reduce the impact of 'overplotting'.\n",
"\n",
"Reference datasets of compositional reservoirs (e.g. CI-Chondrite, Bulk Silicate Earth, Mid-Ocean Ridge Basalt) and a number of rock-forming mineral endmembers are installed with ``pyrolite``.\n",
"The first of these enables normalisation of composition to investigate relative geochemical patterns, and the second facilitates mineral endmember recalculation and normative calculations.\n",
"\n",
"``pyrolite`` also includes some specific methods to model geochemical patterns, such as the lattice strain model for trace element partitioning<sup>[[6]](#blundy)</sup>, a Sulfur Content at Sulfur Saturation (SCSS) model<sup>[[7]](#li)</sup>, and orthogonal polynomial decomposition for parameterising Rare Earth Element patterns<sup>[[8]](#oneill)</sup>.\n",
"``pyrolite`` also includes some specific methods to model geochemical patterns, such as the lattice strain model for trace element partitioning<sup><a href='#blundy'>[6]</a></sup>, a Sulfur Content at Sulfur Saturation (SCSS) model<sup><a href='#li'>[7]</a></sup>, and orthogonal polynomial decomposition for parameterising Rare Earth Element patterns<sup><a href='#oneill'>[8]</a></sup>.\n",
"\n",
"Extensions beyond the core functionality are also being developed, including ``pyrolite-meltsutil`` which provides utilities for working with ``alphaMELTS`` and it's outputs<sup>[[9]](#smith)</sup>, and is targeted towards performing large numbers of related melting and fractionation experiments.\n",
"Extensions beyond the core functionality are also being developed, including ``pyrolite-meltsutil`` which provides utilities for working with ``alphaMELTS`` and it's outputs<sup><a href='#smith'>[9]</a></sup>, and is targeted towards performing large numbers of related melting and fractionation experiments.\n",
"\n",
"| |\n",
"| - |\n",
Expand All @@ -62,7 +66,7 @@
"| |\n",
"| - |\n",
"|<img src=\"img/sphx_glr_spider_005.png\" alt=\"\" width=\"70%\">|\n",
"|Standard and density-mode spider diagrams generated from a synthetic dataset centred around an Enriched- Mid-Ocean Ridge Basalt composition<sup>[[10]](#sun)</sup>, normalised to Primitive Mantle<sup>[[11]](#palme)</sup>. Elements are ordered based on a proxy for trace element 'incompatibility' during mantle melting (e.g. as used by Hofmann<sup>[[12]](#hofmann)</sup>).|\n",
"|Standard and density-mode spider diagrams generated from a synthetic dataset centred around an Enriched- Mid-Ocean Ridge Basalt composition<sup><a href='#sun'>[10]</a></sup>, normalised to Primitive Mantle<sup><a href='#palme'>[11]</a></sup>. Elements are ordered based on a proxy for trace element 'incompatibility' during mantle melting (e.g. as used by Hofmann<sup><a href='#hofman'>[12]</a></sup>).|\n",
"\n",
"\n",
"### Conventions\n",
Expand Down Expand Up @@ -136,8 +140,8 @@
"source": [
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down
8 changes: 4 additions & 4 deletions 022_pyrolite-meltsutil.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"\n",
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down Expand Up @@ -229,8 +229,8 @@
"source": [
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down
8 changes: 4 additions & 4 deletions 023_interferences.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"\n",
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down Expand Up @@ -239,8 +239,8 @@
"source": [
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down
8 changes: 4 additions & 4 deletions 024_autopew.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"\n",
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down Expand Up @@ -56,8 +56,8 @@
"source": [
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down
8 changes: 4 additions & 4 deletions 02_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"\n",
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down Expand Up @@ -81,8 +81,8 @@
"source": [
"[**Abstract**](./00_overview.ipynb) | \n",
"**Intro**:\n",
"[Software in Geochem](./01_introduction.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_introduction.ipynb#Development-Workflow-&-Tools) |\n",
"[Software in Geochem](./01_intro.ipynb#Software-in-Geochemistry),\n",
"[Development & Tools](./01_intro.ipynb#Development-Workflow-&-Tools) |\n",
"[**Examples**](./02_examples.ipynb):\n",
"[pyrolite](./021_pyrolite.ipynb),\n",
"[pyrolite-meltsutil](./022_pyrolite-meltsutil.ipynb),\n",
Expand Down
Loading

0 comments on commit 89ccedf

Please sign in to comment.