nmrglue.process.pipe_proc.fsh

nmrglue.process.pipe_proc.fsh(dic, data, dir, pts, sw=True)[source]

Frequency shift.

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.

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 frequency shifted.

Notes

This function does not perfrom a Hilbert transfrom when data is complex, NMRPipe’s FSH function appear to. As such the results of the imaginary channel differs from NMRPipe. In addition MAX/MIN value are slightly different than those in NMRPipe.

Previous topic

nmrglue.process.pipe_proc.cs

Next topic

nmrglue.process.pipe_proc.ft

This Page