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
- dicdict
Dictionary of NMRPipe parameters.
- datandarray
Array of NMR data.
- dir{‘rs’ or ‘ls’}
Direction to shift spectra, ‘rs’ for right shifting, ‘ls’ for left shifting.
- ptsfloat
Number of points to shift.
- negbool
True to negative points which are shifted.
- swbool
True to update chemical shift calibration parameters.
- Returns
- ndicdict
Dictionary of updated NMRPipe parameters.
- ndatandarray
Array of NMR data which has been circular shifted.