I am new to PsPM. I am interested in how people respond to two types of event, call them A and B. I have two text files each with two columns. The first file has "timestamp" and "skin conductance" columns and the frequency of observations is 128Hz. The second file has "timestamp" and "event type" where event type is “A” or “B”. One row represents one event and there is an arbitrary length of time between events.
I am not sure how I should format this data so that I can import it into PsPM. From reading the manual I think I need to merge the two files so that I have one file with three columns: “timestamp”, “skin conductance” and “marker”. Is this right? If so, what should I put in the marker column. Could I use 0 for no event, 1 for event A, and 2 for event B? Or should I do something else?
I am also not sure if I also need a conditions file and if so what I should put in it. Supposing participants saw event A twice followed by event B three times, should the conditions file be names = {‘event a’, ‘event b’}, onsets={[1,2],[3,4,5]}?
Any pointers much appreciated.
Last edit: lindsal 2018-10-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can import these data by either (1) bringing both into one matlab or text file, or (b) importing them separately and merging in PsPM. The timestamp information is not required, PsPM will ask you for the sample rate instead.
Your condition definition is correct if your time units are 'markers'.
Hope this helps.
Dominik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to PsPM. I am interested in how people respond to two types of event, call them A and B. I have two text files each with two columns. The first file has "timestamp" and "skin conductance" columns and the frequency of observations is 128Hz. The second file has "timestamp" and "event type" where event type is “A” or “B”. One row represents one event and there is an arbitrary length of time between events.
I am not sure how I should format this data so that I can import it into PsPM. From reading the manual I think I need to merge the two files so that I have one file with three columns: “timestamp”, “skin conductance” and “marker”. Is this right? If so, what should I put in the marker column. Could I use 0 for no event, 1 for event A, and 2 for event B? Or should I do something else?
I am also not sure if I also need a conditions file and if so what I should put in it. Supposing participants saw event A twice followed by event B three times, should the conditions file be names = {‘event a’, ‘event b’}, onsets={[1,2],[3,4,5]}?
Any pointers much appreciated.
Last edit: lindsal 2018-10-26
Hi.
You can import these data by either (1) bringing both into one matlab or text file, or (b) importing them separately and merging in PsPM. The timestamp information is not required, PsPM will ask you for the sample rate instead.
Your condition definition is correct if your time units are 'markers'.
Hope this helps.
Dominik