nmrglue.process.proc_lp.make_mirror

nmrglue.process.proc_lp.make_mirror(x, mode)[source]

Make a mirror image trace.

Reflects trace over zero as described in: G. Zhu and A. Bax, Journal of Magnetic Resonance, 1990, 90, 405

When mode is “0” (no initial delay) form the an array with length 2N-1:

x_n-1 … x_1 x_0 x_1 … x_n-1

When mode is “180” (half point delay) form an array with length 2N:

x_n-1 .. x_1 x_0 x_0 x_1 … x_n-1

Parameters
xndarray

1D array to form mirrored trace from.

mode{‘180’, ‘0’}

Mirror mode, see above.