Skip to content

Estimation of single-trial activity #209

Answered by behinger
abelowska asked this question in Q&A
Discussion options

You must be logged in to vote

Great!

I recommend the internal function "singletrial" from UnfoldDecode.jl

get overlap free single trails

X_train = singletrials(data, uf_model, events, "response", "type" )

Just in case you want to do decoding on overlap corrected trials, that package would already implement one algorithm to do so. One issue: it is not yet registered, you have to install it via Pkg.add(url="https://github.com/unfoldtoolbox/UnfoldDecode.jl"). Unfold decode is unfortunately not yet as polished as unfold, but what you want to do is also not the standard case so that is fine I guess :-)

If you want to put the pieces together yourself, you can use predict with keep/remove basis to exclude/keep certain eventt…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@abelowska
Comment options

@behinger
Comment options

Answer selected by behinger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants