Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

importeyes.m 749 B

12345678910111213141516171819202122
  1. function [eyemat] = importeyes(actname);
  2. % Reads .edf to .mat file -- requires edf2mat toolbox
  3. % Extend as needed to include more Eyelink outputs/events/info
  4. % Data are in: ['P:' filesep 'ARC-Studies' filesep 'Pingball EEG' filesep
  5. % 'eye movements' filesep 'eyelink' filesep]
  6. % This script creates .mat in same folder where .edf are -> copy them first
  7. mdat=[];
  8. actfile=[actname '.edf'];
  9. dat = Edf2Mat(actfile);
  10. mdat.evt=dat.Events.Messages.info;
  11. mdat.evT=dat.Events.Messages.time;
  12. mdat.x=dat.Samples.posX;
  13. mdat.y=dat.Samples.posY;
  14. mdat.p=dat.Samples.pupilSize;
  15. mdat.time=dat.Samples.time;
  16. mdat.efix=dat.Events.Efix;
  17. eyemat=[actname '.mat']
  18. save(eyemat, 'mdat');
  19. end