#! /bin/ksh # shell for smoothing a uniformly sampling velocity and for generating a # slowness perturbation set -v n1=201 r1=5 dz=0.1 fz=0 labelz="Depth (m)" n2=801 r2=5 dx=0.1 fx=0 labelx="Midpoint (m)" d1r=0.5 n1r=41 n2r=161 d2r=0.5 f2r=0. vsmoo3ddata.s resamp2data.r # calculate slowness perturbation, smooth it and resample it slowpvpfile # plot smoothed velocity psimage