https://github.com/birocoles/gravmag
Algorithms for processing and interpreting potential-field data in Geophysics
https://github.com/birocoles/gravmag
geophysics gravitational-fields interpretation magnetic-fields potential-fields processing python
Last synced: about 1 month ago
JSON representation
Algorithms for processing and interpreting potential-field data in Geophysics
- Host: GitHub
- URL: https://github.com/birocoles/gravmag
- Owner: birocoles
- License: bsd-3-clause
- Created: 2020-11-23T17:06:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T19:12:55.000Z (9 months ago)
- Last Synced: 2025-03-28T17:48:05.608Z (about 2 months ago)
- Topics: geophysics, gravitational-fields, interpretation, magnetic-fields, potential-fields, processing, python
- Language: Python
- Homepage:
- Size: 21.6 MB
- Stars: 13
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GravMag
A simple Python Package for processing and interpreting gravity and magnetic
data in Geophysics.[](https://doi.org/10.5281/zenodo.8284770)
#### General description
The idea is to use mostly standard Python libraries like [`numpy`](https://numpy.org/) and [`scipy`](https://scipy.org/)
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`](https://matplotlib.org/) 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`.
#### Installing, testing, uninstalling, ...
The recomendation here is using the `Makefile` to install, test and also uninstall the `gravmag`.
[`Ubuntu`](https://ubuntu.com/) users may execute the steps below:
1. Create a copy of the present repository at your computer.
2. Open the terminal in the root directory `gravmag` at your computer and execute the command `make install`.
3. Also at the root directory `gravmag`, execute `make test` in terminal to test the code. The command
`make report` creates the file `index.html` at `gravmag/gravmag/tests/htmlcov`. Open this file in your preferred
browser to see a report of the tests.
4. To uninstall **`gravmag`**, execute the command `make uninstall` in the root directory `gravmag`.