Skip to content

Conversation

@leoscholl
Copy link
Collaborator

No description provided.

@leoscholl leoscholl requested a review from rcanfield2 August 7, 2025 19:49
Comment on lines 286 to 287
rate1: (nt,) array, mean rate for model 1 (Hz)
rate2: (nt,) array, mean rate for model 2 (Hz)
Copy link
Collaborator

@rcanfield2 rcanfield2 Aug 9, 2025

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?

Copy link
Collaborator

@rcanfield2 rcanfield2 left a 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?

Comment on lines 290 to 291
rate1: (nt,): rate model 1
rate2: (nt,): rate model 2
Copy link
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"

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
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
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

Copy link
Collaborator

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

@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.

3 participants