nmrglue.process.pipe_proc.zf

nmrglue.process.pipe_proc.zf(dic, data, zf=1, pad='auto', size='auto', mid=False, inter=False, auto=False, inv=False)[source]

Zero fill

Parameters
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

zfint, optional.

Number of times to double the current dimensions size.

padint

Number of zeros to pad the data with.

sizeint

Desired final size of the current dimension.

midbool

True to zero fill in the middle of the current dimension

interbool

True to zero fill between points.

autobool

True to round final size to nearest power of two.

invbool

True to extract the time domain data (remove zero filling).

Returns
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

Array of NMR data which has zero filled.

Notes

Only one of the zf, pad and size parameter should be used, the other should be left as the default value. If any of the mid, inter, auto and inv parameters are True other parameter may be ignored.