Skip to content

feat: add columns for anti bias intervention to trials table and qc plot - #53

Open
arjunsridhar12345 wants to merge 8 commits into
devfrom
52-add-columns-for-anti-bias-intervention-to-trials-table
Open

feat: add columns for anti bias intervention to trials table and qc plot#53
arjunsridhar12345 wants to merge 8 commits into
devfrom
52-add-columns-for-anti-bias-intervention-to-trials-table

Conversation

@arjunsridhar12345

@arjunsridhar12345 arjunsridhar12345 commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

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

@arjunsridhar12345
arjunsridhar12345 marked this pull request as ready for review July 30, 2026 01:12
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)")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we do the conventional right is red and blue is left for these marks?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tried to address in cd288b5

@alexpiet

Copy link
Copy Markdown

Can you post an example plot and trials table?

@arjunsridhar12345

Copy link
Copy Markdown
Collaborator Author

Can you post an example plot and trials table?

image

864253_2026-07-17_19-28-27_trial_table.csv

Used this session: 864253_2026-07-17_19-28-27. Seems like anti_bias_left_water and anti_bias_right_water have all False values, and anti_bias_lickspout_movement has all 0 values. I think though this session had bias intervention. Will try to look more to see if there's any issues

@alexpiet

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants