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 :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

zf : int, optional.

Number of times to double the current dimensions size.

pad : int

Number of zeros to pad the data with.

size : int

Desired final size of the current dimension.

mid : bool

True to zero fill in the middle of the current dimension

inter : bool

True to zero fill between points.

auto : bool

True to round final size to nearest power of two.

inv : bool

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

Returns :

ndic : dict

Dictionary of updated NMRPipe parameters.

ndata : ndarray

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.

Previous topic

nmrglue.process.pipe_proc.tp

Next topic

nmrglue.process.pipe_proc.base

This Page