visigoth.Experiment.sync_remote_params

Experiment.sync_remote_params()[source]

Update eyetracking params using values from the remote client.

A note about the scalability of this method: ultimately, we’d like to be able to change any parameters on the client side. Currently we only know how to handle a subset of parameters that pertain to eye-tracking. These are not that cleanly handled anyway, as the offsets “belong” to the eyetracker, but the fixation window size doesn’t. Maybe it should?

Also worth noting that elsewhere, the “params” are considered to be run-specific and are only saved out at the end. Maybe we want to save some kind of “params delta” file, as it doesn’t seem worthwhile to write out the (mostly static) set of params on every trial. Experiment code can be written to log parameters in the trial info anyway.