A simple Python Package for processing and interpreting gravity and magnetic data in Geophysics.
The idea is to use mostly standard Python libraries like numpy
and scipy
for building everything, or at least most of it.
We don't focus too much on plotting, but if we need to, we usually rely on the standard
matplolib
library.
Sticking to these standard libraries makes things easier when it comes to installing and updating the code.
We might use gravmag
for teaching classes, courses, and doing research.
The aim is to create a foundation that can be possibly adapted to handle big data and super tricky problems.
By 'reinventing the wheel,' we're basically learning how to create new stuff from scratch.
All references cited in the code and examples are shown in the file references.md
.
The recomendation here is using the Makefile
to install, test and also uninstall the gravmag
.
Ubuntu
users may execute the steps below:
- Create a copy of the present repository at your computer.
- Open the terminal in the root directory
gravmag
at your computer and execute the commandmake install
. - Also at the root directory
gravmag
, executemake test
in terminal to test the code. The commandmake report
creates the fileindex.html
atgravmag/gravmag/tests/htmlcov
. Open this file in your preferred browser to see a report of the tests. - To uninstall
gravmag
, execute the commandmake uninstall
in the root directorygravmag
.