Convenient stratigraphic plotting and analysis in Python.
pystrat seeks to make the plotting and analysis of stratigraphic data reproducible and simple.
To install the latest release from PyPI, simply enter the following at the command prompt:
pip install pystrat
To install the latest version of the code directly from GitHub:
-
Open Terminal.
-
Change the current working directory to the location where you want the cloned directory to be made.
cd <path/to/directory/>
- Copy, paste, and execute the following:
git clone https://github.com/yuempark/pystrat.git
- Set the path by opening
.bash_profile
or.bashrc
(usually in your root directory) and adding the following:
export PATH=$PATH:<path/to/directory>/pystrat
export PYTHONPATH=$PYTHONPATH:<path/to/directory>/pystrat
- If you don't want to mess with your
.bash_profile
or.bashrc
, just make sure that your code is in the same directory aspystrat-tutorial.ipynb
.
A tutorial on how to use the main features of pystrat are included in pystrat-tutorial.ipynb. Illustrations of the available swatches that can be implemented using the style.csv
are provided in swatches.md.
We can make pystrat better - feel free to raise an issue or make a pull request!