median sampling to see patterns in sensors