nmrglue.process.proc_base.roll

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

Roll axis

Parameters
datandarray

Array of NMR data.

ptsint

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

negbool

True to negate the shifted points.

Returns
ndatandarray

Array of NMR data with last axis rolled.