|
| 1 | +#!/bin/csh |
| 2 | + |
| 3 | +# nmrpipe_1d_time.fid |
| 4 | +# 1D time containing 1 - 1j, 2 - 2j, 0, 0, ... |
| 5 | +simTimeND \ |
| 6 | + -xN 32 \ |
| 7 | + -xT 16 \ |
| 8 | + -xMODE Complex \ |
| 9 | + -xSW 50000.000 \ |
| 10 | + -xOBS 500.000 \ |
| 11 | + -xCAR 99.000 \ |
| 12 | + -xLAB H1 \ |
| 13 | + -ndim 1 \ |
| 14 | + -out data/nmrpipe_1d_time.fid -ov |
| 15 | + |
| 16 | +nmrPipe -in data/nmrpipe_1d_time.fid \ |
| 17 | +| nmrPipe -fn SET -r 1.0 -i -1.0 -x1 1 -xn 1 \ |
| 18 | +| nmrPipe -fn SET -r 2.0 -i -2.0 -x1 2 -xn 2 \ |
| 19 | + -ov -out data/nmrpipe_1d_time.fid |
| 20 | + |
| 21 | +# nmrpipe_1d_freq.ft2 |
| 22 | +# 1D NMRPipe freq containing 1, 2 |
| 23 | +nmrPipe -in data/nmrpipe_1d_time.fid \ |
| 24 | +| nmrPipe -fn SET \ |
| 25 | +| nmrPipe -fn FT -di \ |
| 26 | +| nmrPipe -fn SET -r 1.0 -x1 1 -xn 1 \ |
| 27 | +| nmrPipe -fn SET -r 2.0 -x1 2 -xn 2 \ |
| 28 | + -ov -out data/nmrpipe_1d_freq.fid |
| 29 | + |
| 30 | +# nmrpipe_1d_ext.ft2 |
| 31 | +# 1D NMRPipe freq extracted containing 1, 2 |
| 32 | +nmrPipe -in data/nmrpipe_1d_freq.fid \ |
| 33 | +| nmrPipe -fn SET \ |
| 34 | +| nmrPipe -fn EXT -x1 4 -xn 11 -sw \ |
| 35 | +| nmrPipe -fn SET -r 1.0 -x1 1 -xn 1 \ |
| 36 | +| nmrPipe -fn SET -r 2.0 -x1 2 -xn 2 \ |
| 37 | + -ov -out data/nmrpipe_1d_ext.fid |
| 38 | + |
| 39 | +# nmrpipe_2d_time.fid |
| 40 | +# 2D NMRPipe time containing 1 - 1j, 2 - 2j, 0 + 0j along each vector |
| 41 | +simTimeND \ |
| 42 | + -xN 16 -yN 4 \ |
| 43 | + -xT 8 -yT 2 \ |
| 44 | + -xMODE Complex -yMODE States \ |
| 45 | + -xSW 50000.000 -ySW 20000.000 \ |
| 46 | + -xOBS 500.000 -yOBS 125.000 \ |
| 47 | + -xCAR 4.700 -yCAR 99.000 \ |
| 48 | + -xLAB H1 -yLAB C13 \ |
| 49 | + -ndim 2 -aq2D States \ |
| 50 | + -out data/nmrpipe_2d_time.fid -ov |
| 51 | + |
| 52 | +nmrPipe -in data/nmrpipe_2d_time.fid \ |
| 53 | +| nmrPipe -fn SET -r 1.0 -i -1.0 -x1 1 -xn 1 \ |
| 54 | +| nmrPipe -fn SET -r 2.0 -i -2.0 -x1 2 -xn 2 \ |
| 55 | + -ov -out data/nmrpipe_2d_time.fid |
| 56 | + |
| 57 | +# nmrpipe_2d_freq.ft2 |
| 58 | +# 2D NMRPipe freq containing 1, 2 |
| 59 | +nmrPipe -in data/nmrpipe_2d_time.fid \ |
| 60 | +| nmrPipe -fn SET \ |
| 61 | +| nmrPipe -fn FT -di \ |
| 62 | +| nmrPipe -fn TP \ |
| 63 | +| nmrPipe -fn FT -di \ |
| 64 | +| nmrPipe -fn TP \ |
| 65 | +| nmrPipe -fn SET -r 1.0 -x1 1 -xn 1 \ |
| 66 | +| nmrPipe -fn SET -r 2.0 -x1 2 -xn 2 \ |
| 67 | + -ov -out data/nmrpipe_2d_freq.ft2 |
| 68 | + |
| 69 | +# nmrpipe_2d_time_tp.fid |
| 70 | +# 2D NMRPipe time transposed |
| 71 | +nmrPipe -in data/nmrpipe_2d_time.fid \ |
| 72 | +| nmrPipe -fn TP -hyper \ |
| 73 | + -ov -out data/nmrpipe_2d_time_tp.fid |
| 74 | + |
| 75 | +# nmrpipe_2d_freq_tp.ft2 |
| 76 | +# 2D NMRPipe freq transposed |
| 77 | +nmrPipe -in data/nmrpipe_2d_freq.ft2 \ |
| 78 | +| nmrPipe -fn TP \ |
| 79 | + -ov -out data/nmrpipe_2d_freq_tp.ft2 |
| 80 | + |
| 81 | + |
| 82 | +# nmrpipe_3d_time.fid |
| 83 | +# 3D NMRPipe time containing 1 - 1j, 2 - 2j, 0 + 0j along each vector |
| 84 | +simTimeND \ |
| 85 | + -xN 16 -yN 6 -zN 4 \ |
| 86 | + -xT 8 -yT 3 -zT 2 \ |
| 87 | + -xMODE Complex -yMODE States -zMODE States \ |
| 88 | + -xSW 50000.000 -ySW 20000.000 -zSW 10000.000 \ |
| 89 | + -xOBS 500.000 -yOBS 125.000 -zOBS 50.000 \ |
| 90 | + -xCAR 4.700 -yCAR 99.000 -zCAR 120.000 \ |
| 91 | + -xLAB H1 -yLAB C13 -zLAB N15 \ |
| 92 | + -ndim 3 -aq2D States \ |
| 93 | + -out data/nmrpipe_3d_time.dir/nmrpipe_3d_time_%03d.fid -ov |
| 94 | + |
| 95 | +xyz2pipe -in data/nmrpipe_3d_time.dir/nmrpipe_3d_time_%03d.fid \ |
| 96 | +| nmrPipe -fn SET -r 1.0 -i -1.0 -x1 1 -xn 1 \ |
| 97 | +| nmrPipe -fn SET -r 2.0 -i -2.0 -x1 2 -xn 2 \ |
| 98 | +| pipe2xyz -out data/nmrpipe_3d_time.dir/nmrpipe_3d_time_%03d.fid |
| 99 | + |
| 100 | +# nmrpipe_3d_freq.fid |
| 101 | +# 3D NMRPipe time containing 1 - 1j, 2 - 2j, 0 + 0j along each vector |
| 102 | +xyz2pipe -in data/nmrpipe_3d_time.dir/nmrpipe_3d_time_%03d.fid -x \ |
| 103 | +| nmrPipe -fn SET \ |
| 104 | +| nmrPipe -fn FT -di \ |
| 105 | +| nmrPipe -fn TP \ |
| 106 | +| nmrPipe -fn FT -di \ |
| 107 | +| pipe2xyz -out data/nmrpipe_3d_freq.dir/nmrpipe_3d_freq_%03d.ft2 -y |
| 108 | + |
| 109 | +xyz2pipe -in data/nmrpipe_3d_freq.dir/nmrpipe_3d_freq_%03d.ft2 -z \ |
| 110 | +| nmrPipe -fn FT -di \ |
| 111 | +| nmrPipe -fn SET -r 1.0 -x1 1 -xn 1 \ |
| 112 | +| nmrPipe -fn SET -r 2.0 -x1 2 -xn 2 \ |
| 113 | +| pipe2xyz -out data/nmrpipe_3d_freq.dir/nmrpipe_3d_freq_%03d.ft3 -z |
| 114 | + |
| 115 | +rm data/nmrpipe_3d_freq.dir/*.ft2 |
| 116 | + |
| 117 | +# nmrpipe_3d_time.fid |
| 118 | +# 3D NMRPipe stream file (single file 3D file) |
| 119 | +xyz2pipe -in data/nmrpipe_3d_time.dir/nmrpipe_3d_time_%03d.fid -x > data/nmrpipe_3d_time.fid |
| 120 | + |
| 121 | +xyz2pipe -in data/nmrpipe_3d_freq.dir/nmrpipe_3d_freq_%03d.ft3 -x > data/nmrpipe_3d_freq.ft3 |
| 122 | + |
| 123 | +# nmrpipe_4d_time_2.dir |
| 124 | +# 4D NMRPipe time containing 1 - 1j, 2 - 2j, 0 + 0j along each vector |
| 125 | +simTimeND \ |
| 126 | + -xN 10 -yN 8 -zN 6 -aN 4 \ |
| 127 | + -xT 5 -yT 4 -zT 3 -aT 2 \ |
| 128 | + -xMODE Complex -yMODE States -zMODE States -aMODE States \ |
| 129 | + -xSW 50000.000 -ySW 20000.000 -zSW 10000.000 -aSW 30000.000 \ |
| 130 | + -xOBS 500.000 -yOBS 125.000 -zOBS 50.000 -aOBS 150.000 \ |
| 131 | + -xCAR 4.700 -yCAR 99.000 -zCAR 120.000 -aCAR 80.000 \ |
| 132 | + -xLAB H1 -yLAB C13 -zLAB N15 -aLAB P31 \ |
| 133 | + -ndim 4 -aq2D States \ |
| 134 | +| pipe2xyz -out data/nmrpipe_4d_time_2.dir/nmrpipe_4d_time_%03d_%03d.fid -x -ov -to 0 |
| 135 | + |
| 136 | +xyz2pipe -in data/nmrpipe_4d_time_2.dir/nmrpipe_4d_time_%03d_%03d.fid -x \ |
| 137 | +| nmrPipe -fn SET -r 1.0 -i -1.0 -x1 1 -xn 1 \ |
| 138 | +| nmrPipe -fn SET -r 2.0 -i -2.0 -x1 2 -xn 2 \ |
| 139 | +| pipe2xyz -out data/nmrpipe_4d_time_2.dir/nmrpipe_4d_time_%03d_%03d.fid -x -ov |
| 140 | + |
| 141 | +# nmrpipe_4d_time_1.dir |
| 142 | +# 4D NMRPipe time containing 1 - 1j, 2 - 2j, 0 + 0j along each vector |
| 143 | +simTimeND \ |
| 144 | + -xN 10 -yN 8 -zN 6 -aN 4 \ |
| 145 | + -xT 5 -yT 4 -zT 3 -aT 2 \ |
| 146 | + -xMODE Complex -yMODE States -zMODE States -aMODE States \ |
| 147 | + -xSW 50000.000 -ySW 20000.000 -zSW 10000.000 -aSW 30000.000 \ |
| 148 | + -xOBS 500.000 -yOBS 125.000 -zOBS 50.000 -aOBS 150.000 \ |
| 149 | + -xCAR 4.700 -yCAR 99.000 -zCAR 120.000 -aCAR 80.000 \ |
| 150 | + -xLAB H1 -yLAB C13 -zLAB N15 -aLAB P31 \ |
| 151 | + -ndim 4 -aq2D States \ |
| 152 | + -out data/nmrpipe_4d_time_1.dir/nmrpipe_4d_time_%03d.fid -verb -ov |
| 153 | + |
| 154 | +xyz2pipe -in data/nmrpipe_4d_time_1.dir/nmrpipe_4d_time_%03d.fid -x \ |
| 155 | +| nmrPipe -fn SET -r 1.0 -i -1.0 -x1 1 -xn 1 \ |
| 156 | +| nmrPipe -fn SET -r 2.0 -i -2.0 -x1 2 -xn 2 \ |
| 157 | +| pipe2xyz -out data/nmrpipe_4d_time_1.dir/nmrpipe_4d_time_%03d.fid -x -ov |
| 158 | + |
| 159 | +# nmrpipe_4d_time.fid |
| 160 | +# 4D Stream file |
| 161 | +xyz2pipe -in data/nmrpipe_4d_time_2.dir/nmrpipe_4d_time_%03d_%03d.fid -x > data/nmrpipe_4d_time.fid |
| 162 | + |
| 163 | + |
| 164 | +# nmrpipe_4d_freq_1.dir |
| 165 | +# 4D NMRPipe time containing 1 - 1j, 2 - 2j, 0 + 0j along each vector |
| 166 | +xyz2pipe -in data/nmrpipe_4d_time_1.dir/nmrpipe_4d_time_%03d.fid -x -verb \ |
| 167 | +| nmrPipe -fn SET \ |
| 168 | +| nmrPipe -fn FT -di \ |
| 169 | +| pipe2xyz -out data/nmrpipe_4d_freq_1.dir/nmrpipe_4d_freq_%03d.ft1 -x -ov |
| 170 | + |
| 171 | +xyz2pipe -in data/nmrpipe_4d_freq_1.dir/nmrpipe_4d_freq_%03d.ft1 -y -verb \ |
| 172 | +| nmrPipe -fn SET \ |
| 173 | +| nmrPipe -fn FT -di \ |
| 174 | +| pipe2xyz -out data/nmrpipe_4d_freq_1.dir/nmrpipe_4d_freq_%03d.ft2 -y -ov |
| 175 | + |
| 176 | +xyz2pipe -in data/nmrpipe_4d_freq_1.dir/nmrpipe_4d_freq_%03d.ft2 -z -verb \ |
| 177 | +| nmrPipe -fn SET \ |
| 178 | +| nmrPipe -fn FT -di \ |
| 179 | +| pipe2xyz -out data/nmrpipe_4d_freq_1.dir/nmrpipe_4d_freq_%03d.ft3 -z -ov |
| 180 | + |
| 181 | +xyz2pipe -in data/nmrpipe_4d_freq_1.dir/nmrpipe_4d_freq_%03d.ft3 -a -verb \ |
| 182 | +| nmrPipe -fn SET \ |
| 183 | +| nmrPipe -fn FT -di \ |
| 184 | +| nmrPipe -fn SET -r 1.0 -i -1.0 -x1 1 -xn 1 \ |
| 185 | +| nmrPipe -fn SET -r 2.0 -i -2.0 -x1 2 -xn 2 \ |
| 186 | +| pipe2xyz -out data/nmrpipe_4d_freq_1.dir/nmrpipe_4d_freq_%03d.ft4 -a -ov |
| 187 | + |
| 188 | +rm data/nmrpipe_4d_freq_1.dir/*.ft1 |
| 189 | +rm data/nmrpipe_4d_freq_1.dir/*.ft2 |
| 190 | +rm data/nmrpipe_4d_freq_1.dir/*.ft3 |
| 191 | + |
| 192 | +# nmrpipe_4d_freq_2.dir |
| 193 | +# 4D NMRPipe time containing 1 - 1j, 2 - 2j, 0 + 0j along each vector |
| 194 | +xyz2pipe -in data/nmrpipe_4d_time_2.dir/nmrpipe_4d_time_%03d_%03d.fid -x -verb \ |
| 195 | +| nmrPipe -fn SET \ |
| 196 | +| nmrPipe -fn FT -di \ |
| 197 | +| pipe2xyz -out data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft1 -x -ov |
| 198 | + |
| 199 | +xyz2pipe -in data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft1 -y -verb \ |
| 200 | +| nmrPipe -fn SET \ |
| 201 | +| nmrPipe -fn FT -di \ |
| 202 | +| pipe2xyz -out data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft2 -y -ov |
| 203 | + |
| 204 | +xyz2pipe -in data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft2 -z -verb \ |
| 205 | +| nmrPipe -fn SET \ |
| 206 | +| nmrPipe -fn FT -di \ |
| 207 | +| pipe2xyz -out data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft3 -z -ov |
| 208 | + |
| 209 | +xyz2pipe -in data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft3 -a -verb \ |
| 210 | +| nmrPipe -fn SET \ |
| 211 | +| nmrPipe -fn FT -di \ |
| 212 | +| nmrPipe -fn SET -r 1.0 -i -1.0 -x1 1 -xn 1 \ |
| 213 | +| nmrPipe -fn SET -r 2.0 -i -2.0 -x1 2 -xn 2 \ |
| 214 | +| pipe2xyz -out data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft4 -a -ov |
| 215 | + |
| 216 | +rm data/nmrpipe_4d_freq_2.dir/*.ft1 |
| 217 | +rm data/nmrpipe_4d_freq_2.dir/*.ft2 |
| 218 | +rm data/nmrpipe_4d_freq_2.dir/*.ft3 |
| 219 | + |
| 220 | +# nmrpipe_4d_freq.ft4 |
| 221 | +# 4D Stream file |
| 222 | +xyz2pipe -in data/nmrpipe_4d_freq_2.dir/nmrpipe_4d_freq_%03d_%03d.ft4 -x > data/nmrpipe_4d_freq.ft4 |
0 commit comments