rust_physics_engine 0.2.0

A zero-dependency Rust library for physics, mathematics and engineering computation — 6,365 public functions across 71 modules
Documentation
//! Digital signal processing: window functions, FIR/IIR filter design,
//! resampling, and phase utilities.
//!
//! The window generators and first-order RC filters that used to live in
//! `signal_processing` moved here; the old paths re-export them.

pub mod fir;
pub mod phase;
pub mod resample;
pub mod iir;
pub mod windows;

pub use fir::{
    filtfilt_fir, fir_apply, fir_apply_fft, fir_bandpass, fir_bandstop, fir_differentiator,
    fir_freq_response, fir_gaussian, fir_group_delay, fir_highpass, fir_hilbert,
    fir_kaiser_design, fir_least_squares, fir_lowpass, fir_parks_mcclellan, fir_raised_cosine,
    fir_root_raised_cosine, fir_savitzky_golay, FirState,
};
pub use iir::{
    a_weighting_filter, bessel, bilinear_transform, butterworth, butterworth_order,
    c_weighting_filter, chebyshev1, chebyshev2, dc_blocker, elliptic, filtfilt,
    first_order_highpass, first_order_lowpass, group_delay, iir_apply, impulse_response,
    one_pole_lowpass, rbj_q_from_bandwidth, state_variable_filter, step_response, tf_to_zpk,
    zpk_to_sos, Biquad, IirKind, Sos, Svf,
};
pub use phase::{
    group_delay_from_phase, phase_difference, phase_locked_loop, phase_vs_reference,
    unwrap_phase, unwrap_phase_2d, wrap_phase, zero_crossing_times,
};
pub use resample::{
    cic_decimate, decimate, half_band_filter, resample_cubic, resample_linear,
    resample_rational, resample_sinc, resample_to_rate, sinc_interpolate, upsample,
};
pub use windows::{
    blackman_window, hamming_window, hann_window, kaiser_beta_for_attenuation, rectangular_window,
    window, window_metrics, WindowKind, WindowMetrics,
};