tjmahr / lookr

Scripts for looking-while-listening and visual-world eyetracking experiments
Other
7 stars 2 forks source link

figure out what columns/attributes are needed for each function #22

Closed tjmahr closed 6 years ago

tjmahr commented 8 years ago

In order to make the package more usable with other data, we need to figure out what assumptions are made about the data in each function. For example, we assume there's a column called Time in the looking data of each Trial object. So our generic Trial(...) function has make sure there's a Time column.

For this issue, I'll be documenting which ones I find. And whether they can be factored out or how they might be handled.

tjmahr commented 8 years ago
trial$Time, time in ms
trial$XMean, monocular mean of x location in screen proportions
trial$YMean, monocular mean of y location in screen proportions
trial %@% "Subject", subject id
trial %@% "Basename", name of experiment administration/block
trial %@% "TrialNo", trial number, within Basename
trial %@% "Task", type of experiment. Used for selecting AOIs. Factor out.
trial %@% "Protocol", supertype of experiment. Used for setting times in our lab's files. Factor out.
lwl_constants$ms_per_frame, frame rate of eyetracker
lwl_constants$l2t_subject, regular expression for subj ids in our lab
lwl_constants$l2t_subject_dir, another regular expression
lwl_constants$screen_width, lwl_constants$screen_height, size of eyetracking display
tjmahr commented 6 years ago

Nope. lookr is going into long-term maintenance mode. The next package can be more general.