|
| 1 | +from rsf.proj import * |
| 2 | +from rsf.recipes.beg import server as private |
| 3 | + |
| 4 | +########################################################################### |
| 5 | + |
| 6 | +for dat in ('curve','linear','random','marm'): |
| 7 | + input = 'input.%s.segy' % dat |
| 8 | + Fetch(input,'ray',private) |
| 9 | + Flow([dat,'./A'+dat,'./B'+dat],input, |
| 10 | + ''' |
| 11 | + segyread tape=$SOURCE read=d hfile=${TARGETS[1]} bfile=${TARGETS[2]} |
| 12 | + ''',stdin=0) |
| 13 | + |
| 14 | +Flow('linear2','linear','window min1=0.5 max1=2.7 | bandpass fhi=60') |
| 15 | +Plot('linear','linear2', |
| 16 | + ''' |
| 17 | + grey yreverse=y transp=y poly=y label2=Position |
| 18 | + title=Input |
| 19 | + ''') |
| 20 | +Plot('jlinear','linear2', |
| 21 | + ''' |
| 22 | + window n2=11 f2=23 n1=150 min1=1.35 | |
| 23 | + put d1=1 o1=675 label1=Sample unit1= | |
| 24 | + wiggle yreverse=y transp=y poly=y label2=Position wherexlabel=t |
| 25 | + title=Input wheretitle=b clip=0.0451806 labelsz=5. titlesz=7 |
| 26 | + labelfat=2 font=2 titlefat=2 screenratio=1.2 |
| 27 | + ''') |
| 28 | + |
| 29 | +# nonstationary PWD |
| 30 | +Flow('lindip','linear2','twodip2 order=3 nj1=4 nj2=4 eps=10 gauss=n') |
| 31 | +Flow('lindip2','lindip', |
| 32 | + 'transp | spline n1=240 o1=0 d1=0.25 | transp') |
| 33 | + |
| 34 | +Flow('lin4 linones4','linear2','lpad jump=4 mask=${TARGETS[1]}') |
| 35 | +Flow('lindeal','lin4 lindip2 linones4', |
| 36 | + 'planemis2 dip=${SOURCES[1]} mask=${SOURCES[2]} order=3 verb=y') |
| 37 | +Plot('lindeal','grey yreverse=y transp=y poly=y title=Interpolated') |
| 38 | + |
| 39 | +Result('linear-deal','linear lindeal','SideBySideAniso') |
| 40 | + |
| 41 | +# Stationary T-X PEFs |
| 42 | +Flow('lpef llag','linear2','lpef lag=${TARGETS[1]} a=10,4 jump=4') |
| 43 | +Flow('lscov','lpad lmask lpef', |
| 44 | + 'miss padin=4 filt=${SOURCES[2]} mask=${SOURCES[1]} prec=n') |
| 45 | +Plot('lscov', |
| 46 | + 'grey yreverse=y transp=y poly=y title="Stationary PEF"') |
| 47 | + |
| 48 | +Result('linear-scomp','linear lscov','SideBySideAniso') |
| 49 | + |
| 50 | +# Nonstationary T-X PEFs |
| 51 | +Flow('lpad lmask','linear2','lpad jump=2 mask=${TARGETS[1]}') |
| 52 | +Flow('lapef','lpad','apef a=15,4 jump=2 rect1=20 rect2=5 niter=200 verb=y') |
| 53 | +Flow('lacov','lpad lapef lmask', |
| 54 | + 'miss4 filt=${SOURCES[1]} mask=${SOURCES[2]} verb=y') |
| 55 | +Plot('lacov', |
| 56 | + ''' |
| 57 | + grey yreverse=y transp=y poly=y label2=Position |
| 58 | + title="Adaptive PEF" |
| 59 | + ''') |
| 60 | + |
| 61 | +Plot('jlacov','lacov', |
| 62 | + ''' |
| 63 | + window n2=22 f2=46 n1=150 min1=1.35 | |
| 64 | + put d1=1 o1=675 label1=Sample unit1= | |
| 65 | + wiggle yreverse=y transp=y poly=y label2=Position wherexlabel=t |
| 66 | + title="Adaptive PEF" wheretitle=b clip=0.0225903 labelsz=5. titlesz=7 |
| 67 | + labelfat=2 font=2 titlefat=2 screenratio=1.2 |
| 68 | + ''') |
| 69 | + |
| 70 | +Result('linear-comp','linear lacov','SideBySideAniso') |
| 71 | + |
| 72 | +# Stationary F-X PEFs |
| 73 | +Flow('lfx','lpad', |
| 74 | + ''' |
| 75 | + spitz norm=n verb=y |
| 76 | + ''') |
| 77 | +Plot('lfx', |
| 78 | + ''' |
| 79 | + grey yreverse=y transp=y poly=y label2=Position |
| 80 | + title="Adaptive PEF" |
| 81 | + ''') |
| 82 | + |
| 83 | +Result('linear-fxcomp','linear lfx','SideBySideAniso') |
| 84 | + |
| 85 | +End() |
0 commit comments