-
Notifications
You must be signed in to change notification settings - Fork 0
add inh poisson model for spikes #701
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
base: master
Are you sure you want to change the base?
Conversation
aopy/analysis/latency.py
Outdated
| rate1: (nt,) array, mean rate for model 1 (Hz) | ||
| rate2: (nt,) array, mean rate for model 2 (Hz) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If these are just mean rates, should they be arrays or float/ints?
rcanfield2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just add some labels to your plots?
aopy/analysis/latency.py
Outdated
| rate1: (nt,): rate model 1 | ||
| rate2: (nt,): rate model 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a little more description to these. I'm not sure what the description means and how it is different from "spike_trial"
aopy/precondition/base.py
Outdated
| binned_spikes = binned_spikes/bin_width # convert from [spikes/bin] to [spikes/s] | ||
| return binned_spikes | ||
|
|
||
| def smooth_spike_raster(raster, fs, smoothing_window=0.005): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this different from aopy.postproc.smooth_timeseries_guas()?
https://analyze.readthedocs.io/en/latest/postproc.html#aopy.postproc.base.smooth_timeseries_gaus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they are the same! thanks for finding that
rcanfield2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a couple comments/questions
No description provided.