gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
580 stars 137 forks source link

About NSD dataset's pycortex db subjt file #522

Open geoffreyfan opened 8 months ago

geoffreyfan commented 8 months ago

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 commented 8 months ago
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 commented 8 months ago

image

aluo-x commented 7 months ago

Do you still need help with this?

gongzix commented 5 months ago

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

mvdoc commented 5 months ago

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.

gongzix commented 5 months ago

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

arnoliudaxia commented 4 months ago

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

Can you share how you did pls?