Processing samples for Lectures