Rotating data axes with nmrPipe

From NMR Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (00:14, 18 July 2009) (edit) (undo)
 
Line 1: Line 1:
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.
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.
+
For example, this script will exchange Y and Z axes in 3D data.
<source lang="bash">
<source lang="bash">

Current revision

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 in 3D data.

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