stoneforge 0.2.0b0__tar.gz → 0.2.0b2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stoneforge-0.2.0b2/CHANGELOG.txt +6 -0
- stoneforge-0.2.0b2/MANIFEST.in +1 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/PKG-INFO +84 -85
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/README.md +2 -2
- stoneforge-0.2.0b2/docs/_build/html/_sources/index.rst.txt +43 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/modules/machinelearning/classification.rst.txt +39 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/modules/machinelearning/index.rst.txt +10 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/modules/machinelearning/regression.rst.txt +39 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/modules/petrophysics.rst.txt +39 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/modules/preprocessing.rst.txt +28 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/modules/pseudowells.rst.txt +23 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/modules/rockphysics.rst.txt +47 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/usage/installation.rst.txt +40 -0
- stoneforge-0.2.0b2/docs/_build/html/_sources/usage/quickstart.rst.txt +28 -0
- stoneforge-0.2.0b2/docs/conf.py +47 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/pyproject.toml +22 -13
- stoneforge-0.2.0b2/setup.cfg +4 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/datasets/dataload.py +5 -1
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/io/csv.py +1 -1
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/io/dlisio_r.py +109 -16
- {stoneforge-0.2.0b0/stoneforge/preprocessing → stoneforge-0.2.0b2/stoneforge/io}/las2.py +2 -0
- stoneforge-0.2.0b2/stoneforge/io/lasparser.py +74 -0
- stoneforge-0.2.0b2/stoneforge/machine_learning/__init__.py +4 -0
- stoneforge-0.2.0b2/stoneforge/machine_learning/classification/fit.py +266 -0
- stoneforge-0.2.0b2/stoneforge/machine_learning/classification/predict.py +104 -0
- stoneforge-0.2.0b2/stoneforge/machine_learning/classification/settings.py +93 -0
- {stoneforge-0.2.0b0/stoneforge/machine_learning → stoneforge-0.2.0b2/stoneforge/machine_learning/classification}/validation.py +28 -30
- stoneforge-0.2.0b2/stoneforge/machine_learning/regression/fit.py +347 -0
- stoneforge-0.2.0b2/stoneforge/machine_learning/regression/predict.py +119 -0
- stoneforge-0.2.0b2/stoneforge/machine_learning/regression/settings.py +91 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/helpers.py +1 -2
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/porosity.py +78 -98
- stoneforge-0.2.0b2/stoneforge/petrophysics/shale_volume.py +319 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/total_organic_carbon_content.py +6 -9
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/water_saturation.py +87 -87
- stoneforge-0.2.0b2/stoneforge/preprocessing/data_management.py +348 -0
- stoneforge-0.2.0b2/stoneforge/preprocessing/data_processing.py +180 -0
- stoneforge-0.2.0b2/stoneforge/pseudo_wells/monte_carlo_simulations.py +552 -0
- stoneforge-0.2.0b2/stoneforge/rock_physics/elastic_constants.py +236 -0
- stoneforge-0.2.0b2/stoneforge/rock_physics/fluid_substitution.py +380 -0
- stoneforge-0.2.0b2/stoneforge/rock_physics/gem.py +454 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/rock_physics/inclusion.py +2 -16
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/rock_physics/rock_physics_bounds.py +19 -19
- stoneforge-0.2.0b2/stoneforge.egg-info/PKG-INFO +84 -0
- stoneforge-0.2.0b2/stoneforge.egg-info/SOURCES.txt +95 -0
- stoneforge-0.2.0b2/stoneforge.egg-info/dependency_links.txt +1 -0
- stoneforge-0.2.0b2/stoneforge.egg-info/requires.txt +10 -0
- stoneforge-0.2.0b2/stoneforge.egg-info/top_level.txt +1 -0
- stoneforge-0.2.0b2/tests/tests_ml/test_classification.py +128 -0
- stoneforge-0.2.0b2/tests/tests_ml/test_regression.py +142 -0
- stoneforge-0.2.0b2/tests/tests_porosity/parameters_p.py +61 -0
- stoneforge-0.2.0b2/tests/tests_porosity/test_porosity.py +102 -0
- stoneforge-0.2.0b2/tests/tests_rock_physics/test_fluid_substitution.py +37 -0
- stoneforge-0.2.0b2/tests/tests_rock_physics/test_gem.py +48 -0
- stoneforge-0.2.0b2/tests/tests_water_saturation/parameters_ws.py +40 -0
- stoneforge-0.2.0b2/tests/tests_water_saturation/test_water_saturation.py +51 -0
- stoneforge-0.2.0b0/.gitignore +0 -142
- stoneforge-0.2.0b0/stoneforge/data_management/__init__.py +0 -1
- stoneforge-0.2.0b0/stoneforge/data_management/las_import.py +0 -19
- stoneforge-0.2.0b0/stoneforge/data_replacement/fit.py +0 -447
- stoneforge-0.2.0b0/stoneforge/data_replacement/predict.py +0 -176
- stoneforge-0.2.0b0/stoneforge/data_replacement/settings.py +0 -100
- stoneforge-0.2.0b0/stoneforge/datasets/DP1.las +0 -15735
- stoneforge-0.2.0b0/stoneforge/datasets/DSDP_leg_96_hole_616_96_original_data.dlis +0 -0
- stoneforge-0.2.0b0/stoneforge/datasets/DSDP_leg_96_hole_616_96_processed_data.dlis +0 -0
- stoneforge-0.2.0b0/stoneforge/datasets/ES1.las +0 -15337
- stoneforge-0.2.0b0/stoneforge/datasets/IK1.las +0 -30843
- stoneforge-0.2.0b0/stoneforge/datasets/WD1.las +0 -8333
- stoneforge-0.2.0b0/stoneforge/datasets/las2.py +0 -370
- stoneforge-0.2.0b0/stoneforge/io/las2.py +0 -370
- stoneforge-0.2.0b0/stoneforge/machine_learning/fit.py +0 -297
- stoneforge-0.2.0b0/stoneforge/machine_learning/predict.py +0 -159
- stoneforge-0.2.0b0/stoneforge/machine_learning/settings.py +0 -71
- stoneforge-0.2.0b0/stoneforge/petrophysics/shale_volume.py +0 -262
- stoneforge-0.2.0b0/stoneforge/preprocessing/data_management.py +0 -195
- stoneforge-0.2.0b0/stoneforge/preprocessing/data_processing.py +0 -129
- stoneforge-0.2.0b0/stoneforge/pseudo_wells/monte_carlo_simulations.py +0 -508
- stoneforge-0.2.0b0/stoneforge/rock_physics/elastic_constants.py +0 -229
- stoneforge-0.2.0b0/stoneforge/rock_physics/fluid_substitution.py +0 -367
- stoneforge-0.2.0b0/stoneforge/rock_physics/gem.py +0 -407
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/LICENSE +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/datasets/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/datasets/data_info.txt +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/regularized_acoustic_reflectivy_inversion.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/viability_study/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/viability_study/bayes.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/io/__init__.py +0 -0
- {stoneforge-0.2.0b0/stoneforge/machine_learning → stoneforge-0.2.0b2/stoneforge/machine_learning/classification}/__init__.py +0 -0
- {stoneforge-0.2.0b0/stoneforge/machine_learning → stoneforge-0.2.0b2/stoneforge/machine_learning/classification}/evaluation.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/__init__.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/evaluation.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/fit.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/predict.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/settings.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/validation.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/__init__.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/evaluation.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/fit.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/predict.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/settings.py +0 -0
- {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/validation.py +0 -0
- {stoneforge-0.2.0b0/stoneforge/data_replacement → stoneforge-0.2.0b2/stoneforge/machine_learning/regression}/__init__.py +0 -0
- {stoneforge-0.2.0b0/stoneforge/data_replacement → stoneforge-0.2.0b2/stoneforge/machine_learning/regression}/evaluation.py +0 -0
- {stoneforge-0.2.0b0/stoneforge/data_replacement → stoneforge-0.2.0b2/stoneforge/machine_learning/regression}/mldr_project.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/preprocessing/__init__.py +0 -0
- {stoneforge-0.2.0b0/stoneforge/data_management → stoneforge-0.2.0b2/stoneforge/preprocessing}/las2.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/preprocessing/las_pandas.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/pseudo_wells/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/pseudo_wells/lithology_generator.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/pseudo_wells/pseudo_tools.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/rock_physics/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/vis/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/vis/img.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/__init__.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/butterworth.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/ormsby.py +0 -0
- {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/ricker.py +0 -0
- /stoneforge-0.2.0b0/stoneforge/data_management/file_import.py → /stoneforge-0.2.0b2/tests/tests_rock_physics/test_elastic_constants.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
global-include *.txt *.py
|
|
@@ -1,85 +1,84 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: stoneforge
|
|
3
|
-
Version: 0.2.
|
|
4
|
-
Summary: Geophysics equations, algorithms and methods
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Classifier:
|
|
10
|
-
Classifier:
|
|
11
|
-
Classifier:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Requires-Dist: dlisio>=1.0.3
|
|
16
|
-
Requires-Dist:
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Requires-Dist:
|
|
21
|
-
Requires-Dist: pandas>=2.2.2
|
|
22
|
-
Requires-Dist:
|
|
23
|
-
Requires-Dist:
|
|
24
|
-
Requires-Dist:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
<
|
|
40
|
-
<a href="
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<
|
|
46
|
-
<a href="https://
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
Reston, Va. : Denver, Colo : U.S. Dept. of the Interior, U.S. Geological Survey1999
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: stoneforge
|
|
3
|
+
Version: 0.2.0b2
|
|
4
|
+
Summary: Geophysics equations, algorithms and methods
|
|
5
|
+
Author: GIECAR - UFF, Wagner M. Lupinacci, Fernando Vizeu, Fábio Júnior D Fernandes, José A. V. Dias, Mario M. Ramos, Jordan S. Cuno, João Vitor A. Estrella, Ana Carolina, Breno D. Chrispim
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: homepage, https://github.com/giecaruff/stoneforge
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Intended Audience :: Education
|
|
10
|
+
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: dlisio>=1.0.3
|
|
16
|
+
Requires-Dist: numpy>=2.2.0
|
|
17
|
+
Requires-Dist: pytest>=8.3.4
|
|
18
|
+
Requires-Dist: scipy>=1.14.1
|
|
19
|
+
Requires-Dist: scikit-learn>=1.6.1
|
|
20
|
+
Requires-Dist: matplotlib>=3.10.0
|
|
21
|
+
Requires-Dist: pandas>=2.2.2
|
|
22
|
+
Requires-Dist: lightgbm>=4.5.0
|
|
23
|
+
Requires-Dist: ipympl>=0.8.4
|
|
24
|
+
Requires-Dist: ipykernel>=6.30.0
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
<p align="center">
|
|
28
|
+
<img src="https://raw.githubusercontent.com/giecaruff/logos/main/APPY/stoneforge.png" width="400"/>
|
|
29
|
+
|
|
30
|
+
<h2 align="center">Algorithms, methods and equations for geophysics in Python</h2>
|
|
31
|
+
|
|
32
|
+
<p align="center">
|
|
33
|
+
Part of the <strong>Appy</strong> project
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
<p align="center">
|
|
39
|
+
<a href="https://giecaruff.github.io/stoneforge/"><strong>Documentation</strong> (latest)</a> |
|
|
40
|
+
<a href="http://gcr.sites.uff.br/"><strong>Institutional</strong> (GIECAR website)</a>
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
<p align="center">
|
|
45
|
+
<a href="https://github.com/giecaruff/stoneforge/actions"><img src="https://github.com/giecaruff/stoneforge/actions/workflows/CI.yml/badge.svg" alt="Latest version on PyPI"/></a>
|
|
46
|
+
<a href="https://badge.fury.io/py/stoneforge"><img src="https://badge.fury.io/py/stoneforge.svg" alt="PyPI version" height="20"></a>
|
|
47
|
+
</p>
|
|
48
|
+
|
|
49
|
+
<!--
|
|
50
|
+
[](https://github.com/giecaruff/stoneforge/actions)
|
|
51
|
+
-->
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## About
|
|
55
|
+
|
|
56
|
+
The Stoneforge library is linked to the GIECAR laboratory at the Universidade Federal Fluminense (UFF) related to the Geology and Geophysics Departmnet <a href="http://geologiaegeofisica.sites.uff.br/"> (GGO)</a>, and its purpose is to teach and develop routines in Python to solve geological and geophysical problems.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## Installation and first steps
|
|
60
|
+
|
|
61
|
+
To install stoneforge use the following syntax in your command interpreter environment:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
$pip install stoneforge
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
and them verify the installation using the following command in Python:
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
>>> import stoneforge
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Dataset
|
|
74
|
+
|
|
75
|
+
The stoneforge dataset comprises the following data:
|
|
76
|
+
|
|
77
|
+
Four .las data from wildcat wells in the National Petroleum Reserve in Alaska. Those where drilled in the National Petroleum Reserve in Alaska (NPRA). </br>
|
|
78
|
+
[USGS Well Index](https://pubs.usgs.gov/of/1999/ofr-99-0015/Wells/WellIdx.htm)
|
|
79
|
+
|
|
80
|
+
Two .dlis data from the Mississippi Fan (Gulf of Mexico) from the DSDP (Deep Sea Drilling Project); DSDP Leg 96 - Hole 616; Processed and Original data. </br>
|
|
81
|
+
[DSDP Leg 96 - Hole 616](https://mlp.ldeo.columbia.edu/data/dsdp/leg96/616/)
|
|
82
|
+
|
|
83
|
+
Zihlman, F. N creator ; Oliver, H. L ; Geological Survey (U.S.)
|
|
84
|
+
Reston, Va. : Denver, Colo : U.S. Dept. of the Interior, U.S. Geological Survey1999
|
|
@@ -10,7 +10,7 @@ Part of the <strong>Appy</strong> project
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<a href="https://giecaruff.github.io/
|
|
13
|
+
<a href="https://giecaruff.github.io/stoneforge/"><strong>Documentation</strong> (latest)</a> |
|
|
14
14
|
<a href="http://gcr.sites.uff.br/"><strong>Institutional</strong> (GIECAR website)</a>
|
|
15
15
|
</p>
|
|
16
16
|
|
|
@@ -55,4 +55,4 @@ Two .dlis data from the Mississippi Fan (Gulf of Mexico) from the DSDP (Deep Sea
|
|
|
55
55
|
[DSDP Leg 96 - Hole 616](https://mlp.ldeo.columbia.edu/data/dsdp/leg96/616/)
|
|
56
56
|
|
|
57
57
|
Zihlman, F. N creator ; Oliver, H. L ; Geological Survey (U.S.)
|
|
58
|
-
Reston, Va. : Denver, Colo : U.S. Dept. of the Interior, U.S. Geological Survey1999
|
|
58
|
+
Reston, Va. : Denver, Colo : U.S. Dept. of the Interior, U.S. Geological Survey1999
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.. Stoneforge documentation master file, created by
|
|
2
|
+
sphinx-quickstart on Mon May 27 13:42:11 2024.
|
|
3
|
+
You can adapt this file completely to your liking, but it should at least
|
|
4
|
+
contain the root `toctree` directive.
|
|
5
|
+
|
|
6
|
+
Welcome to Stoneforge's documentation!
|
|
7
|
+
======================================
|
|
8
|
+
|
|
9
|
+
**Version**: 1.4
|
|
10
|
+
|
|
11
|
+
**Stoneforge** is a Python library for geophysics equations, algorithms and methods that also,
|
|
12
|
+
are used in the software Appy. It is linked to the GIECAR laboratory at the Universidade Federal
|
|
13
|
+
Fluminense (UFF) related to the Geology and Geophysics Departament (GGO), and its purpose is to teach
|
|
14
|
+
and develop routines in Python to solve geological and geophysical problems. Main APPy references are :footcite:t:`estrella2022sbgf,estrella2022seg`.
|
|
15
|
+
|
|
16
|
+
.. note::
|
|
17
|
+
This project is under active development as of May 2024.
|
|
18
|
+
|
|
19
|
+
.. toctree::
|
|
20
|
+
:maxdepth: 2
|
|
21
|
+
:caption: Contents:
|
|
22
|
+
|
|
23
|
+
usage/installation
|
|
24
|
+
usage/quickstart
|
|
25
|
+
|
|
26
|
+
modules/petrophysics
|
|
27
|
+
modules/rockphysics
|
|
28
|
+
modules/pseudowells
|
|
29
|
+
modules/machinelearning/index
|
|
30
|
+
modules/preprocessing
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
Indices and tables
|
|
34
|
+
==================
|
|
35
|
+
|
|
36
|
+
* :ref:`genindex`
|
|
37
|
+
* :ref:`modindex`
|
|
38
|
+
* :ref:`search`
|
|
39
|
+
|
|
40
|
+
References
|
|
41
|
+
----------------
|
|
42
|
+
|
|
43
|
+
.. footbibliography::
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Classification
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
This section contains documentation for the Classification module (Machine learning).
|
|
6
|
+
|
|
7
|
+
.. automodule:: stoneforge.machine_learning.classification
|
|
8
|
+
:members:
|
|
9
|
+
:undoc-members:
|
|
10
|
+
:show-inheritance:
|
|
11
|
+
|
|
12
|
+
Settings (Classification)
|
|
13
|
+
--------------------------------
|
|
14
|
+
|
|
15
|
+
.. automodule:: stoneforge.machine_learning.classification.settings
|
|
16
|
+
:members:
|
|
17
|
+
:undoc-members:
|
|
18
|
+
:show-inheritance:
|
|
19
|
+
|
|
20
|
+
Fit (Classification)
|
|
21
|
+
--------------------------------
|
|
22
|
+
|
|
23
|
+
.. automodule:: stoneforge.machine_learning.classification.fit
|
|
24
|
+
:members:
|
|
25
|
+
:undoc-members:
|
|
26
|
+
:show-inheritance:
|
|
27
|
+
|
|
28
|
+
Predict (Classification)
|
|
29
|
+
--------------------------------
|
|
30
|
+
|
|
31
|
+
.. automodule:: stoneforge.machine_learning.classification.predict
|
|
32
|
+
:members:
|
|
33
|
+
:undoc-members:
|
|
34
|
+
:show-inheritance:
|
|
35
|
+
|
|
36
|
+
References
|
|
37
|
+
--------------------------------
|
|
38
|
+
|
|
39
|
+
.. footbibliography::
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Regression
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
This section contains documentation for the Regression module in (machine learning).
|
|
6
|
+
|
|
7
|
+
.. automodule:: stoneforge.machine_learning.regression
|
|
8
|
+
:members:
|
|
9
|
+
:undoc-members:
|
|
10
|
+
:show-inheritance:
|
|
11
|
+
|
|
12
|
+
Settings (Regression)
|
|
13
|
+
--------------------------------
|
|
14
|
+
|
|
15
|
+
.. automodule:: stoneforge.machine_learning.regression.settings
|
|
16
|
+
:members:
|
|
17
|
+
:undoc-members:
|
|
18
|
+
:show-inheritance:
|
|
19
|
+
|
|
20
|
+
Fit (Regression)
|
|
21
|
+
--------------------------------
|
|
22
|
+
|
|
23
|
+
.. automodule:: stoneforge.machine_learning.regression.fit
|
|
24
|
+
:members:
|
|
25
|
+
:undoc-members:
|
|
26
|
+
:show-inheritance:
|
|
27
|
+
|
|
28
|
+
Predict (Regression)
|
|
29
|
+
--------------------------------
|
|
30
|
+
|
|
31
|
+
.. automodule:: stoneforge.machine_learning.regression.predict
|
|
32
|
+
:members:
|
|
33
|
+
:undoc-members:
|
|
34
|
+
:show-inheritance:
|
|
35
|
+
|
|
36
|
+
References
|
|
37
|
+
--------------------------------
|
|
38
|
+
|
|
39
|
+
.. footbibliography::
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Petrophysics
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
This section contains documentation for the Petrophysics module. We indicate the reference (Pt-Br) of :footcite:t:`freire2020youtube` for the methods used in this module.
|
|
6
|
+
|
|
7
|
+
.. automodule:: stoneforge.petrophysics
|
|
8
|
+
:members:
|
|
9
|
+
:undoc-members:
|
|
10
|
+
:show-inheritance:
|
|
11
|
+
|
|
12
|
+
Porosity
|
|
13
|
+
---------------
|
|
14
|
+
|
|
15
|
+
.. automodule:: stoneforge.petrophysics.porosity
|
|
16
|
+
:members:
|
|
17
|
+
:undoc-members:
|
|
18
|
+
:show-inheritance:
|
|
19
|
+
|
|
20
|
+
Shale Volume
|
|
21
|
+
----------------
|
|
22
|
+
|
|
23
|
+
.. automodule:: stoneforge.petrophysics.shale_volume
|
|
24
|
+
:members:
|
|
25
|
+
:undoc-members:
|
|
26
|
+
:show-inheritance:
|
|
27
|
+
|
|
28
|
+
Water Saturation
|
|
29
|
+
----------------
|
|
30
|
+
|
|
31
|
+
.. automodule:: stoneforge.petrophysics.water_saturation
|
|
32
|
+
:members:
|
|
33
|
+
:undoc-members:
|
|
34
|
+
:show-inheritance:
|
|
35
|
+
|
|
36
|
+
References
|
|
37
|
+
----------------
|
|
38
|
+
|
|
39
|
+
.. footbibliography::
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Preprocessing
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
This section contains documentation for the Preprocessing module.
|
|
6
|
+
NOTE: Those methods will be modified in the future to be more flexible and
|
|
7
|
+
to allow for more complex workflows.
|
|
8
|
+
|
|
9
|
+
.. automodule:: stoneforge.preprocessing
|
|
10
|
+
:members:
|
|
11
|
+
:undoc-members:
|
|
12
|
+
:show-inheritance:
|
|
13
|
+
|
|
14
|
+
Data Management
|
|
15
|
+
-------------------------
|
|
16
|
+
|
|
17
|
+
.. automodule:: stoneforge.preprocessing.data_management
|
|
18
|
+
:members:
|
|
19
|
+
:undoc-members:
|
|
20
|
+
:show-inheritance:
|
|
21
|
+
|
|
22
|
+
Data Processing
|
|
23
|
+
-------------------------
|
|
24
|
+
|
|
25
|
+
.. automodule:: stoneforge.preprocessing.data_processing
|
|
26
|
+
:members:
|
|
27
|
+
:undoc-members:
|
|
28
|
+
:show-inheritance:
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Pseudo Wells
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
This section contains documentation for the Pseudo Wells module.
|
|
6
|
+
|
|
7
|
+
.. automodule:: stoneforge.pseudo_wells
|
|
8
|
+
:members:
|
|
9
|
+
:undoc-members:
|
|
10
|
+
:show-inheritance:
|
|
11
|
+
|
|
12
|
+
Monte Carlo Simulations
|
|
13
|
+
-------------------------
|
|
14
|
+
|
|
15
|
+
.. automodule:: stoneforge.pseudo_wells.monte_carlo_simulations
|
|
16
|
+
:members:
|
|
17
|
+
:undoc-members:
|
|
18
|
+
:show-inheritance:
|
|
19
|
+
|
|
20
|
+
References
|
|
21
|
+
----------------
|
|
22
|
+
|
|
23
|
+
.. footbibliography::
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Rock Physics
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
This section contains documentation for the Rock Physics module. We indicate the reference (Pt-Br) of :footcite:t:`wagner2020rock_physics` for the methods used in this module.
|
|
6
|
+
|
|
7
|
+
.. automodule:: stoneforge.rock_physics
|
|
8
|
+
:members:
|
|
9
|
+
:undoc-members:
|
|
10
|
+
:show-inheritance:
|
|
11
|
+
|
|
12
|
+
Elastic Constants
|
|
13
|
+
---------------------
|
|
14
|
+
|
|
15
|
+
.. automodule:: stoneforge.rock_physics.elastic_constants
|
|
16
|
+
:members:
|
|
17
|
+
:undoc-members:
|
|
18
|
+
:show-inheritance:
|
|
19
|
+
|
|
20
|
+
Fluid Substitution
|
|
21
|
+
---------------------
|
|
22
|
+
|
|
23
|
+
.. automodule:: stoneforge.rock_physics.fluid_substitution
|
|
24
|
+
:members:
|
|
25
|
+
:undoc-members:
|
|
26
|
+
:show-inheritance:
|
|
27
|
+
|
|
28
|
+
Gem
|
|
29
|
+
----------------
|
|
30
|
+
|
|
31
|
+
.. automodule:: stoneforge.rock_physics.gem
|
|
32
|
+
:members:
|
|
33
|
+
:undoc-members:
|
|
34
|
+
:show-inheritance:
|
|
35
|
+
|
|
36
|
+
Rock Physics Bounds
|
|
37
|
+
---------------------
|
|
38
|
+
|
|
39
|
+
.. automodule:: stoneforge.rock_physics.rock_physics_bounds
|
|
40
|
+
:members:
|
|
41
|
+
:undoc-members:
|
|
42
|
+
:show-inheritance:
|
|
43
|
+
|
|
44
|
+
References
|
|
45
|
+
----------------
|
|
46
|
+
|
|
47
|
+
.. footbibliography::
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Installing Stoneforge
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
This guide will walk you through the installation of the the Stoneforge library.
|
|
6
|
+
|
|
7
|
+
Prerequisites
|
|
8
|
+
=============
|
|
9
|
+
|
|
10
|
+
Before you begin, ensure you have met the following requirements:
|
|
11
|
+
|
|
12
|
+
* You have installed Python 3.8 or later (with pip).
|
|
13
|
+
* You have a Windows/Linux/Mac machine.
|
|
14
|
+
|
|
15
|
+
Installation
|
|
16
|
+
============
|
|
17
|
+
|
|
18
|
+
To install Stoneforge, follow these steps:
|
|
19
|
+
|
|
20
|
+
Windows, Linux and macOS
|
|
21
|
+
------------------------
|
|
22
|
+
|
|
23
|
+
1. Open your terminal.
|
|
24
|
+
|
|
25
|
+
2. Install the Stoneforge package with pip:
|
|
26
|
+
|
|
27
|
+
.. code-block:: bash
|
|
28
|
+
|
|
29
|
+
pip install stoneforge
|
|
30
|
+
|
|
31
|
+
Verify Installation
|
|
32
|
+
===================
|
|
33
|
+
|
|
34
|
+
To verify that Stoneforge has been installed correctly, type the following command in your terminal:
|
|
35
|
+
|
|
36
|
+
.. code-block:: bash
|
|
37
|
+
|
|
38
|
+
pip show stoneforge
|
|
39
|
+
|
|
40
|
+
If no error message is displayed, the installation was successful!
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
=========================
|
|
2
|
+
Quickstart
|
|
3
|
+
=========================
|
|
4
|
+
|
|
5
|
+
.. code-block:: bash
|
|
6
|
+
|
|
7
|
+
pip install stoneforge
|
|
8
|
+
|
|
9
|
+
(...)
|
|
10
|
+
|
|
11
|
+
.. code-block:: python
|
|
12
|
+
|
|
13
|
+
from stoneforge.preprocessing import las_import
|
|
14
|
+
from stoneforge.petrophysics import shale_volume, porosity, water_saturation
|
|
15
|
+
|
|
16
|
+
# Import a LAS file
|
|
17
|
+
# This will return a DataFrame with the data and a dictionary with the units
|
|
18
|
+
data,units = las_import("..//stoneforge//datasets/DP1.las")
|
|
19
|
+
|
|
20
|
+
# Remove non sampling rows
|
|
21
|
+
data_c = data[~data.isin([-999.0]).any(axis=1)]
|
|
22
|
+
|
|
23
|
+
# Calculate shale volume
|
|
24
|
+
GR = np.array(data_c["GR"])
|
|
25
|
+
GR_min = np.percentile(GR, 10)
|
|
26
|
+
GR_max = np.percentile(GR, 90)
|
|
27
|
+
|
|
28
|
+
VSH = shale_volume.vshale_larionov(GR, GR_min, GR_max, "larionov")
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""conf.py — Configuração do Sphinx para a documentação do projeto."""
|
|
3
|
+
|
|
4
|
+
import os
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
# para localizar os pacotes no diretório pai
|
|
8
|
+
sys.path.insert(0, os.path.abspath("../stoneforge"))
|
|
9
|
+
|
|
10
|
+
# -- Project information -----------------------------------------------------
|
|
11
|
+
|
|
12
|
+
project = "Stoneforge"
|
|
13
|
+
author = "APPy Team"
|
|
14
|
+
copyright = "2024 GIECAR Laboratory, Universidade Federal Fluminense (UFF)"
|
|
15
|
+
|
|
16
|
+
# -- General configuration ---------------------------------------------------
|
|
17
|
+
|
|
18
|
+
# Note: The variable 'project_copyright' is used to avoid conflict with the built-in 'copyright'.
|
|
19
|
+
|
|
20
|
+
extensions = [
|
|
21
|
+
"sphinx.ext.napoleon",
|
|
22
|
+
"sphinxcontrib.bibtex",
|
|
23
|
+
"sphinx.ext.autodoc",
|
|
24
|
+
"sphinx_autodoc_typehints",
|
|
25
|
+
"sphinx.ext.viewcode",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
# -- HTML output -------------------------------------------------------------
|
|
29
|
+
|
|
30
|
+
html_theme = "sphinx_rtd_theme"
|
|
31
|
+
|
|
32
|
+
# -- Customização de HTML ----------------------------------------------------
|
|
33
|
+
|
|
34
|
+
html_theme_options = {
|
|
35
|
+
"navigation_depth": 4,
|
|
36
|
+
"collapse_navigation": False,
|
|
37
|
+
"sticky_navigation": True,
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
# -- Napoleon settings (para docstrings estilo Google/Numpy) -----------------
|
|
41
|
+
|
|
42
|
+
napoleon_numpy_docstring = True
|
|
43
|
+
|
|
44
|
+
# -- Autodoc settings --------------------------------------------------------
|
|
45
|
+
|
|
46
|
+
bibtex_bibfiles = ['refs.bib']
|
|
47
|
+
bibtex_default_style = 'plain' # or 'unsrt', 'alpha', etc.
|