nmrglue.process.pipe_proc.sign

nmrglue.process.pipe_proc.sign(dic, data, ri=False, r=False, i=False, left=False, right=False, alt=False, abs=False, sign=False)[source]

Sign manipulation utilities

Parameters :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

ri : bool

True to negate all data points.

r : bool

True to negate real data points.

i : bool

True to negate imaginary data points.

left : bool

True to negate the left half of the data.

right : bool

True to negate the right half of the data.

alt : bool

True to negate alternating data points.

abs : bool

True to replace both real and imaginary data with it’s absolute value.

sign : bool

True to replace data with the sign (-1 or 1) of the data.

Returns :

ndic : dict

Dictionary of updated NMRPipe parameters.

ndata : ndarray

Array of NMR data after sign manipulation.

Notes

All sign manupulation modes set True are applied in the order they appear in the function parameter list.

Previous topic

nmrglue.process.pipe_proc.shuf

Next topic

nmrglue.process.pipe_proc.coadd

This Page