Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encapsulate trial params #286

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pellet
Copy link
Contributor

@pellet pellet commented Dec 7, 2024

This is an example of the idea I had to encapsulate the parameters being passed into the BaseExperiment class.
We could do something similar with options related to presenting the experiment window.
This change organizes the trial options so they will be grouped together separate from the other parameters.
It will reduce the number of arguments being passed into the BaseExperiment init method.
Any ideas on how to organize the trial option dataclass will be appreciated - it seems the BaseExperiment class and accompanying trial options are suited for 'Event Related' experiments. Some modifications may be needed to better support 'Block' and 'Continuous' experiments such as the resting state experiment @tmorshed had created.
The PR is not ready to merge, I haven't tested it yet - more here to start a conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant