A hypnogram gives you the basic timings for your REM cycles, from there it's trial and error
http://upload.wikimedia.org/wikipedi..._Hypnogram.svg