Eyetracker
 
Loading...
Searching...
No Matches
pygaze.libtime Namespace Reference

Functions

 expstart ()
 
 get_time ()
 
 pause (pausetime)
 
 expend ()
 

Variables

 clock = Time()
 

Function Documentation

◆ expend()

pygaze.libtime.expend ( )
Completely ends the experiment (only call this at the very end!)
    
    arguments
    None
    
    keyword arguments
    None
    
    returns
    endtime     --  experiment ending time in milliseconds, as measured
                from expbegintime

◆ expstart()

pygaze.libtime.expstart ( )
Time is set to 0 upon calling this

◆ get_time()

pygaze.libtime.get_time ( )
Returns the current time in milliseconds
    
    arguments
    None
    
    keyword arguments
    None
    
    returns
    time        --  current time in milliseconds, as measured from
                expbegintime

◆ pause()

pygaze.libtime.pause ( pausetime)
Pauses the experiment for the given number of milliseconds
    
    arguments
    pausetime   --  time to pause in milliseconds
    
    keyword arguments
    None
    
    returns
    pausetime   --  the actual duration of the pause in milliseconds

Variable Documentation

◆ clock

pygaze.libtime.clock = Time()