quick-pp 0.2.60__tar.gz → 0.2.61__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.60 → quick_pp-0.2.61}/PKG-INFO +1 -1
- {quick_pp-0.2.60 → quick_pp-0.2.61}/pyproject.toml +1 -1
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/__init__.py +1 -1
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/rock_type.py +9 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/.gitignore +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/LICENSE +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/README.md +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/__init__.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/exceptions.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/fastapi_mlflow/__init__.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/fastapi_mlflow/_mlflow_types.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/fastapi_mlflow/applications.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/fastapi_mlflow/exceptions.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/fastapi_mlflow/predictors.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/main.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/mlflow_model_deployment.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/router.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/lithology_hc_correction.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/lithology_ssc.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/lithology_vsh_gr.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/permeability_choo.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/permeability_others.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/porosity.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/ressum.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/saturation_archie.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/saturation_b.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/saturation_qv.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/saturation_rw.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/saturation_temp_grad.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/schemas/saturation_waxman_smits.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/services/chat.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/services/las_handler.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/services/lithology.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/services/permeability.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/services/porosity.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/services/reservoir_summary.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/services/saturation.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/static/favicon.ico +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/static/logo.png +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/template/chat.html +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/api/template/home.html +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/cli.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/config.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/core_calibration.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/fluid_type.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/las_handler.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/lithology/__init__.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/lithology/carbonate.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/lithology/multi_mineral.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/lithology/sand_shale.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/lithology/sand_silt_clay.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/lithology/thin_beds.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/machine_learning/__init__.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/machine_learning/config.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/machine_learning/feature_engineering.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/machine_learning/mock_data/mock_data.parquet +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/machine_learning/predict_pipeline.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/machine_learning/train_pipeline.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/machine_learning/utils.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/objects.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/permeability.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/plotter/__init__.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/plotter/plotter.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/plotter/well_log.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/plotter/well_log_config.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/porosity.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/qaqc.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/ressum.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/rock_physics/__init__.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/rock_physics/geomechanics.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/rock_physics/geophysics.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/rock_physics/rpm.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/quick_pp/saturation.py +0 -0
- {quick_pp-0.2.60 → quick_pp-0.2.61}/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.61
|
|
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.61' # Need to be updated manually when releasing a new version/ change in pyproject.toml
|
|
@@ -352,6 +352,15 @@ def estimate_vsh_gr(gr, min_gr=None, max_gr=None, alpha=0.1):
|
|
|
352
352
|
from sklearn.preprocessing import robust_scale, minmax_scale
|
|
353
353
|
# Normalize gamma ray
|
|
354
354
|
if not max_gr or (not min_gr and min_gr != 0):
|
|
355
|
+
# Remove high outliers and forward fill missing values
|
|
356
|
+
# Use IQR for robust outlier detection
|
|
357
|
+
q1, q3 = np.nanquantile(gr, [0.25, 0.75])
|
|
358
|
+
iqr = q3 - q1
|
|
359
|
+
upper_bound = q3 + 1.5 * iqr
|
|
360
|
+
lower_bound = (q1 - 1.5 * iqr).clip(0)
|
|
361
|
+
# Replace outliers with NaN and then forward fill
|
|
362
|
+
gr_series = pd.Series(gr)
|
|
363
|
+
gr = gr_series.where((gr_series >= lower_bound) & (gr_series <= upper_bound)).ffill().to_numpy()
|
|
355
364
|
gri = minmax_scale(robust_scale(gr))
|
|
356
365
|
else:
|
|
357
366
|
gri = (gr - min_gr) / (max_gr - min_gr)
|
|
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
|