EEG_URLATENCY Find the real latency of an event in the continuous data.

Usage: >> lat_out = eeg_urlatency( event, lat_in );

Inputs:
event   
event structure. If this structure contain boundary events, the length of these events is added to restore the original latency from the relative latency in 'lat_in'
lat_in   
relative latency.

Outputs:
lat_out   
output latency

Author: Arnaud Delorme, SCCN, INC, UCSD, April, 15, 2004

See also: eeg_eegrej

See the matlab file eeg_urlatency.m (may require other functions)

Back to functions