Shuffle Utilities
Parameters : | dic : dict
data : ndarray
modes : str
|
---|---|
Returns : | ndic : dict
ndata : ndarray
|
Notes
‘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. This behavor may differ from NMRPipe’s SHUF function.
Valid modes are:
string | Description |
---|---|
‘ri2c’ | Interleave real and imaginary data. |
‘c2ri’ | Seperate real and imaginary data. |
‘ri2rr’ | Append real and imaginary data. |
‘rr2ri’ | Unappend real and imaginary data. |
‘exlr’ | Exchange left and right halfs. |
‘rolr’ | Rotate left and right halfs. |
‘swap’ | Swap real and imaginary data. |
‘bswap’ | Byte-swap data. |
‘inv’ | Do nothing. |