Saving multiple EDF files within one experiment, using PyGaze init inline instead of plug-in
I was wondering whether it's possible to use PyGaze init() within an inline script, just as the old Eyelink init function can do:
libeyelink.init(experiment, resolution, data_file=u'default.edf', fg_color=(255, 255, 255), bg_color=(0, 0, 0), saccade_velocity_threshold=35, saccade_acceleration_threshold=9500, force_drift_correct=False)
We want to create multiple EDF files within one session, using different filenames depending on variables in the inline script. As I understand now, using PyGaze you can only give a name to the EDF file at the start of the experiment, which would mean we have to start and stop Opensesame for each run within the experiment.
I realise we could start recording continuously throughout all the runs and later on reconstruct the run types, however, if something goes wrong within a 2hour recording session, all data is lost.
Any comments, tips are welcome!
Joanne & Anouk