Describe the bug
In Anatomist windows, the label of the T axis is inconsistent: sometimes it displays the index of the volume, sometimes it displays the “time” of acquisition (index × TR).
To Reproduce
Steps to reproduce the behavior:
Open a 4D image that has a non-unit TR (i.e. for Nifti, pixdim[4] != 1). (example in NeuroSpin: /neurospin/tmp/yleprince/4d.nii.gz)
Open two Axial windows showing this image
In window 1, scroll the T axis: on top of the axis the “time” is displayed (a multiple of TR)
Click on the image to position the cursor on the current time step
In window 2, on top of the T axis the index is displayed (an integer value).
Expected behavior
Depending on the use-case both the index and the “time” are useful (e.g. DWI vs fMRI): in my opinion the T axis should always display the index, whereas the cursor position displayed in the status bar should continue to display the “time”.
Describe the bug In Anatomist windows, the label of the T axis is inconsistent: sometimes it displays the index of the volume, sometimes it displays the “time” of acquisition (index × TR).
To Reproduce Steps to reproduce the behavior:
/neurospin/tmp/yleprince/4d.nii.gz
)Expected behavior Depending on the use-case both the index and the “time” are useful (e.g. DWI vs fMRI): in my opinion the T axis should always display the index, whereas the cursor position displayed in the status bar should continue to display the “time”.
Screenshots
Environment: