#!/bin/csh

set dir = 'ref_drx800'

#cd ./$dir
#./fid.com
#cd ../.

nmrPipe -in test.fid 			      \
# |nmrPipe -fn POLY -time                        \
  |nmrPipe -fn SP -off 0.45 -end 1.0 -pow 2      \
  |nmrPipe -fn ZF -size 2048		      \
  |nmrPipe -fn FT -auto -verb		      \
  |nmrPipe -fn PS -p0    -180 -p1 0 \
# |nmrPipe -fn PS -p0    7.2 -p1 -37.6 \
  |nmrPipe -fn PS -di        \
  |nmrPipe -fn TP 			      \
  |nmrPipe -fn LP -fb -pred 32   \
  |nmrPipe -fn SP -off 0.45 -end 1.0 -pow 2      \
  |nmrPipe -fn ZF -size 1024		      \
  |nmrPipe -fn FT -auto -verb 		      \
# |nmrPipe -fn PS -p0 9.6 -p1 -15.6     \
  |nmrPipe -fn PS -p0 90 -p1 180       \
  |nmrPipe -fn PS -di        \
# |nmrPipe -fn POLY -auto 		      \
  |nmrPipe -fn TP  			      \
  |nmrPipe -fn EXT -x1 10.6ppm -xn 5.4ppm -sw   \
  |nmrPipe -fn POLY -auto 		      \
-out $dir.ft2 -ov

nmrPipe -in $dir.ft2 \
  |pipe2xyz -nv -out $dir.nv

