RockmagPy: tools for rock magnetic data analysis#

RockmagPy is a module of the PmagPy tools written in Python that is focused on the analysis of rock magnetic data. The functions within RockmagPy facilitate the visualization and interpretation of the results from experiments such as hysteresis loops, low-temperature remenance cycling, and thermomagnetic curves.

RockmagPy is designed to work with the MagIC database. It enables manipulation of MagIC data sets as well as the preparation of contributions for uploading to MagIC. Example notebooks have been developed to aid in the use of RockmagPy and with the goal of supporting well-documented data analysis. These notebooks can be downloaded from the RockmagPy notebooks repository to be run locally on one’s computer or run in the cloud on the EarthRef JupyterHub.

Installation 🪴

Instructions for how to install PmagPy on your computer.

https://pmagpy.github.io/PmagPy-docs/installation/PmagPy_install

Live notebooks 🚀

Launch RockmagPy notebooks in the cloud on Earthref’s JupyterHub. Run rockmag_set_up.ipynb to start.

https://jupyterhub.earthref.org/

MagIC database ⚡

Develop new contributions and analyze existing datasets in the MagIC database.

https://www2.earthref.org/MagIC/

Jupyter notebooks using RockmagPy#

Notebooks have been developed to use RockmagPy to analyze data from rock magnetic experiments. The notebook versions that are shown within this book are static (i.e. they don’t run the code). Some of the interactive features that have been developed are not visible as they would be in a running notebook. The rendered notebooks do give an overall sense of what functions are available within RockmagPy and explain associated methods. These notebooks can be run by either downloading them from the RockmagPy repository and running them in a Python environment on your computer or by running them in the cloud such as on the EarthRef JupyterHub. The RockmagPy set-up notebook is the place to get started with running notebooks on Jupyterhub. The Rockmag MagIC data unpack notebook illustrates how data from rock magnetic experiments that are in MagIC format can be imported from the database.

Acknowledgements#

Current development of RockmagPy is supported by the National Science Foundation through its support for the MagIC database.