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

Weird plots from running tuning curve fitting #117

Open
hummuscience opened this issue Sep 18, 2020 · 0 comments
Open

Weird plots from running tuning curve fitting #117

hummuscience opened this issue Sep 18, 2020 · 0 comments

Comments

@hummuscience
Copy link

I am fairly new to tuning curves and decoding and I wanted to try out spykes.

When I plot the fits, the curves are not aligned with the data. The first seem to assume an x-axis starting at 0 while the data is 25-41. Is it assumed that the x-variable has to be scaled before use? Somehow the x-axis is always labelled with radians as if it is hard-coded.

Screenshot 2020-09-18 at 07 42 04

I put the data including the ipynb notebook I used in a ZIP archive:
tuning.zip

I ran it again, with scaling the x-varible, things are looking better, plot-wise but I am not sure the fit is working well.

Screenshot 2020-09-18 at 07 46 27

It might be that I have too little data to calculate tuning curves (deconvoluted calcium traces)

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

No branches or pull requests

1 participant