exg 0.0.6

EXG (EEG/ECG/EMG) preprocessing — native Rust DSP + FIF reader, numerical parity with MNE-Python
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! FIR filter design and application.
//!
//! - [`design`]: Hamming-windowed sinc FIR design for highpass, lowpass,
//!   bandpass, and notch filters, matching MNE's `create_filter` and
//!   `notch_filter` parameter selection.
//! - [`apply`]: Overlap-add zero-phase convolution, matching MNE's
//!   `_overlap_add_filter` / `_1d_overlap_filter`.

pub mod apply;
pub mod design;

pub use apply::{apply_fir_zero_phase, filter_1d};
pub use design::{
    auto_filter_length, auto_trans_bandwidth, auto_trans_bandwidth_lowpass, design_bandpass,
    design_highpass, design_lowpass, design_notch, firwin, hamming,
};