#!/bin/csh
#
# This ghn_cacb processing script was created using AGNuS 2.1.
#
# 3D baseline correcting Script.


# base line correcting X
xyz2pipe -in ./pipe_processing/gHNCACB%03d.ft3  -x -verb \
| nmrPipe -fn POLY -auto \
| pipe2xyz -out ./pipe_rebasing/gHNCACB%03d.ft4  -x     
# base line correcting Y
xyz2pipe -in ./pipe_rebasing/gHNCACB%03d.ft4  -y -verb \
| nmrPipe -fn POLY -auto \
| pipe2xyz -out ./pipe_rebasing/gHNCACB%03d.ft5  -y     
# base line correcting Z
xyz2pipe -in ./pipe_rebasing/gHNCACB%03d.ft5  -z -verb \
| nmrPipe -fn POLY -auto \
| pipe2xyz -out ./pipe_rebasing/gHNCACB%03d.ft6  -z     
#
xyz2pipe -in ./pipe_rebasing/gHNCACB%03d.ft6  -y -verb  > ./gHNCACB.rebase.pipe
