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

Why this value is choosen for x and y range of interpolation. freq = interp(pot[l][m], [-1.069,2.781], [1,20]) Is there any particular reason ? #20

Open
nethajiak opened this issue May 15, 2021 · 1 comment

Comments

@nethajiak
Copy link

      #calculating firing rate proportional to the membrane potential
        freq = interp(pot[l][m], [-1.069,2.781], [1,20])
        #print(l,m,pot[l][m], freq)
        # print freq

Could anyone please elaborate more about the spike_train.py and recep_field.py code. I could not get it properly .

@SkyWorld117
Copy link

I think he just chose these two numbers to set the frequency in a specific range. You can plot the function to see the range visually. I've done a few experiments myself and in fact, you can modify the numbers as long as they are still meaningful.

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

2 participants