pub fn cg_batch_slice( data: &[f64], sweep: &CgBatchRange, kern: Kernel, ) -> Result<CgBatchOutput, CgError>