[Eeglablist] importing ascii data with unusual organization
Jason Krompinger
jkrompinger at gmail.com
Thu Aug 25 16:46:34 PDT 2005
Hi -
I'm trying to import data into EEGLAB from an ascii file format and am
having a problem getting the data formatted
correctly. The raw data is epoched into individual trials before
conversion to ascii format, and each trial is separated by
a mini-header file that includes electrode (numerical) and trial
information including behavioral data. We sample at 200 Hz
and each trial contains 400 data points. A sample trial from the ascii
file is as
follows at electrode '0' :
0 1 4 4 1486
1897 1910 1921 1914 1907 1923 1924 1936 1923 1906
1908 1911 1921 1927 1894 1898 1903 1914 1912 1900
1902 1904 1899 1912 1914 1917 1914 1916 1928 1919
1905 1898 1911 1910 1921 1916 1919 1928 1930 1917
1914 1913 1910 1914 1902 1898 1914 1906 1920 1924
1917 1921 1904 1904 1909 1909 1903 1898 1931 1925
1925 1920 1919 1922 1900 1909 1904 1928 1915 1930
1916 1915 1928 1927 1922 1929 1918 1925 1912 1934
1914 1928 1910 1912 1902 1910 1929 1936 1937 1937
1934 1935 1949 1937 1922 1919 1921 1941 1918 1926
1932 1947 1952 1947 1931 1923 1910 1922 1917 1915
1931 1924 1921 1904 1909 1918 1919 1909 1913 1913
1923 1918 1917 1916 1908 1919 1921 1933 1924 1921
1916 1916 1919 1932 1924 1922 1918 1921 1921 1929
1926 1921 1926 1929 1943 1938 1938 1921 1932 1931
1949 1942 1957 1951 1948 1934 1937 1937 1947 1967
1945 1951 1933 1937 1942 1936 1949 1933 1937 1947
1942 1944 1949 1947 1955 1954 1946 1946 1936 1935
1926 1940 1954 1955 1943 1927 1937 1945 1947 1949
1942 1946 1947 1941 1938 1946 1951 1960 1944 1912
1926 1918 1938 1936 1932 1943 1941 1946 1960 1946
1946 1932 1933 1933 1940 1955 1950 1966 1940 1949
1945 1964 1960 1959 1945 1937 1945 1946 1949 1947
1923 1907 1872 1837 1792 1754 1731 1707 1701 1709
1692 1687 1675 1686 1692 1697 1690 1700 1704 1728
1725 1721 1705 1692 1692 1701 1714 1734 1742 1754
1742 1736 1742 1754 1763 1769 1767 1766 1779 1780
1772 1752 1766 1771 1787 1782 1790 1800 1812 1804
1806 1807 1809 1806 1801 1810 1805 1803 1819 1829
1837 1842 1832 1831 1816 1820 1828 1835 1836 1826
1821 1829 1853 1851 1843 1831 1815 1828 1837 1844
1835 1837 1840 1844 1844 1849 1842 1833 1837 1848
1865 1866 1887 1909 1927 1953 1987 2021 2056 2082
2106 2136 2139 2143 2131 2120 2120 2114 2125 2121
2116 2127 2100 2106 2103 2085 2091 2084 2106 2093
2113 2093 2115 2094 2077 2068 2081 2090 2112 2114
2102 2106 2088 2090 2097 2104 2099 2097 2090 2074
2094 2104 2127 2123 2105 2103 2138 2124 2119 2092
2095 2100 2107 2119 2115 2110 2116 2101 2117 2102
2124 2108 2119 2117 2135 2137 2179 2221 2229 2260
Each electrode is separated by the header in line 1. Is there any way to
successfully import data as formatted above without substantial
re-organization?
Thanks a lot!
-Jason
More information about the eeglablist
mailing list