pub fn er_batch_with_kernel( data: &[f64], sweep: &ErBatchRange, k: Kernel, ) -> Result<ErBatchOutput, ErError>