I hope that someone can give me an answer to a basic question concerning a beginners problem with psychopy. I want to save the output of an reaction time experiment in an excel file. I managed to do that, but I do have the problem, that I can't get the values in the right order (meaning they are not written in the columns in the excel file which I want them to be written in). My code looks similar to this:
> save data for this loop Uebungsblock_1.saveAsExcel(filename + '.xlsx', sheetName='Uebungsblock_1',
> stimOut=['Block','Trial','Task','Stimulus','Correct_Response'],
> dataOut=['RT_raw', 'RT_mean', 'Error_raw'])
[1] I want that in the excel file the "dataOut" is given out in the same order as I coded it. But it always stores the data in an alphabetical order (first 'Error_raw' [Column F in Excel] then 'RT_raw' [Column G in Excel] and lastly 'RT_mean' [Column H in Excel]).
It would be really great if someone could help me with that.
[2] I also would like to mix the order of outputs of parameters and datas. For example I would like to order excel to start with a parameter (eg. 'Block' in column "A") after that a dataOut (eg. 'RT_raw' in column "B") and after that another parameter (eg. 'Task' in column "C"). I am not quite sure if this is possible, but if it was I would really appreciate it if someone could tell me how to do it.
[3] My last question is about appending data to one existing excel sheet. If I already have created one excel-sheet eg. "Uebungsblock_1" is it possible to tell Psychopy to append new data to this sheet or does it just overwrite it or create a "Uebungsblock_11" sheet?
Thanks for helping me out!