Skip to content

Model Helper Scripts

The generated model files under examples/models/ are intentionally ignored by git. The scripts in that directory are tracked; downloaded archives, extracted SEG-Y files, converted NumPy arrays, and preview figures are local artifacts.

Model preparation steps live with the examples that require those files:

Marmousi Scripts

Folder:

  • examples/models/marmousi/

Tracked helper scripts:

  • download_marmousi.py
  • extract_model_segy.py
  • convert_segy_to_npy.py
  • prepare_fwi_models.py
  • plot_models.py
  • clean_generated.py

Typical generated files:

  • examples/models/marmousi/npy/vp_1p25m.npy
  • examples/models/marmousi/npy/vs_1p25m.npy
  • examples/models/marmousi/npy/rho_1p25m.npy
  • examples/models/marmousi/true.npy
  • examples/models/marmousi/smooth.npy
  • examples/models/marmousi/linear.npy

Overthrust Scripts

Folder:

  • examples/models/overthrust/

Tracked helper scripts:

  • download_3d_overthrust.py
  • convert_3d_overthrust_vites_to_npy.py
  • make_smooth_model.py
  • extract_2d_slice.py
  • plot_true_smooth.py
  • clean_generated.py

Typical generated files:

  • examples/models/overthrust/true_3d.npy
  • examples/models/overthrust/smooth_3d.npy
  • examples/models/overthrust/true_2d.npy
  • examples/models/overthrust/smooth_2d.npy