feat: add columns for anti bias intervention to trials table and qc plot - #53
Conversation
| plotted = True | ||
| if anti_bias_left_water is not None: | ||
| left = np.where(np.asarray(anti_bias_left_water, dtype=bool))[0] | ||
| ax.vlines(left, -1.0, -0.9, color="cyan", linewidth=1, label="Anti-bias water (L)") |
There was a problem hiding this comment.
should we do the conventional right is red and blue is left for these marks?
|
Can you post an example plot and trials table? |
864253_2026-07-17_19-28-27_trial_table.csv Used this session: 864253_2026-07-17_19-28-27. Seems like |
|
Probably unrelated to this PR, but why on trial 21 did the lickspout y1,y2 values increase by .2, and then decrease again? @micahwoodard @arjunsridhar12345 |
I didn't check the raw hardware logs
|
|
@arjunsridhar12345 This is looking good. One modification. Can you put the markers for the lickspout near the side bias = 0 horizontal line. Make the markers that move the lickspout to the left (like in this example) as arrows under-neath the y=0 line and make them triangles that point downwards. Make the markers that move the lickspout to the right as arrows above the y=0 line and make them triangles that point upwards. Here is an example ( I didn't remove the old markers, but you should) EDIT: |
|
Can you also color the auto-water markers in the 3rd row a dark blue if they are anti-bias intervention autowater? |
* feat: update the columns in the trials table from the acquisition software (#63) * feat: add additional columns from acquisition * test: update tests * docs: update trial table docs with changelog and updates * feat: add columns for anti bias intervention to trials table and qc plot (#53) * feat: add anti-bias intervention to trial table and qc plot * test: update tests * docs: update trial table doc * chore: fix linting * fix: restore changes lost in merge conflict * refactor: use convention red for right and blue for left * feat: add ticks for anti bias in lickspout plot * feat: add ticks to side bias plots and adjust color





Attempts to close #52. Tries to add anti bias intervention columns to the trials table, and add tick marks to the side bias plot for anti bias intervention