#define USRLIBS TDFLIB
#define SEMINAR
#define FIGDIR ./../Fig
#define FIGDIR .
#define FIGLIST       guy two onewind
#include <SEP.defs>

default&: tube

xpow.HH : guy.HH Copy.x
	< guy.HH Copy.x > xpow.HH

$ 					use this one to get library versions
#define STEEP Steep.o setfree.o

Steep.x: STEEP
	FLINK(STEEP, Steep.x)

%.aa.H %.one.H %.two.H! : xpow.HH Steep.x     %.p
	-/bin/rm -f aa.H
	<          xpow.HH Steep.x par=%.p a2=1           > %.one.H
	Zero %.aa.H
	<          xpow.HH Steep.x par=%.p aa.H=%.aa.H    > %.two.H
	  

#define FLIP transp=0 yreverse=1 crowd=.88
FIGDIR/%.v! FIGDIR/%.v3! : xpow.HH %.one.H %.p	if exist %.p
	<xpow.HH     Byte par=%.p > junkzer.A
	<%.one.H Byte par=%.p > junkone.A
	<%.two.H Byte par=%.p > junktwo.A
	<junkzer.A Ta2vplot FLIP> left.V out=left.v
	<junkone.A Ta2vplot FLIP> midd.V out=midd.v title="1-D decon"
	<junktwo.A Ta2vplot FLIP> rite.V out=rite.v title="Steep-dip decon"
	vp_Movie           left.v midd.v rite.v > FIGDIR/%.v3
	vp_OverUnderAniso left.v midd.v rite.v > FIGDIR/%.v

clean&: jclean
	@-/bin/rm -rf two.HH xpow.HH > /dev/null

#include <SEP.idoc.rules>
#include <SEP.prog.rules>
#include <SEP.obj.rules>
