Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Binary response to plots #12

Open
cawarwick opened this issue May 17, 2023 · 2 comments
Open

add Binary response to plots #12

cawarwick opened this issue May 17, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cawarwick
Copy link
Collaborator

cawarwick commented May 17, 2023

In the plotting module add a function to look for the MaxResponse CSV and indicate whether the stimulus had a response or not.
e.g. when you're flipping through traces it would indicate on the graph itself whether the stimulus met response criteria, would be useful in validating thresholds and as a QC when looking at the data in general.

Psuedocode

Within the plot function where it's plotting the names of each stimuli, add this within the loop

try import maxresponseP0.csv
For this stim [i]
      Find value of Stim[i] from maxresponse
               if Stim[i]==0
                        don't add anything the graph
               else
                    Add text at stimwindow of stim[i] ##e.g. the amplitude of response, or maybe just a * to make it simple
                 
@cawarwick cawarwick added the enhancement New feature or request label May 17, 2023
@Milamber64
Copy link
Collaborator

Change the color of the threshold tick mark to a different color to indicate a response

@AbbyCui
Copy link
Owner

AbbyCui commented Jul 8, 2024

will have to run another iteration of Plot.py after running MaxResponse.
Can change the color or the threshold in Plot.py
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants