| EEG_LAT2POINT | Convert latencies in time units relative to the time locking event of an eeglab() data epoch to latencies in data points (assuming concatenated epochs). |
| Usage: | >> [newlat] = eeg_lat2point( lat_array, epoch_array, srate, timelimits, timeunit); |
| Inputs: | |
lat_array |
latency array in 'timeunit' units (see below) |
epoch_array |
epoch number for each latency |
srate |
data sampling rate in Hz |
timelimits |
[min max] epoch timelimits in 'timeunit' units (see below) |
timeunit |
time unit relative to seconds. Default is 1 = seconds. |
| Outputs: | |
newlat |
converted latency values in points assuming concatenated data epochs (see eeglab() event structure) |
outbound |
indices of out of boundary latencies (Unimplemented) |
| Author: | Arnaud Delorme, CNL / Salk Institute, 2 Mai 2002 |
| See also: | eeg_point2lat(), eeglab() |