a-hurst / eyelinker Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dahtah/eyelinker
An R package for importing data from EyeLink ASC files
License: GNU General Public License v3.0
This project forked from dahtah/eyelinker
An R package for importing data from EyeLink ASC files
License: GNU General Public License v3.0
Hi Austin,
I'm using eyelinker version 0.2.0. (reinstalled today) to read data from an Eyelink 1000 (https://tsgdoc.socsci.ru.nl/index.php?title=Eyetrackers#EyeLink_1000).
If I use read.asc to read my raw data, I get the following warning:
In process_raw(inp[is_raw], block[is_raw], info) :
Unknown columns in raw data. Assuming first one is time, please check the others
What happens is that the sacc, fix, blinks, msg, and info tibble all look fine (I don't use input or button), but the raw tibble is empty:
> dat$raw
# A tibble: 1 x 8
block time X1 X2 X3 X4 X5 X6
<dbl> <int> <lgl> <lgl> <dbl> <lgl> <lgl> <dbl>
1 1 18551731 NA NA 0 NA NA 0
> dat$sacc
# A tibble: 138 x 11
block stime etime dur sxp syp exp eyp ampl pv eye
<dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <fct>
1 1 18542043 18542064 22 880. 571. 829. 632. 1.28 129 R
2 1 18542634 18542647 14 869. 594. 924. 612. 0.92 86 R
3 1 18543202 18543220 19 919. 604. 871. 574. 0.92 72 R
4 1 18545827 18545838 12 895. 576. 937. 567. 0.69 65 R
5 1 18546877 18546893 17 934. 542. 863. 573 1.23 96 R
6 1 18547437 18547451 15 896. 572. 952. 556. 0.93 89 R
7 1 18547935 18548271 337 923. 596. 943. 564. 0.61 833 R
8 1 18548571 18548578 8 938. 550. 916. 556. 0.37 51 R
9 1 18550304 18550309 6 892 581. 906. 585. 0.23 38 R
10 2 18555296 18555309 14 934. 520 894 511. 0.65 61 R
# ... with 128 more rows
Any idea how this happens and how to fix it? Thanks already for any pointers!
I used your package about a year ago (May 2019) on data from the same eye-tracker, and everything worked fine---has there been any major update in the package? Unfortunately I can't find back the version I used back then.
Below the first rows of the raw data file:
** CONVERTED FROM s_05_46.EDF using edfapi 3.1 Win32 Jul 4 2014 on Wed Jul 08 16:37:21 2020
** DATE: Wed Jul 8 16:32:49 2020
** TYPE: EDF_FILE BINARY EVENT SAMPLE TAGGED
** VERSION: EYELINK II 1
** SOURCE: EYELINK CL
** EYELINK II CL v4.594 Jul 6 2012
** CAMERA: EyeLink CL Version 1.4 Sensor=BFF
** SERIAL NUMBER: CL1-ACA28
** CAMERA_CONFIG: ACA28140.SCD
**
MSG 18541614 RECCFG CR 1000 2 1 R
MSG 18541614 ELCLCFG MTABLER
MSG 18541614 GAZE_COORDS 0.00 0.00 1919.00 1079.00
MSG 18541614 THRESHOLDS R 69 207
MSG 18541614 ELCL_PROC CENTROID (3)
MSG 18541614 ELCL_PCR_PARAM 5 3.0
START 18541615 RIGHT SAMPLES EVENTS
PRESCALER 1
VPRESCALER 1
PUPIL AREA
EVENTS GAZE RIGHT RATE 1000.00 TRACKING CR FILTER 2
SAMPLES GAZE RIGHT RATE 1000.00 TRACKING CR FILTER 2
MSG 18541615 !MODE RECORD CR 1000 2 1 R
18541615 885.2 558.9 1528.0 ...
18541616 885.4 557.4 1526.0 ...
18541617 885.5 556.4 1524.0 ...
18541618 885.2 556.2 1524.0 ...
18541619 884.7 555.9 1524.0 ...
18541620 883.9 556.8 1525.0 ...
Hi there, I am experiencing a weird issue with the read.asc function. It has been working a couple of days ago and then suddenly stopped to do so.
I use the following function to open my eyertracking data that I converted into an ASC file:
`> test_dat <- read.asc("example_file.asc")'
And I keep receiving this error:
Error in read.asc("example_file.asc") : could not find function "read.asc"
I am using R Studio 2023.06.1+524 and am running it on a Macbook with M1 chip with macOS Monterey (12.1).
I would be very thankful for any recommendations about what the issue could be. Thanks a lot in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.