Ventilation measurements