Addressing #44 and #25 , This PR adds a trial_outcome to the xarray data, and changes the photometry figures to plot according to the trial outcome. The definition of the sub-type of trial_outcome depends heavily on the task and is defined in the compute_trial_outcome function.
This PR also introduce change to use zscored value from photometry for plotting
Please suggest anything that needs to be further improved.
Addressing #44 and #25 , This PR adds a
trial_outcome
to the xarray data, and changes the photometry figures to plot according to the trial outcome. The definition of the sub-type oftrial_outcome
depends heavily on the task and is defined in thecompute_trial_outcome
function.This PR also introduce change to use zscored value from photometry for plotting
Please suggest anything that needs to be further improved.
Sample output from the break2 task: