#!/bin/csh
#
# This noesyhsqcetgp3d processing script was created using AGNuS 2.1.
#
# 3D Processing Script.


xyz2pipe -in ./pipe_conversion/C13_noesy_HSQC%03d.fid  -x -verb \
| nmrPipe  -fn POLY -time  \
| nmrPipe  -fn SP -off 0.45 -end 0.98 -pow 2 -c 0.5  \
| nmrPipe  -fn ZF -auto   \
| nmrPipe  -fn FT   \
| nmrPipe  -fn PS -p0 149 -p1 0 -di    \
| nmrPipe  -fn EXT -x1 -0.5ppm -xn 1.5ppm -sw	\
| nmrPipe  -fn TP  \
| nmrPipe  -fn LP -after -pred 20       \
| nmrPipe  -fn SP -off 0.45 -end 0.98 -pow 2 -c 0.5  \
| nmrPipe  -fn ZF -auto   \
| nmrPipe  -fn FT   \
| nmrPipe  -fn PS -p0 90 -p1 0 -di    \
#| nmrPipe  -fn CS -rs 1ppm -sw	\
| nmrPipe  -fn TP  \
| nmrPipe  -fn POLY -auto -ord 0        \
| nmrPipe  -fn TP  \
| nmrPipe  -fn POLY -auto -ord 0        \
| pipe2xyz -out ./pipe_processing/C13_noesy_HSQC%03d.ft2  -y -ov -verb      

xyz2pipe -in  ./pipe_processing/C13_noesy_HSQC%03d.ft2  -z  -verb    \
| nmrPipe  -fn LP -after -pred 20       \
| nmrPipe  -fn SP -off 0.45 -end 0.98 -pow 2 -c 0.5  \
| nmrPipe  -fn ZF -auto   \
| nmrPipe  -fn FT -alt   \
| nmrPipe  -fn PS -p0 0 -p1 0 -di    \
#| nmrPipe  -fn CS -rs 1ppm -sw  \
| nmrPipe  -fn POLY -auto -ord 0        \
| pipe2xyz -out ./pipe_processing/C13_noesy_HSQC%03d.ft3  -z  -ov -verb     

xyz2pipe -in ./pipe_processing/C13_noesy_HSQC%03d.ft3  -y -verb  \
  > ./C13_noesy_HSQC.pipe 

