pub fn ui_batch_with_kernel( data: &[f64], sweep: &UiBatchRange, k: Kernel, ) -> Result<UiBatchOutput, UiError>