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

Relax Design Implementation to allow strings? #96

Open
behinger opened this issue Jun 13, 2024 · 0 comments
Open

Relax Design Implementation to allow strings? #96

behinger opened this issue Jun 13, 2024 · 0 comments

Comments

@behinger
Copy link
Member

right now our designs work something like this:

@with_kw struct MultiSubjectDesign <: AbstractDesign
    n_subjects::Int
    n_items::Int
    subjects_between::Dict{Symbol,Vector} = Dict()
    items_between::Dict{Symbol,Vector} = Dict()
    both_within::Dict{Symbol,Vector} = Dict()
    event_order_function = x -> x # can be used to sort, or x->shuffle(rng,x)
end

With Dicts of Symbol/Vector.

Is there a reason we only allow Symbols? Or could we relax this to Symbol/String?

I'm asking because Symbol is not a native Python field, so if calling UnfoldSim from python, that is a bit tricky.

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

No branches or pull requests

1 participant