def time_correction(self, timeout=FOREVER):
errcode = c_int()<EOL>result = lib.lsl_time_correction(self.obj, c_double(timeout),<EOL>byref(errcode))<EOL>handle_error(errcode)<EOL>return result<EOL>
Retrieve an estimated time correction offset for the given stream.

        The first call to this function takes several miliseconds until a 
        reliable first estimate is obtained. Subsequent calls are instantaneous 
        (and rely on periodic background updates). The precision of these 
        estimates should be below 1 ms (empirically within +/-0.2 ms).

        Keyword arguments: 
        timeout -- Timeout to acquire the first time-correction estimate 
                   (default FOREVER).

        Returns the current time correction estimate. This is the number that 
        needs to be added to a time stamp that was remotely generated via 
        local_clock() to map it into the local clock domain of this 
        machine.

        Throws a TimeoutError (if the timeout expires), or LostError (if the 
        stream source has been lost).