tjmahr / lookr

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

generic Trial and TrialList functions #21

Closed tjmahr closed 8 years ago

tjmahr commented 8 years ago

Everything right now assumes that data was created in our lab using Eprime and Tobii eye-trackers. Create an alternative route of data-input using generic Trial and TrialList functions.

Trial will combine the looking data and experimental attributes for one trial and output a Trial object. TrialList will do the same on data from several trials and out a TrialList object (a list of Trial objects). The only tedious part will be confirming that the attributes and column names called on in later methods are defined early on.

When it comes to working on the eye-tracking data, we only really care about Trial and TrialList objects. All of our methods are defined in trios, like: InterpolateMissingFrames (S3 generic), InterpolateMissingFrames.Trial and InterpolateMissingFrames.TrialList.

tjmahr commented 8 years ago

Lol, I was in such an RStudio mode that I accidentally posted my comment by highlighting all the text in it and hitting CTRL+Enter to execute my comment. And it posted!

tjmahr commented 8 years ago

converting to milestone