Ensuring safety and functionality of electroglottography measurements during dynamic pulmonary MRI