Gcosy.c
From NMR Wiki
nmrPipe processing scripts
Example conversion scripts
#!/bin/csh var2pipe -in ./fid -noaswap \ -xN 12000 -yN 1024 \ -xT 6000 -yT 1024 \ -xMODE Complex -yMODE Real \ -xSW 5999.700 -ySW 5999.700 \ -xOBS 499.949 -yOBS 499.949 \ -xCAR 4.725 -yCAR 4.725 \ -xLAB H1 -yLAB H1 \ -ndim 2 -aq2D Magnitude \ -out ./test.fid -verb -ov
The key parts are that -yN is equal to -yT, -yMODE is 'Real' and -aq2D - 'Magnitude'
Example processing script
#!/bin/csh nmrPipe -in test.fid \ | nmrPipe -fn SP -off 0.0 -end 1.00 -pow 1 -c 1.0 \ | nmrPipe -fn ZF -auto \ | nmrPipe -fn FT -auto \ | nmrPipe -fn TP \ | nmrPipe -fn SP -off 0.0 -end 1.00 -pow 1 -c 1.0 \ | nmrPipe -fn ZF -auto \ | nmrPipe -fn FT \ | nmrPipe -fn TP \ | nmrPipe -fn MC \ -out test.ft2 -verb 2 -ov
MC nmrpipe command does magnitude calcuation