def METHOD_NAME(self, program_name: str, mask_name: str,
                         begins: numpy.ndarray, lengths: numpy.ndarray) -> Tuple[numpy.ndarray, numpy.ndarray]:
    program = self._registered_programs.setdefault(program_name, AlazarProgram())
    return program.METHOD_NAME(mask_name, self.current_sample_rate_in_giga_herz, begins, lengths)