Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.94 KB

File metadata and controls

45 lines (24 loc) · 1.94 KB

Eid Mubarak

Dr. Yasir Bashir

Geoscientist & Professor at Istanbul Technical University, Turkey

Description of Repository

This repository presents a Python-based workflow for generating a synthetic seismic section using fundamental principles of reflection seismology. The script demonstrates how to construct a reflectivity model, simulate seismic wave propagation through convolution with a wavelet, and visualize the resulting seismic data.

The code creates a 2D seismic dataset (time vs. trace) in which the words “EID MUBARAK” or "IYI BAYRAMLAR" and a signature “DYB” are embedded as high-reflectivity features. These features are then transformed into realistic seismic responses through wavelet convolution and noise addition.

⚙️ Methodology

The workflow follows the classical convolutional seismic model:

1- Seismic Canvas Creation

A 2D array is initialized to represent the seismic section, with small random values simulating background geological reflectivity.

2- Text-Based Reflectivity Modeling

The words are rendered using the Pillow (PIL) library and converted into a binary mask.

Pixels corresponding to the text are assigned high reflectivity values.

Background pixels retain low-amplitude random values.

3- Wavelet Generation

A 30 Hz Ricker wavelet is generated to simulate the seismic source signature.

4- Convolution (Forward Modeling)

Each trace is convolved with the wavelet to produce realistic seismic reflections, including characteristic sidelobes.

5- Noise Addition Gaussian noise is added to simulate real-world acquisition conditions and improve realism.

6- Amplitude Normalization

The seismic amplitudes are scaled to a standard range for consistent visualization.

7- Visualization

The final seismic section is displayed using a diverging colormap (e.g., RdBu), where positive and negative amplitudes represent seismic polarity.