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

use tsss with mf_st_duration = signal duration #952

Open
SophieHerbst opened this issue May 24, 2024 · 3 comments
Open

use tsss with mf_st_duration = signal duration #952

SophieHerbst opened this issue May 24, 2024 · 3 comments

Comments

@SophieHerbst
Copy link
Collaborator

We have a dataset with specific artifacts, and are trying to apply tsss with mf_st_duration set to the signal duration. The problem is that the resting state run is much shorter than the experimental run, and we cannot set one duration that fits all signals.
What would be the best fix for this?
Can we set two versions of the mf_st_duration per task?
Thanks in advance!

@larsoner
Copy link
Member

One option would be to internally use min(st_duration, raw.times[-1]) and document that behavior. Then in your code you could set st_duration = 10000 or whatever and it would automatically be trimmed to the duration of each run.

@SophieHerbst
Copy link
Collaborator Author

For now we decided to use the duration of the resting state run. Would it be worth making the use of raw.times[-1] a config option?

@larsoner
Copy link
Member

Rather than explicitly making that an option I would follow my comment one above ☝️ where you can just set st_duration=10000 or whatever

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