Skip to content

The Big One 🌊

Latest

Choose a tag to compare

@pavelkomarov pavelkomarov released this 18 Sep 20:16
· 33 commits to master since this release
92ee5fa

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:
    • bandlimit in Hz replaces unitless tvgamma
    • metric parameter dropped from optimize because error correlation is optimized by degenerately not smoothing at all
    • spectraldiff now has short-named cutoff_freq to match butterdiff, pad_to_zero_dxdt renamed pad_to_flat, and even_extension renamed extension now taking a string
    • renamed mean_kernel to uniform_kernel
    • renamed step_size to stride for sliding window methods
    • splinediff drops num_iterations, because it became inert after sensitivity of its other parameter s to data scale was fixed last version
    • solver dropped from convex solve methods, now depending on either OSQP or CLARABEL intentionally, so the user doesn't have to think about it
  • lineardiff is now mathematically leaner, faster, and easier to understand; it also elegantly handles missing and irregularly-spaced data
  • slide_function now takes samples from a window in t units, rather than some number of samples, which was risking shrunken window width in dense samples, allowing methods to fit noise
  • *_kernel functions are now optionally sampleable at arbitrary locations in addition to supporting fixed grids
  • waveletdiff no 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 space
  • spectraldiff can now perform odd extension, as well as detrending alone
  • new utilities: robust_data_scale and robust_noise_scale
  • speed: gradients now given to estimate_integration_constant's huber-branch SLSQP minimization; waveletdiff uses local FIR filters instead of sparse matrices or a global FFT
  • guards: time vectors must be strictly increasing; waveletdiff rejects families that won't work
  • bugfixes: integer type can't accidentally truncate answers anymore; polyfit fed mathematically-correct √kernel; robustdiff better handling for stiff cases, fewer warnings; rescaled friedrichs kernel to not go incredibly close to zero at edges, which could cause warnings