Validity of inspiratory and expiratory methods of measuring gas exchange with a computerized system | Synapse