Chris Markiewicz
Chris Markiewicz
I wouldn't call it a bug, but a design decision. The goal was to preserve the RAS coordinate of the central voxel, as opposed to the central point, which could...
If we resample an image from one space (affine + shape) to another, what we will do is take the $(i, j, k)$ coordinates in the target volume, convert to...
Perhaps better to say, if we resample from one space to another, we map into RAS, transform from the target RAS to the source RAS, and then map into the...
> ```python > img_r1 = nib.Nifti1Image(aa_resample.astype(np.int16), affine_nibabel_resample) > nib.save(img_r1,'test_2iso_nibabel.nii') > > img_r2 = nib.Nifti1Image(aa_resample.astype(np.int16), affine_corrected) > nib.save(img_r2,'test_2iso_corrected.nii') > ``` You can't "resample" by saving the same array with two different...
> I do not really understand why. The whole point of this function is to compute the correct affine, for a given resampling. (independently of the exact resampling done). In...
I agree there's a unique solution if you're trying to preserve the field of view, modulo the voxel size. It's just that that wasn't the goal of the function when...
No, I believe that results from this line: https://github.com/nipy/nibabel/blob/3b1c7b3727e18be0222b00dfe369bad6f3dc707d/nibabel/spaces.py#L91 I'm guessing it's a fudge factor intended to ensure that there was no cropping at all. Possibly the effect was slightly...
Hmm. Looks like some are tagged "NIRS" and some "nirs". * https://openneuro.org/search/modality/nirs * https://openneuro.org/search/modality/nirs?query={"modality_selected"%3A"NIRS"} * https://openneuro.org/search/modality/nirs?query={"modality_selected"%3A"nirs"}  cc @nellh @thinknoack
ds002345: ``` root@openneuro-prod-dataset-worker-1:/datasets/ds002345# git annex list | grep -v ^X here |github ||s3-PRIVATE |||s3-PUBLIC ||||web |||||bittorrent |||||| ___X__ stimuli/santa_audio.wav ___X__ stimuli/shapessocial_audio.wav ___X__ stimuli/sherlock_audio.wav ___X__ stimuli/tunnel_audio.wav ___X__ stimuli/upintheair_audio.wav ___X__ sub-007/func/sub-007_task-pieman_bold.nii.gz ___X__...
@snastase Still seeing these ones missing: ``` root@openneuro-prod-dataset-worker-1:/datasets/ds002345# git annex list | grep -v ^X here |github ||s3-PRIVATE |||s3-PUBLIC ||||web |||||bittorrent |||||| ___X__ sub-007/func/sub-007_task-pieman_bold.nii.gz ___X__ sub-010/func/sub-010_task-pieman_run-1_bold.nii.gz ___X__ sub-017/func/sub-017_task-pieman_bold.nii.gz ___X__ sub-018/anat/sub-018_T1w.nii.gz...