Skip to content

add inh poisson model for spikes - #701

Open
leoscholl wants to merge 6 commits into
masterfrom
accllr-spike
Open

add inh poisson model for spikes#701
leoscholl wants to merge 6 commits into
masterfrom
accllr-spike

Conversation

@leoscholl

Copy link
Copy Markdown
Collaborator

No description provided.

@leoscholl
leoscholl requested a review from rcanfield2 August 7, 2025 19:49
Comment thread aopy/analysis/latency.py Outdated
Comment on lines +286 to +287
rate1: (nt,) array, mean rate for model 1 (Hz)
rate2: (nt,) array, mean rate for model 2 (Hz)

@rcanfield2 rcanfield2 Aug 9, 2025

Copy link
Copy Markdown
Collaborator

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 rcanfield2 left a comment

Copy link
Copy Markdown
Collaborator

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?

Comment thread aopy/analysis/latency.py Outdated
Comment on lines +290 to +291
rate1: (nt,): rate model 1
rate2: (nt,): rate model 2

Copy link
Copy Markdown
Collaborator

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"

Comment thread 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):

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator Author

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 rcanfield2 left a comment

Copy link
Copy Markdown
Collaborator

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

@rcanfield2
rcanfield2 self-requested a review October 30, 2025 20:47
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

Successfully merging this pull request may close these issues.

2 participants