The coordinate dimension to operate on, by default DIMS.frequency.
DIMS.frequency
method
(acme, peak_minima, positivity)
The scoring algorithm to use. “acme” relies on entropy and is best for multi-peak high SNR spectra. “positivity” and “peak_minima” are optimized for sparse/noisy spectra. By default “acme”.
"acme"
peak_width
float
Width of the ROI (in units of dim, e.g., Hz or ppm) for the local methods. Concentrates the solver on the region surrounding the target peak. By default 0.5.
0.5
target_coord
float | None
The explicit coordinate (e.g. 171.0 ppm) to target for local methods. If None, the coordinate of the maximum absolute magnitude is used.
None
p0_only
bool
If True, locks p1=0 and only optimizes the zero-order phase. Highly recommended for sparse spectra evaluated over a narrow peak_width.
False
lb
float
Optional exponential line broadening (in Hz). Can help smooth extreme noise for ACME, but usually unnecessary for local methods. By default 0.0.
0.0
temp_time_dim
str
The name used for the temporary time dimension if lb > 0.
DIMS.time
**kwargs
Additional keyword arguments passed to scipy.optimize.differential_evolution.
The input frequency-domain spectrum. Must be complex-valued.
required
dim
str
The coordinate dimension along which to apply phase correction, by default DIMS.frequency.
DIMS.frequency
p0
float
Zero-order phase angle in degrees. This is a constant phase shift applied uniformly to all coordinates. By default 0.0.
0.0
p1
float
First-order phase angle in degrees. This represents the total phase twist applied across the entire spectral range (max_coord - min_coord). By default 0.0.
0.0
pivot
float
The coordinate value (e.g., ppm or Hz) around which p1 is anchored. At this exact coordinate, the first-order phase contribution is 0.0. If None, standard maximum-magnitude pivoting is used.