ZF - Zero filling (nmrPipe function)

From NMR Wiki

(Difference between revisions)
Jump to: navigation, search
(Options)
Line 6: Line 6:
Note that final data size of n = 2<sup>i</sup>, where i is integer speeds up the [[Fourier transformation|fourier transformation]].
Note that final data size of n = 2<sup>i</sup>, where i is integer speeds up the [[Fourier transformation|fourier transformation]].
 +
==Examples==
 +
The most frequent use. Add zeros to the end of data vector or remove data points from the end of vectors to final size of cerain number of points (256 in this example)
 +
nmrPipe -fn ZF -size 256
==Options==
==Options==
Line 24: Line 27:
| -inv||flag, no value||not used||remove zeroes from the inverse FT-processed data
| -inv||flag, no value||not used||remove zeroes from the inverse FT-processed data
|}
|}
-
 
-
==Examples==
 
-
The most frequent use. Add zeros to the end of data vector or remove data points from the end of vectors to final size of cerain number of points (256 in this example)
 
-
nmrPipe -fn ZF -size 256
 
-
 
-
 
-
 
-
 
-
 
[[Category:NMRPipe manuals]]
[[Category:NMRPipe manuals]]

Revision as of 20:42, 24 July 2008

Zero filling function adds zeros to the data vectors to either increase digital resolution or prepare the data for the Hilbert transformation.

The function can also be used to truncate data vectors.

Zeroes are added or points removed on both real and complex part (if present) of data vectors.

Note that final data size of n = 2i, where i is integer speeds up the fourier transformation.

Examples

The most frequent use. Add zeros to the end of data vector or remove data points from the end of vectors to final size of cerain number of points (256 in this example)

nmrPipe -fn ZF -size 256

Options

optiontype of valuedefault valuemeaning
-zfinteger1number of times to double vector size
-padinteger0 (?)number of zeros to add in the end of data vectors
-sizeintegercurrent point count (?)final size of data vectors after adding zeroes
-autoflag, no valuenot usedwill round size of data vector to the nearest power of 2, consistent with other options
-midflag, no valuenot usedinsert data in the middle of data vectors instead of inserting it in the end
-invflag, no valuenot usedremove zeroes from the inverse FT-processed data
Personal tools