neo_utils.getmeanspikerateonepoch(seg, epoch_name)¶Compute the mean firing rate on the epoch specified by its name epoch_name
| Parameters: |
|
|---|---|
| Returns: |
|
neo_utils.spiketrainrejectaroundevent(spiketrain, t_event, t_pre, t_post)¶Reject spikes around an event, from a Neo SpikeTrain. Reject spikes occuring in the window [t_event-t_pre < t_reject < t_event+t_post].
| Parameters: |
|
|---|---|
| Returns: |
|
neo_utils.spiketrainselectaroundevent(spiketrain, t_event, t_pre, t_post, shifttime=1)¶Select spikes on a Neo spiketrain occuring before and after an event. Select spikes occuring in the window [t_event-t_pre < t_sel < t_event+t_post]. If shifttime = 1, the spike times are shifted so that t_event is set to 0
| Parameters: |
|
|---|---|
| Returns: |
|
neo_utils.spiketraintimerejection(spiketrain, t_start, t_stop)¶Create a new spiketrain removing the spikes occuring between t_start and t_stop
| Parameters: |
|
|---|---|
| Returns: |
|
neo_utils.spiketraintimesel(spiketrain, t_start, t_stop)¶Time selection on a Neo spiketrain. Select the spikes occuring between t_start and t_stop.
| Parameters: |
|
|---|---|
| Returns: |
|