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

Mismatch between line and carpet plots in fMRIPlot #81

Open
tsalo opened this issue Dec 6, 2023 · 4 comments
Open

Mismatch between line and carpet plots in fMRIPlot #81

tsalo opened this issue Dec 6, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@tsalo
Copy link
Contributor

tsalo commented Dec 6, 2023

What happened?

The line plot and carpet plot don't quite line up in the fMRIPlot output.

What command did you use?

This comes from the ds005 test in nipreps/fmriprep#3172.

What version of fMRIPrep are you running?

23.2.0.dev279+gef7be7ce

How are you running fMRIPrep?

Docker

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

No response

Additional information / screenshots

image

I've added vertical black lines to some of the more obvious peaks and troughs, to highlight how the location relative to the carpet plot changes. Also the line ends after the end of the carpet plot.

@tsalo tsalo added the bug Something isn't working label Dec 6, 2023
@effigies
Copy link
Member

effigies commented Dec 6, 2023

Fair point, and we can try to line them up better. Note that this effect will diminish as the number of time points increases.

@tsalo
Copy link
Contributor Author

tsalo commented Dec 6, 2023

True. It's just very noticeable when I use it on ASL data, which typically doesn't have as many volumes.

@tsalo
Copy link
Contributor Author

tsalo commented Dec 8, 2023

@effigies sorry, I realized that the fMRIPlot code is actually in niworkflows. Would you mind transferring this issue?

@effigies
Copy link
Member

effigies commented Dec 8, 2023

It's being moved to nireports, anyway. I'll transfer there.

@effigies effigies transferred this issue from nipreps/fmriprep Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants