You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
digital_filters - added multi_exponential_decay function which can be used to fit and extract the exponential decay coefficients when there are multiple time constants. It supports any number of exponential decays.
Changed
digital_filters - exponential_decay function now internally uses the multi_exponential_decay function for calculation. The user-facing interface of exponential_decay remains unchanged, ensuring backward compatibility.
digital_filters - multi_exponential_decay function has the following formula: s * (1 + a1 * np.exp(-x / t1) + a2 * np.exp(-x / t2) + ... + an * np.exp(-x / tn)), where s=1 by default.