Skip to content

Weird plots from running tuning curve fitting #117

Description

@hummuscience

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)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions