Average intensities We can calculate the average intensities using the step function