pycortex
pycortex copied to clipboard
About NSD dataset's pycortex db subjt file
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!
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')
Do you still need help with this?
Could you give me a hand? I have the same question for the voxel weights' visualization on the NSD dataset. Thank you very much!
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.
I am truly grateful for your timely help! I've drawn the image correctly. Thanks again.
I am truly grateful for your timely help! I've drawn the image correctly. Thanks again.
Can you share how you did pls?