Initial commit: ML-Porosity project setup
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
26
test 2/qc_plot.py
Normal file
26
test 2/qc_plot.py
Normal 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)
|
||||
Reference in New Issue
Block a user