Estimate A and r parameters for Fourier envelope
get_est_Ar.RdEstimates parameters A and r that bound the Fourier transform decay. Uses linear programming by default, with automatic fallback to grid search.
Details
The LP-based method (default) is typically 1-5x faster than grid search, with speedup depending on sample size and Fourier transform computation cost. The grid search method is preserved for validation and as fallback if LP solver is unavailable.
The function finds the minimal-area envelope line in log-log space by minimizing the integral subject to envelope constraints on the Fourier transform decay.