pub fn pma_batch_slice( data: &[f64], sweep: &PmaBatchRange, kern: Kernel, ) -> Result<PmaBatchOutput, PmaError>