critband: A Python Package for Critical Bandwidth Analysis of Multimodal Distributions (opens in new tab)
Multimodal density estimation is a fundamental problem in scientific computing, but Python has lacked a cohesive implementation of critical bandwidth analysis and related mode-counting tools. We present critband, a Python package for Silverman-style critical bandwidth detection and multimodality assessment based on Gaussian kernel density estimation. The package provides a hybrid binary-Brent critical bandwidth solver, FFT-accelerated KDE for la...
Read the original article