Python APIs for 2D Seismic Layers