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

Check sliding time window length in variation regressors #14

Open
jrasero opened this issue Oct 11, 2021 · 2 comments
Open

Check sliding time window length in variation regressors #14

jrasero opened this issue Oct 11, 2021 · 2 comments

Comments

@jrasero
Copy link
Member

jrasero commented Oct 11, 2021

No description provided.

@jrasero
Copy link
Member Author

jrasero commented Oct 11, 2021

@jrasero
Copy link
Member Author

jrasero commented Oct 13, 2021

A new argument time_window has been added to the Variation models, with a default value of 6 s (i.e. a 3*T_R window for a common T_R=2 s). What it does is to take that window length, center at each T_R time tick, to compute both the standard deviation in signal and the differences between events inside the window.

In this way, we have some flexibility and could avoid some problematic scenarios that happened due to the time window being defined in terms of the T_R. For example, for fast acquisitions like the human connectome (T_R=0.72 s) the time window was very narrow, so many times, particularly with variations in heart rate, there was be just one or none events in that window, and therefore non regressors were produced for this case.

Curious to know your thoughts on this @timothyv, @coaxlab0

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

1 participant