Repository navigation
A Great Leap Forward! The old call style and all the deprecation warnings and guards and tests that went with it have been fully removed, and I've had the excuse to make a few other backwards-compatibility-breaking changes.
- (breaking) interface improvements:
bandlimitin Hz replaces unitlesstvgammametricparameter dropped fromoptimizebecause error correlation is optimized by degenerately not smoothing at allspectraldiffnow has short-namedcutoff_freqto matchbutterdiff,pad_to_zero_dxdtrenamedpad_to_flat, andeven_extensionrenamedextensionnow taking a string- renamed
mean_kerneltouniform_kernel - renamed
step_sizetostridefor sliding window methods splinediffdropsnum_iterations, because it became inert after sensitivity of its other parametersto data scale was fixed last versionsolverdropped from convex solve methods, now depending on either OSQP or CLARABEL intentionally, so the user doesn't have to think about it
lineardiffis now mathematically leaner, faster, and easier to understand; it also elegantly handles missing and irregularly-spaced dataslide_functionnow takes samples from a window intunits, rather than some number of samples, which was risking shrunken window width in dense samples, allowing methods to fit noise*_kernelfunctions are now optionally sampleable at arbitrary locations in addition to supporting fixed gridswaveletdiffno longer commits the "wavelet crime" (now performing both denoising and differentiation in the basis), adds cycle-spinning for more reliable answers, can do adaptive decomposition depth, chooses hard thresholding over soft for less bias, and gets a more complete optimization search spacespectraldiffcan now perform odd extension, as well as detrending alone- new utilities:
robust_data_scaleandrobust_noise_scale - speed: gradients now given to
estimate_integration_constant's huber-branch SLSQP minimization;waveletdiffuses local FIR filters instead of sparse matrices or a global FFT - guards: time vectors must be strictly increasing;
waveletdiffrejects families that won't work - bugfixes: integer type can't accidentally truncate answers anymore;
polyfitfed mathematically-correct √kernel;robustdiffbetter handling for stiff cases, fewer warnings; rescaledfriedrichskernel to not go incredibly close to zero at edges, which could cause warnings