Skip to content
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

Calculate features after stim_end (e.g. rebound spikes) #161

Open
elisabettai opened this issue Nov 12, 2019 · 1 comment
Open

Calculate features after stim_end (e.g. rebound spikes) #161

elisabettai opened this issue Nov 12, 2019 · 1 comment

Comments

@elisabettai
Copy link

I would like to calculate features in certain (configurable) time window after stim_end. I am attaching an example trace, where there are five spike after the end of the stimulus (stimulus ends at 3250 ms).
rebound.txt

image

One obvious way would be to set stim_start and stim_end to 3250 and 3500 ms for the trace above for calculating the features. However, I don't think this would work during optimization, because stim_start and stim_end are used to create the stimulus (and in this case they should be 250 and 3250 ms).

What would be the best approach here? Should we just create new features, e.g. "Spikecount_rebound", "time_to_first_spike_rebound", etc...? Or maybe add an option to detect features between stim_end and stim_end + user_defined_time_after_stim_end?

@wvangeit
Copy link
Contributor

I wonder if it wouldn't be possible to create an eFELFeature object with the adapted stim_start/stim_end.
Adding all these new features for _rebound seems to be a bit overkill.

ilkilic pushed a commit that referenced this issue Dec 8, 2023
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

No branches or pull requests

2 participants