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.
Files changed (121) hide show
  1. stoneforge-0.2.0b2/CHANGELOG.txt +6 -0
  2. stoneforge-0.2.0b2/MANIFEST.in +1 -0
  3. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/PKG-INFO +84 -85
  4. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/README.md +2 -2
  5. stoneforge-0.2.0b2/docs/_build/html/_sources/index.rst.txt +43 -0
  6. stoneforge-0.2.0b2/docs/_build/html/_sources/modules/machinelearning/classification.rst.txt +39 -0
  7. stoneforge-0.2.0b2/docs/_build/html/_sources/modules/machinelearning/index.rst.txt +10 -0
  8. stoneforge-0.2.0b2/docs/_build/html/_sources/modules/machinelearning/regression.rst.txt +39 -0
  9. stoneforge-0.2.0b2/docs/_build/html/_sources/modules/petrophysics.rst.txt +39 -0
  10. stoneforge-0.2.0b2/docs/_build/html/_sources/modules/preprocessing.rst.txt +28 -0
  11. stoneforge-0.2.0b2/docs/_build/html/_sources/modules/pseudowells.rst.txt +23 -0
  12. stoneforge-0.2.0b2/docs/_build/html/_sources/modules/rockphysics.rst.txt +47 -0
  13. stoneforge-0.2.0b2/docs/_build/html/_sources/usage/installation.rst.txt +40 -0
  14. stoneforge-0.2.0b2/docs/_build/html/_sources/usage/quickstart.rst.txt +28 -0
  15. stoneforge-0.2.0b2/docs/conf.py +47 -0
  16. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/pyproject.toml +22 -13
  17. stoneforge-0.2.0b2/setup.cfg +4 -0
  18. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/datasets/dataload.py +5 -1
  19. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/io/csv.py +1 -1
  20. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/io/dlisio_r.py +109 -16
  21. {stoneforge-0.2.0b0/stoneforge/preprocessing → stoneforge-0.2.0b2/stoneforge/io}/las2.py +2 -0
  22. stoneforge-0.2.0b2/stoneforge/io/lasparser.py +74 -0
  23. stoneforge-0.2.0b2/stoneforge/machine_learning/__init__.py +4 -0
  24. stoneforge-0.2.0b2/stoneforge/machine_learning/classification/fit.py +266 -0
  25. stoneforge-0.2.0b2/stoneforge/machine_learning/classification/predict.py +104 -0
  26. stoneforge-0.2.0b2/stoneforge/machine_learning/classification/settings.py +93 -0
  27. {stoneforge-0.2.0b0/stoneforge/machine_learning → stoneforge-0.2.0b2/stoneforge/machine_learning/classification}/validation.py +28 -30
  28. stoneforge-0.2.0b2/stoneforge/machine_learning/regression/fit.py +347 -0
  29. stoneforge-0.2.0b2/stoneforge/machine_learning/regression/predict.py +119 -0
  30. stoneforge-0.2.0b2/stoneforge/machine_learning/regression/settings.py +91 -0
  31. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/helpers.py +1 -2
  32. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/porosity.py +78 -98
  33. stoneforge-0.2.0b2/stoneforge/petrophysics/shale_volume.py +319 -0
  34. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/total_organic_carbon_content.py +6 -9
  35. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/water_saturation.py +87 -87
  36. stoneforge-0.2.0b2/stoneforge/preprocessing/data_management.py +348 -0
  37. stoneforge-0.2.0b2/stoneforge/preprocessing/data_processing.py +180 -0
  38. stoneforge-0.2.0b2/stoneforge/pseudo_wells/monte_carlo_simulations.py +552 -0
  39. stoneforge-0.2.0b2/stoneforge/rock_physics/elastic_constants.py +236 -0
  40. stoneforge-0.2.0b2/stoneforge/rock_physics/fluid_substitution.py +380 -0
  41. stoneforge-0.2.0b2/stoneforge/rock_physics/gem.py +454 -0
  42. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/rock_physics/inclusion.py +2 -16
  43. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/rock_physics/rock_physics_bounds.py +19 -19
  44. stoneforge-0.2.0b2/stoneforge.egg-info/PKG-INFO +84 -0
  45. stoneforge-0.2.0b2/stoneforge.egg-info/SOURCES.txt +95 -0
  46. stoneforge-0.2.0b2/stoneforge.egg-info/dependency_links.txt +1 -0
  47. stoneforge-0.2.0b2/stoneforge.egg-info/requires.txt +10 -0
  48. stoneforge-0.2.0b2/stoneforge.egg-info/top_level.txt +1 -0
  49. stoneforge-0.2.0b2/tests/tests_ml/test_classification.py +128 -0
  50. stoneforge-0.2.0b2/tests/tests_ml/test_regression.py +142 -0
  51. stoneforge-0.2.0b2/tests/tests_porosity/parameters_p.py +61 -0
  52. stoneforge-0.2.0b2/tests/tests_porosity/test_porosity.py +102 -0
  53. stoneforge-0.2.0b2/tests/tests_rock_physics/test_fluid_substitution.py +37 -0
  54. stoneforge-0.2.0b2/tests/tests_rock_physics/test_gem.py +48 -0
  55. stoneforge-0.2.0b2/tests/tests_water_saturation/parameters_ws.py +40 -0
  56. stoneforge-0.2.0b2/tests/tests_water_saturation/test_water_saturation.py +51 -0
  57. stoneforge-0.2.0b0/.gitignore +0 -142
  58. stoneforge-0.2.0b0/stoneforge/data_management/__init__.py +0 -1
  59. stoneforge-0.2.0b0/stoneforge/data_management/las_import.py +0 -19
  60. stoneforge-0.2.0b0/stoneforge/data_replacement/fit.py +0 -447
  61. stoneforge-0.2.0b0/stoneforge/data_replacement/predict.py +0 -176
  62. stoneforge-0.2.0b0/stoneforge/data_replacement/settings.py +0 -100
  63. stoneforge-0.2.0b0/stoneforge/datasets/DP1.las +0 -15735
  64. stoneforge-0.2.0b0/stoneforge/datasets/DSDP_leg_96_hole_616_96_original_data.dlis +0 -0
  65. stoneforge-0.2.0b0/stoneforge/datasets/DSDP_leg_96_hole_616_96_processed_data.dlis +0 -0
  66. stoneforge-0.2.0b0/stoneforge/datasets/ES1.las +0 -15337
  67. stoneforge-0.2.0b0/stoneforge/datasets/IK1.las +0 -30843
  68. stoneforge-0.2.0b0/stoneforge/datasets/WD1.las +0 -8333
  69. stoneforge-0.2.0b0/stoneforge/datasets/las2.py +0 -370
  70. stoneforge-0.2.0b0/stoneforge/io/las2.py +0 -370
  71. stoneforge-0.2.0b0/stoneforge/machine_learning/fit.py +0 -297
  72. stoneforge-0.2.0b0/stoneforge/machine_learning/predict.py +0 -159
  73. stoneforge-0.2.0b0/stoneforge/machine_learning/settings.py +0 -71
  74. stoneforge-0.2.0b0/stoneforge/petrophysics/shale_volume.py +0 -262
  75. stoneforge-0.2.0b0/stoneforge/preprocessing/data_management.py +0 -195
  76. stoneforge-0.2.0b0/stoneforge/preprocessing/data_processing.py +0 -129
  77. stoneforge-0.2.0b0/stoneforge/pseudo_wells/monte_carlo_simulations.py +0 -508
  78. stoneforge-0.2.0b0/stoneforge/rock_physics/elastic_constants.py +0 -229
  79. stoneforge-0.2.0b0/stoneforge/rock_physics/fluid_substitution.py +0 -367
  80. stoneforge-0.2.0b0/stoneforge/rock_physics/gem.py +0 -407
  81. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/LICENSE +0 -0
  82. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/__init__.py +0 -0
  83. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/datasets/__init__.py +0 -0
  84. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/datasets/data_info.txt +0 -0
  85. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/__init__.py +0 -0
  86. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/regularized_acoustic_reflectivy_inversion.py +0 -0
  87. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/viability_study/__init__.py +0 -0
  88. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/inversion/viability_study/bayes.py +0 -0
  89. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/io/__init__.py +0 -0
  90. {stoneforge-0.2.0b0/stoneforge/machine_learning → stoneforge-0.2.0b2/stoneforge/machine_learning/classification}/__init__.py +0 -0
  91. {stoneforge-0.2.0b0/stoneforge/machine_learning → stoneforge-0.2.0b2/stoneforge/machine_learning/classification}/evaluation.py +0 -0
  92. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/__init__.py +0 -0
  93. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/evaluation.py +0 -0
  94. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/fit.py +0 -0
  95. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/predict.py +0 -0
  96. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/settings.py +0 -0
  97. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_classification/validation.py +0 -0
  98. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/__init__.py +0 -0
  99. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/evaluation.py +0 -0
  100. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/fit.py +0 -0
  101. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/predict.py +0 -0
  102. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/settings.py +0 -0
  103. {stoneforge-0.2.0b0/stoneforge → stoneforge-0.2.0b2/stoneforge/machine_learning}/mlp_regression/validation.py +0 -0
  104. {stoneforge-0.2.0b0/stoneforge/data_replacement → stoneforge-0.2.0b2/stoneforge/machine_learning/regression}/__init__.py +0 -0
  105. {stoneforge-0.2.0b0/stoneforge/data_replacement → stoneforge-0.2.0b2/stoneforge/machine_learning/regression}/evaluation.py +0 -0
  106. {stoneforge-0.2.0b0/stoneforge/data_replacement → stoneforge-0.2.0b2/stoneforge/machine_learning/regression}/mldr_project.py +0 -0
  107. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/petrophysics/__init__.py +0 -0
  108. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/preprocessing/__init__.py +0 -0
  109. {stoneforge-0.2.0b0/stoneforge/data_management → stoneforge-0.2.0b2/stoneforge/preprocessing}/las2.py +0 -0
  110. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/preprocessing/las_pandas.py +0 -0
  111. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/pseudo_wells/__init__.py +0 -0
  112. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/pseudo_wells/lithology_generator.py +0 -0
  113. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/pseudo_wells/pseudo_tools.py +0 -0
  114. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/rock_physics/__init__.py +0 -0
  115. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/vis/__init__.py +0 -0
  116. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/vis/img.py +0 -0
  117. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/__init__.py +0 -0
  118. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/butterworth.py +0 -0
  119. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/ormsby.py +0 -0
  120. {stoneforge-0.2.0b0 → stoneforge-0.2.0b2}/stoneforge/wavelets/ricker.py +0 -0
  121. /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,6 @@
1
+ Change Log
2
+ ==========
3
+
4
+ 0.1.0 (29/01/2022)
5
+ ------------------
6
+ - First Release
@@ -0,0 +1 @@
1
+ global-include *.txt *.py
@@ -1,85 +1,84 @@
1
- Metadata-Version: 2.4
2
- Name: stoneforge
3
- Version: 0.2.0b0
4
- Summary: Geophysics equations, algorithms and methods
5
- Project-URL: homepage, https://github.com/giecaruff/stoneforge
6
- 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
7
- License: MIT
8
- License-File: LICENSE
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Education
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Operating System :: Microsoft :: Windows :: Windows 10
13
- Classifier: Programming Language :: Python :: 3
14
- Requires-Python: >=3.10
15
- Requires-Dist: dlisio>=1.0.3
16
- Requires-Dist: ipympl>=0.8.4
17
- Requires-Dist: lightgbm>=4.5.0
18
- Requires-Dist: matplotlib>=3.10.0
19
- Requires-Dist: notebook>=6.4.0
20
- Requires-Dist: numpy>=2.2.0
21
- Requires-Dist: pandas>=2.2.2
22
- Requires-Dist: pytest>=8.3.4
23
- Requires-Dist: scikit-learn>=1.6.1
24
- Requires-Dist: scipy>=1.14.1
25
- Requires-Dist: xgboost>=2.1.4
26
- Description-Content-Type: text/markdown
27
-
28
- <p align="center">
29
- <img src="https://raw.githubusercontent.com/giecaruff/logos/main/APPY/stoneforge.png" width="400"/>
30
-
31
- <h2 align="center">Algorithms, methods and equations for geophysics in Python</h2>
32
-
33
- <p align="center">
34
- Part of the <strong>Appy</strong> project
35
- </p>
36
-
37
-
38
-
39
- <p align="center">
40
- <a href="https://giecaruff.github.io/sites/"><strong>Documentation</strong> (latest)</a> |
41
- <a href="http://gcr.sites.uff.br/"><strong>Institutional</strong> (GIECAR website)</a>
42
- </p>
43
-
44
-
45
- <p align="center">
46
- <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>
47
- <a href="https://badge.fury.io/py/stoneforge"><img src="https://badge.fury.io/py/stoneforge.svg" alt="PyPI version" height="20"></a>
48
- </p>
49
-
50
- <!--
51
- [![https://github.com/giecaruff/stoneforge/actions](https://github.com/giecaruff/stoneforge/actions/workflows/CI.yml/badge.svg)](https://github.com/giecaruff/stoneforge/actions)
52
- -->
53
-
54
-
55
- ## About
56
-
57
- 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.
58
-
59
-
60
- ## Installation and first steps
61
-
62
- To install stoneforge use the following syntax in your command interpreter environment:
63
-
64
- ```
65
- $pip install stoneforge
66
- ```
67
-
68
- and them verify the installation using the following command in Python:
69
-
70
- ```
71
- >>> import stoneforge
72
- ```
73
-
74
- ## Dataset
75
-
76
- The stoneforge dataset comprises the following data:
77
-
78
- 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>
79
- [USGS Well Index](https://pubs.usgs.gov/of/1999/ofr-99-0015/Wells/WellIdx.htm)
80
-
81
- 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>
82
- [DSDP Leg 96 - Hole 616](https://mlp.ldeo.columbia.edu/data/dsdp/leg96/616/)
83
-
84
- Zihlman, F. N creator ; Oliver, H. L ; Geological Survey (U.S.)
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](https://github.com/giecaruff/stoneforge/actions/workflows/CI.yml/badge.svg)](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/sites/"><strong>Documentation</strong> (latest)</a> |
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,10 @@
1
+ Machine Learning
2
+ ================
3
+
4
+ This section contains machine learning methods used in Stoneforge.
5
+
6
+ .. toctree::
7
+ :maxdepth: 1
8
+
9
+ classification
10
+ regression
@@ -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.