Automated phase correction These functions provide support for automatic phasing of NMR data. They consist of the core autops function which performs the optimisation and a set of private functions for calculating a spectral phase quality score for a provided spectrum.

This module is imported as nmrglue.proc_autophase and can be called as such.

User Functions

autops(data, fn[, p0, p1]) Automatic linear phase correction
manual_ps(data[, notebook]) Manual Phase correction using matplotlib

Developer Functions

These functions are called by high-level function are and most users will not use them in common processing scripts. Developers may be interested in them.

_ps_acme_score(ph, data) Phase correction using ACME algorithm by Chen Li et al.
_ps_peak_minima_score(ph, data) Phase correction using simple minima-minimisation around highest peak