Polysomnography (PSG) is a comprehensive sleep study used to diagnose sleep disorders and analyze sleep…