Skip to content

Accessing the general closed-loop workflow from theorist/experimentalist in a module #453

Closed Answered by hollandjg
Vinwcent asked this question in Module Contributions
Discussion options

You must be logged in to vote

Hi @Vinwcent , the easiest way to do that today is to use the cycle history:
https://autoresearch.github.io/autora/user-guide/workflow/interactive/Accessing%20State%20Dependent%20Properties/

Long story short: you can pass special variables to the "params" argument of the cycle, which are resolved to the observations and conditions each cycle.

For example, here we define a cycle where the experimentalist gets all the observed IVs "%observations.ivs%" each cycle:

cycle_with_state_dep_properties = Cycle(
    variables=variables,
    theorist=example_theorist,
    experimentalist=unobserved_data_experimentalist,
    experiment_runner=example_synthetic_experiment_runner,
    params={
        "…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chadcwilliams
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants