cuewire.experiments.sample_experiment
Minimal pre-exp + exp run controlled from a TOML config.
Functions
|
Execute the sample experiment defined by spec. |
- cuewire.experiments.sample_experiment.run(spec: Mapping[str, Any]) Path[source]
Execute the sample experiment defined by spec.
- Required TOML keys:
port (str), output_dir (str), filename_stem (str), animal_id (str), animal_length (str), exp_name (str), other (str), exp_duration_s (float), pre_exp_duration_s (float), led_pattern (str), led_mode (str), led_period_s (float), led_sin_factor (int), led_sin_period_s (float).
Returns the path to the log file that was written.