27 lines
706 B
Python
27 lines
706 B
Python
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)
|