nmrglue.process.pipe_proc.cs

nmrglue.process.pipe_proc.cs(dic, data, dir, pts=0.0, neg=False, sw=False)[source]

Circular shift

The syntax of this function is different from NMRPipe’s CS function.

Parameters :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

dir : {‘rs’ or ‘ls’}

Direction to shift spectra, ‘rs’ for right shifting, ‘ls’ for left shifting.

pts : float

Number of points to shift.

neg : bool

True to negative points which are shifted.

sw : bool

True to update chemical shift calibration parameters.

Returns :

ndic : dict

Dictionary of updated NMRPipe parameters.

ndata : ndarray

Array of NMR data which has been circular shifted.

Previous topic

nmrglue.process.pipe_proc.ls

Next topic

nmrglue.process.pipe_proc.fsh

This Page