nmrglue.process.proc_base.roll

nmrglue.process.proc_base.roll(data, pts=0.0, neg=False)[source]

Roll axis

Parameters :

data : ndarray

Array of NMR data.

pts : int

Number of points to shift. Positive value will right shift the data, negative values will left shift the data.

neg : bool

True to negate the shifted points.

Returns :

ndata : ndarray

Array of NMR data with last axis rolled.

Previous topic

nmrglue.process.proc_base.cs

Next topic

nmrglue.process.proc_base.fsh

This Page