A sleep study, called polysomnography, measures breathing, oxygen levels, brain waves
https://sleepapneamatch.com/guides/
A sleep study, called polysomnography, measures breathing, oxygen levels, brain waves, and movements overnight to diagnose and grade sleep apnea severity.