Two Computable Invariants for Fourier Approximation of Piecewise-Smooth Signals | Synapse