nmrglue.process.pipe_proc.mir

nmrglue.process.pipe_proc.mir(dic, data, mode='left', invl=False, invr=False, sw=True)[source]

Append mirror image.

Parameters
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

mode{‘left’, ‘right’, ‘center’, ‘ps90-180’, pw0-0’}

Type of mirror image to append.

invlbool

True to negate left half.

invrbool

True to negate right half.

swbool

True to update ppm parameters, recommended.

Returns
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

Array of NMR data with mirror image appended.

Notes

Negations of selected region are applied regardless of the mode selected.