pycortex icon indicating copy to clipboard operation
pycortex copied to clipboard

About NSD dataset's pycortex db subjt file

Open geoffreyfan opened this issue 1 year ago • 7 comments

Has anyone successfully created pycortex db files using the NSD dataset? I didn't achieve satisfactory results with my conversion. If anyone can share pycortex db files related to the NSD dataset, I would greatly appreciate it!

geoffreyfan avatar Dec 29 '23 13:12 geoffreyfan

cortex.freesurfer.import_subj('NSD_subj01', cx_subject='NSD_subj01',freesurfer_subject_dir='/home/geoffreyfan/brain_Visualize/NSD_freesurfer/',whitematter_surf='smoothwm')
cortex.freesurfer.import_flat('NSD_subj01', 'full',hemis=['lh','rh'],cx_subject='NSD_subj01',flat_type='freesurfer',auto_overwrite=True,freesurfer_subject_dir='/home/geoffreyfan/brain_Visualize/NSD_freesurfer/',clean=True)
cortex.align.automatic('NSD_subj01','func1pt8_to_anat0pt8_autoFSbbr',reference='/home/geoffreyfan/brain_Visualize/NSD_freesurfer/NSD_subj01/transforms/func1pt8-to-anat0pt8.nii.gz')

geoffreyfan avatar Dec 29 '23 13:12 geoffreyfan

image

geoffreyfan avatar Dec 29 '23 13:12 geoffreyfan

Do you still need help with this?

aluo-x avatar Feb 06 '24 18:02 aluo-x

Could you give me a hand? I have the same question for the voxel weights' visualization on the NSD dataset. Thank you very much!

gongzix avatar Apr 10 '24 13:04 gongzix

See also this issue https://github.com/gallantlab/pycortex/issues/488

The surfaces shared with the NSD dataset may not conform to the standard freesurfer format, and so they require fixes prior to visualizing them in pycortex. I would suggest contacting the NSD authors if that's the issue.

mvdoc avatar Apr 10 '24 13:04 mvdoc

I am truly grateful for your timely help! I've drawn the image correctly. Thanks again.

gongzix avatar Apr 11 '24 03:04 gongzix

I am truly grateful for your timely help! I've drawn the image correctly. Thanks again.

Can you share how you did pls?

arnoliudaxia avatar May 06 '24 04:05 arnoliudaxia