Previous topic

nmrglue.process.pipe_proc.set

Next topic

nmrglue.process.pipe_proc.sign

This Page

nmrglue.process.pipe_proc.shuf

nmrglue.process.pipe_proc.shuf(dic, data, mode=None)

Shuffle Utilities

rr2ri mode ignores any imaginary vector refusing to create a mis-sized vector. bswap mode may results in NaN in the data. r2i and i2r not implemented. All modes correctly update minimum and maximum values

Parameters:

  • dic Dictionary of NMRPipe parameters.
  • data array of spectral data.
  • mode shuffle mode to apply:

Valid modes are:

  • ri2c Interleave real/imaginary.
  • c2ri Seperate real/imaginary.
  • ri2rr Append real/imaginary.
  • rr2ri Unappend real/imaginary.
  • exlr Exchange left/right halfs.
  • rolr Rotate left/right halfs.
  • swap Swap real/imaginary.
  • bswap Byte-swap.
  • inv Do nothing.