Analysis software for arousal threshold data