nmrglue.process.pipe_proc.qmix

nmrglue.process.pipe_proc.qmix(dic, data, ic=1, oc=1, cList=[0], time=False)[source]

Complex mixing of input to outputs

Parameters
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

icint

Number of input channels

ocint

Number of output channels

cListarray_like

Array or mixing coefficients. This parameter must be able to be converted to an array and reshaped to (ic, oc).

Returns
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

Array of NMR data after complex mixing.

Notes

ic and oc must evenly divide the data. This function refuses to make invalid length files, NMRPipe’s qmix function will create such files.