Is your feature request related to a problem? Please describe.
When computing an event triggered average, we might want to censor data that happens after a second event (like the next reward, or a subsequent stimulus).
Describe the solution you'd like
The event triggered response function should accept an optional argument censor, which defaults to None. Options include either the string self meaning to censor on subsequent events of the same type we are aligning to, or a list of times to censor. Note that we want to censor both forward and backwards in time.
Partially resolves by #39, which allows the user to censor based on subsequent events of the same type. However we should be able to pass in a list of times to censor on.
Is your feature request related to a problem? Please describe. When computing an event triggered average, we might want to censor data that happens after a second event (like the next reward, or a subsequent stimulus).
Describe the solution you'd like The event triggered response function should accept an optional argument
censor
, which defaults toNone
. Options include either the stringself
meaning to censor on subsequent events of the same type we are aligning to, or a list of times to censor. Note that we want to censor both forward and backwards in time.