TheKleinLab / TaskSwitching

An experiment program for looking at how endogenous and exogenous alerting affect speed and accuracy.
0 stars 0 forks source link

Problem with block number in the TaskSwitching protocol #2

Open abidi-wq opened 2 years ago

abidi-wq commented 2 years ago

Hello, I successfully run the whole program, but there is only 2 blocks of 64 trials, however, in the paper of McCormick, they said that participants completed four blocks of 64 trials each. How can I add the two missing blocks please? Best regards, Malek

a-hurst commented 2 years ago

Hi Malek,

Good catch! The number of blocks is specified by the experiment's params.py file in this section here: https://github.com/TheKleinLab/TaskSwitching/blob/e48dccf7238dab05a9adf4756eafc09a57a1fb98/ExpAssets/Config/TaskSwitching_params.py#L33-L40

No idea why it was set to 2 for the GitHub version, I just double-checked our data files and participants did indeed run 4 blocks of 64 trials each, I must have set that locally on the testing computers and forgot to update it in my local development copy... at any rate, changing the blocks_per_experiment field from 2 to 4 in the above file should make it match the version run in the manuscript.

Cheers,

Austin

abidi-wq commented 2 years ago

Hello, many thanks, it works. I have another question please; when I export data, in the signal type colomn, I found only "exo condition", whereas there must be both conditions (exo and endo). what should i do to get both. I need it to compare the RT between conditions.

Thanks

a-hurst commented 2 years ago

Endo/exo is a between-subjects factor, so you need to specify the condition at launch for different participants. It's documented in the README:

To choose which condition to run, launch the experiment with the --condition or -c flag, followed by either exo or endo. For example, if you wanted to run the endogenous signal condition on a computer with a 19-inch monitor, you would run

klibs run 19 --condition endo

If no condition is manually specified, the experiment program defaults to running the exogenous signal condition.

Hope that helps!

abidi-wq commented 2 years ago

Hello, Many thanks.