Skip to content
Discussion options

You must be logged in to vote

Hi @vargamartonaron, sorry for the slow response!

I could be wrong, and hopefully @jodeleeuw will correct me if so, but I'm pretty sure the timeline_variables array can't be modified dynamically after the experiment has started. Have you looked at whether you could use a custom sampling function to achieve what you're after here? The custom sampling function receives an argument t which is "an array of integers from 0 to n-1, where n is the number of trials in the timeline_variables array", and the function should return an array of indices that specifies the order of the trials. So maybe you could stick all of your stimulus information into a single array, pass that to timeline_variables,…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vargamartonaron
Comment options

@vargamartonaron
Comment options

Answer selected by vargamartonaron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants