quick-pp 0.2.53__tar.gz → 0.2.54__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.
- {quick_pp-0.2.53 → quick_pp-0.2.54}/PKG-INFO +1 -1
- {quick_pp-0.2.53 → quick_pp-0.2.54}/pyproject.toml +1 -1
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/__init__.py +1 -1
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/machine_learning/feature_engineering.py +4 -10
- {quick_pp-0.2.53 → quick_pp-0.2.54}/.gitignore +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/LICENSE +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/README.md +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/__init__.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/exceptions.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/fastapi_mlflow/__init__.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/fastapi_mlflow/_mlflow_types.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/fastapi_mlflow/applications.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/fastapi_mlflow/exceptions.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/fastapi_mlflow/predictors.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/main.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/mlflow_model_deployment.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/router.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/lithology_hc_correction.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/lithology_ssc.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/lithology_vsh_gr.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/permeability_choo.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/permeability_others.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/porosity.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/ressum.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/saturation_archie.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/saturation_b.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/saturation_qv.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/saturation_rw.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/saturation_temp_grad.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/schemas/saturation_waxman_smits.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/services/chat.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/services/las_handler.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/services/lithology.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/services/permeability.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/services/porosity.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/services/reservoir_summary.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/services/saturation.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/static/favicon.ico +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/static/logo.png +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/template/chat.html +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/api/template/home.html +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/cli.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/config.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/core_calibration.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/fluid_type.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/las_handler.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/lithology/__init__.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/lithology/carbonate.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/lithology/multi_mineral.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/lithology/sand_shale.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/lithology/sand_silt_clay.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/lithology/thin_beds.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/machine_learning/__init__.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/machine_learning/config.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/machine_learning/mock_data/mock_data.parquet +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/machine_learning/predict_pipeline.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/machine_learning/train_pipeline.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/machine_learning/utils.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/objects.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/permeability.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/plotter/__init__.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/plotter/plotter.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/plotter/well_log.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/plotter/well_log_config.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/plotter/xplots.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/porosity.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/qaqc.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/ressum.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/rock_physics/__init__.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/rock_physics/geomechanics.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/rock_physics/geophysics.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/rock_physics/rpm.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/rock_type.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/saturation.py +0 -0
- {quick_pp-0.2.53 → quick_pp-0.2.54}/quick_pp/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quick-pp
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.54
|
|
4
4
|
Summary: Python package to assist in providing quick-look/ preliminary petrophysical estimation.
|
|
5
5
|
Project-URL: Homepage, https://github.com/imranfadhil/quick_pp
|
|
6
6
|
Author-email: Imran Fadhil <imranfadhil@gmail.com>
|
|
@@ -20,4 +20,4 @@ logging.getLogger("mlflow").setLevel(logging.WARNING)
|
|
|
20
20
|
|
|
21
21
|
__author__ = """Imran Fadhil"""
|
|
22
22
|
__email__ = 'imranfadhil@gmail.com'
|
|
23
|
-
__version__ = '0.2.
|
|
23
|
+
__version__ = '0.2.54' # Need to be updated manually when releasing a new version/ change in pyproject.toml
|
|
@@ -99,7 +99,7 @@ def coal_flagging(nphi, rhob, rhob_threshold=2.0, nphi_threshold=0.3, window_siz
|
|
|
99
99
|
return (trend_condition & threshold_condition).astype(float)
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
def tight_streak_flagging(rhob,
|
|
102
|
+
def tight_streak_flagging(rhob, rhob_threshold=2.3, window_size=15, trend_factor=0.03):
|
|
103
103
|
"""Flag tight streak intervals based on high RHOB, high RT, and low NPHI.
|
|
104
104
|
|
|
105
105
|
Tight streaks (e.g., carbonate cemented layers) are characterized by high
|
|
@@ -109,9 +109,7 @@ def tight_streak_flagging(rhob, rt, rhob_threshold=2.5, rt_threshold=2, window_s
|
|
|
109
109
|
|
|
110
110
|
Args:
|
|
111
111
|
rhob (pd.Series): Bulk density log (g/cm³).
|
|
112
|
-
rt (pd.Series): True resistivity log (ohm.m).
|
|
113
112
|
rhob_threshold (float, optional): RHOB threshold for tight streak. Defaults to 2.5.
|
|
114
|
-
rt_threshold (float, optional): RT threshold for tight streak. Defaults to 50.
|
|
115
113
|
window_size (int, optional): The size of the rolling window for trend calculation. Defaults to 21.
|
|
116
114
|
trend_factor (float, optional): A factor to control sensitivity to trend deviation.
|
|
117
115
|
Defaults to 0.05 (5%).
|
|
@@ -121,16 +119,12 @@ def tight_streak_flagging(rhob, rt, rhob_threshold=2.5, rt_threshold=2, window_s
|
|
|
121
119
|
"""
|
|
122
120
|
# Calculate rolling averages to establish local trends
|
|
123
121
|
rhob_trend = rhob.rolling(window=window_size, center=True, min_periods=1).mean()
|
|
124
|
-
rt_trend = rt.rolling(window=window_size, center=True, min_periods=1).mean()
|
|
125
122
|
|
|
126
|
-
# Flag where RHOB
|
|
127
|
-
trend_condition = (
|
|
128
|
-
(rhob > rhob_trend * (1 + trend_factor)) &
|
|
129
|
-
(rt > rt_trend * (1 + trend_factor))
|
|
130
|
-
)
|
|
123
|
+
# Flag where RHOB are significantly above trend
|
|
124
|
+
trend_condition = (rhob > rhob_trend * (1 + trend_factor))
|
|
131
125
|
|
|
132
126
|
# Flag where values cross absolute thresholds
|
|
133
|
-
threshold_condition = (
|
|
127
|
+
threshold_condition = (rhob > rhob_threshold)
|
|
134
128
|
|
|
135
129
|
return (trend_condition & threshold_condition).astype(float)
|
|
136
130
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|