https://github.com/alexiii/grafen-inversion
https://github.com/alexiii/grafen-inversion
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexiii/grafen-inversion
- Owner: AlexIII
- License: mit
- Created: 2020-08-02T11:12:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T12:59:11.000Z (over 3 years ago)
- Last Synced: 2025-06-27T01:39:04.430Z (about 1 year ago)
- Language: Python
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Gravity inversion script example using [GRAFEN](https://github.com/AlexIII/GRAFEN/tree/topo+layered)
## Usage
Workload is defined as a directory with config, measured gravity field data and a height map.
```
./grafen-inversion.py workload_dir [init | solve | continue]
workload_dir/
target_field*.grd
topo_hieghtmap*.grd
config.txt
n_layers = 81
[l0 = 60]
[pprr = 100] # Point Potential Replace Radius, -1 for no PPRR
```
## Basic description
lang: python 3.7
Files:
- `grafen-inversion.py` - main program file.
- `cg.py` - Conjugate gradient method for solving system of linear equations.
- `Aop.py` - a wrapper over GRAFEN and an assortment of grd-related operations.
- `pygrid.py` - a class to work with Surfer grd7 files. Represents grd7 file as NumPy array.
## License
This software is distributed under MIT License. © Alexander Chernoskutov, Denis Byzov