| READ_ERPSS | Read an compressed and uncompressed ERPSS file formats (.RAW or .RDF) |
| Usage: | >> [data,events,header] = read_erpss(filename); |
| Inputs: | |
filename |
Name of ERPSS data file (including extension) |
| Outputs: | |
data |
Data array [nchans samples]. Data is rescaled to microVolt. |
| events - Event information structure: | events.sample_offset[]: Event offsets in samples from the first sample (0) events.event_code[] Event codes (integers: 1-128) |
| header - header information structure: | header.nchans Number of channels header.nframes Number of data frames (i.e., samples, timepoints) |
| Notes: | ERPSS format was developed by Jonathan Hansen at the Hillyard lab at UCSD (http://sdepl.ucsd.edu/erpss/). |
| Authors: | Jeng-Ren Duann & Arnaud Delorme, CNL/Salk & INC/UCSD, 2002-12-12 with help from Andrey Vankov |