Data extraction from edat file
David McFarlane
mcfarla9 at msu.edu
Thu Jul 29 20:55:52 UTC 2010
Again for the record, I just want to add a plug
for using the Analyze facility built into
E-DataAid. This does a nice job of handling a
variety of basic descriptive statistics for
initial looks at the data, and with proper use
does a marvelous job of organizing data for
export to other analysis programs. Please study
the E-DataAid sections of the Getting Started
Guide, User's Guide, and Reference Guide that
come with E-Prime. As I have said before, it is
almost worth getting E-Prime just for for its
data handling capabilities, which are sadly much overlooked.
-- David McFarlane, Professional Faultfinder
At 7/6/2010 10:36 AM Tuesday, Michiel Spape wrote:
>To add to this, and also not able to provide
>many tips, I'd suggest merging the files first,
>THEN exporting. But I suppose that might be too obvious.
>
>Anyway, in Matlab, it's pretty easy to just
>import the whole lot as text format. I think I
>still have some matlab code, if you need it:
>
>names=0;
>Filenames{1}='Collision 1i-201-1.gazedata';
>
>nSubjects = size(Filenames,2);
>
>for cSubject = 1: nSubjects
>
> disp(['Subject ' num2str(cSubject) ' of '
> num2str(nSubjects) ' reading data']);
> [EyeData.Subject,EyeData.Session,
> EyeData.ID, EyeData.TETTime, EyeData.RTTime,
> EyeData.CursorX, EyeData.CursorY,
> EyeData.TimestampSec,
> EyeData.TimestampMicrosec,
> EyeData.XGazePosLeftEye,
> EyeData.YGazePosLeftEye,
> EyeData.XCameraPosLeftEye,
> EyeData.YCameraPosLeftEye,
> EyeData.DiameterPupilLeftEye,
> EyeData.DistanceLeftEye,
> EyeData.ValidityLeftEye,
> EyeData.XGazePosRightEye,
> EyeData.YGazePosRightEye,
> EyeData.XCameraPosRightEye,
> EyeData.YCameraPosRightEye,
> EyeData.DiameterPupilRightEye,
> EyeData.DistanceRightEye,
> EyeData.ValidityRightEye, EyeData.Subject,
> EyeData.TrialNum, EyeData.WhichTask,
> EyeData.Proc, EyeData.StartPosModCue,
> EyeData.StartPosModTarget,
> EyeData.DistractorHidden,
> EyeData.TargetHitsCue,
> EyeData.DistractorHitsCue, EyeData.Phase,
> EyeData.TaskTime, EyeData.ACC, EyeData.RT,
> EyeData.TargetX, EyeData.TargetY, EyeData.CueX,
> EyeData.CueY, EyeData.DistractorX,
> EyeData.DistractorY]=textread(Filenames{cSubject},
> '%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f
> %f %f %f %f %f %f %f %f %f %f %s %s %f %f %f %f
> %f %s %f %f %f %f %f %f %f %f %f', 'delimiter', '\t','headerlines',1);
>End
>
>
>%Notice that Filenames here only contains one.
>Furthermore, these gazedata files are Tobii text
>files, pretty much the same as exported .edat
>files. \t is tab-based delimiter, and the whole
>lot is imported in various variable names in MatLab.
>
>Hope that helps, sorry for the difficult-to-read
>code (matlab does that, I find).
>Cheers,
>Mich
>
>Michiel Spapé
>Research Fellow
>Perception & Action group
>University of Nottingham
>School of Psychology
>
>-----Original Message-----
>From: e-prime at googlegroups.com
>[mailto:e-prime at googlegroups.com] On Behalf Of liwenna
>Sent: 06 July 2010 13:00
>To: E-Prime
>Subject: Re: Data extraction from edat file
>
> From or to matlab?
>
>I always export my data to a .txt file (file > export > export to
>statview and spss > untick the unicode option) in edat and the
>resulting .txt file I then import in SPSS.
>
>Tried anything like that?
>
>Best,
>
>AW
>
>On Jul 5, 9:57 pm, ulli <urimm... at gmail.com> wrote:
> > Hi all,
> >
> > is there an easier way than copy paste to extract your data from an
> > edat file? has anyone of you achieved to make this process automatic,
> > e.g. have the data read in automatically from Matlab?
> >
> > any help would be appreciated!
> >
> > thanks a lot!
> > Ulrike
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list