Rotating data axes with nmrPipe

From NMR Wiki

(Difference between revisions)
Jump to: navigation, search
(New page: Combinations of commands TP and ZTP will rotate data. <source lang="bash"> xyz2pipe -in ft/test%03d.ft3 \ | nmrPipe -fn TP \ | nmrPipe -fn ZTP \ | pipe2xyz -out ft/rot%03d.ft3 </source> ...)
Line 1: Line 1:
-
Combinations of commands TP and ZTP will rotate data.
+
Combinations of functions '''TP''' - transpose X&Y - and '''ZTP''' - transpose Z and Y - will rotate data. There are also options for xyz2pipe and pipe2xyz that allow data rotation, but perhaps TP and ZTP are easier to understand.
 +
 
 +
For example, this script will exchange Y and Z axes.
<source lang="bash">
<source lang="bash">

Revision as of 00:14, 18 July 2009

Combinations of functions TP - transpose X&Y - and ZTP - transpose Z and Y - will rotate data. There are also options for xyz2pipe and pipe2xyz that allow data rotation, but perhaps TP and ZTP are easier to understand.

For example, this script will exchange Y and Z axes.

xyz2pipe -in ft/test%03d.ft3 \
| nmrPipe -fn TP \
| nmrPipe -fn ZTP \
| pipe2xyz -out ft/rot%03d.ft3
Personal tools