Initial commit: ML-Porosity project setup

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 08:46:21 +07:00
commit f557fe4a6c
117 changed files with 133910 additions and 0 deletions

26
test 2/qc_plot.py Normal file
View File

@@ -0,0 +1,26 @@
import numpy as np
import matplotlib.pyplot as plt
D = np.load("outputs/f3_wells_dataset.npz", allow_pickle=True)
def plot_well(name):
d = D[name].item()
t = d["seismic_times_ms"]
phi = d["porosity_resampled"]
tr = d["seismic_trace"]
plt.figure(figsize=(8,4))
if tr is not None:
trn = tr / (np.nanmax(np.abs(tr)) + 1e-8)
plt.plot(trn, t, label="Seismic (norm)")
plt.plot(phi, t, label="Porosity (PHIE)")
plt.gca().invert_yaxis()
plt.xlabel("Value")
plt.ylabel("TWT (ms)")
plt.title(f"{name}: 600–1100 ms")
plt.legend()
plt.tight_layout()
plt.show()
for w in ["F03-4","F02-1","F06-1"]:
plot_well(w)