Behavior Analysis 
Figure 1 depicts the Behavior Analysis program. A movie file is loaded into the program by navigating the drive, then double-clicking on the file to analyze. Beneath the file window, you can press the Collect X-Y Position button to switch to the position mode. Beneath that, the current frame and time is depicted. Changing either and then pressing the FSeek or TSeek button will bring you to the desired frame or time. Beneath the video, the Play/Pause button will play or pause the video. The play speed can also be adjusted (1 is normal, 2 is twice as fast, 0.5 is half as fast). Backstep and Step + step the video frame-by-frame either back or forward. Step -X and Step +X buttons allow you to step forward or back at the desired Frame Step (here, set for 10). Begin and End take you to the beginning or end of the video clip. If the Auto Frame Step check box is selected, the program will automatically step to the next frame when you either click on an X-Y position in the video or enter a behavior via the keyboard. The Start Keyboard button allows you to use the keyboard to enter one letter (or number) codes for the behavior currently on the screen. Any printable character can be used as a code and upper/lowercase letters are processed differently. The X-Y or behavioral data are copied to the yellow "note pad". The data in the note pad can be copied to the clipboard, then pasted into Word or Excel by pressing the Copy to Clipboard button. Please note: If you copy data to the clipboard, you must exit and re-start the program. Failure to do so will result in the program crashing. Do not save your file as uncompressed full frames. The video routines don't like that.
Collecting X-Y Data: This collection method would most likely be used to follow the movements of an animal in an arena.
Distance = Sqr[(X1 - X2)2
+ (Y1 - Y2)2]
Distance = Distance / RealDistance
Collecting a Behavioral Sequence: