nmrglue.pipe_proc¶
NMRPipe like processing functions for use with the
nmrglue.fileio.pipe
module.
These functions attempt to mimic NMRPipe’s processing functions but small differences exist between to two implementations. In particular when using this module:
hdr=True overrides all values in the calling function.
A di flag is not used, rather the
di()
function should be used to delete the imaginary portion of a spectra.x1, xn and other limits must be expressed in points. A unit conversion object function should be used before calling the processing function to calculate these values.
No functions implement the dmx or nodmx flags.
Additional differences from NMRPipe’s functions are documented in the individual processing functions.
The following functions have not been implemented and will raise a NotImplemented exception:
ann Fourier Analysis by Neural Net
ebs EBS Reconstruction
mem Maximum Entropy
ml Maximum likelyhood frequency
poly Polynomail baseline correction
xyz2zyx 3D matrix transpose
ztp 3D matrix transpose
This module is imported as nmrglue.pipe_proc and can be called as such.
Apodization¶
|
Generic apodization. |
|
Exponential apodization. |
|
Lorentz-to-Gauss apodization |
|
Modified Gaussian Apodization |
|
Exponentially Damped J-Modulation Apodization |
|
Sine bell apodization. |
|
Sine bell apodization. |
|
Trapezoid apodization. |
|
Triangular apodization |
Shifts¶
|
Right shift and zero pad. |
|
Left Shift and Zero Pad |
|
Circular shift |
|
Frequency shift. |
Transforms¶
|
Complex Fourier transform. |
|
Real Fourier transform. |
|
Hadamard transform. |
|
Hilbert transform. |
Standard NMR¶
|
Delete imaginaries |
|
Phase shift |
|
Transpose data (2D). |
|
Zero fill |
Baseline¶
|
Linear baseline correction. |
|
Constant baseline correction. |
|
Median baseline correction |
|
Solvent filter |
Utilities¶
|
Add a constant |
|
Derivative by central difference. |
|
Extract a region. |
|
Integral by simple sum |
|
Modules or magnitude calculation. |
|
Append mirror image. |
|
Multiple by a constant. |
|
Reverse data. |
|
Set data to a constant. |
|
Shuffle Utilities |
|
Sign manipulation utilities |
Misc¶
|
Co-addition of data |
|
Co-addition of data |
|
Development function (does nothing) |
|
Image processing utilities |
|
Dispatcher similar to the MAC command. |
|
Null function |
|
Scale Quad Artifacts |
|
Complex mixing of input to outputs |
|
Save the current vector. |
|
Smooth data. |
|
Zero diagonal band. |
Linear Prediction¶
|
Linear Prediction |
|
Linear Prediction |
|
2D Linear Prediction using LP2D procedure |
Not Implemented¶
|
Fourier Analysis by Neural Net |
|
EBS Reconstruction |
|
Dispatcher similar to the MAC command. |
|
Maximum Entropy Reconstruction |
|
Maximum Likelihood Frequency Map |
|
Polynomial Baseline Correction |
|
3D Matrix transpose |
|
3D Matrix Transpose |