Uzair Hussain

Results 8 comments of Uzair Hussain

Work around is to reload the same surface for each of the multiple overlays and then play around with the opacity of the different surfaces.

Is there a way to get the boundary curve instead of just the edges?

Sorry, by curve I mean that the coordinates are aranged such that the index parametrizes the curve.

![image](https://github.com/gallantlab/pycortex/assets/38436349/8545c9a0-7648-45d1-bc32-eac1e56be648) Actually now that I think about it, it seems they both need a counter clockwise rotation by 90.

I don't know that immediately, but let me see if I can figure it out, will comment back.

Okay so let me just outline the steps I carried out to see if it offers any clarity. 1) I use the `cortex.freesurfer.import_subj("subj01",freesurfer_subject_dir=freesurfer_path)` command to import the subect 2) Then...

Just a tiny update, I plotted the flat surfaces directly on mayavi using: `pts_lh,polys_lh,_=get_surf('subj01','lh','patch','full'+'.flat',freesurfer_subject_dir=freesurfer_path) pts_rh,polys_rh,_=get_surf('subj01','rh','patch','full'+'.flat',freesurfer_subject_dir=freesurfer_path) mlab.triangular_mesh(pts_rh[:,0],pts_rh[:,1],pts_rh[:,2],polys_rh) mlab.triangular_mesh(pts_lh[:,0]+500,pts_lh[:,1],pts_lh[:,2],polys_lh)` And it seems to be correct from freesurfer, so likely something else: ![image](https://github.com/gallantlab/pycortex/assets/38436349/f071ed45-4daf-4f97-9cd6-f6fe4a073cd2)

An update: If I make the following change in `cortex.freesufer.py` : ``` for hemi in hemis: if flat_type == 'freesurfer': pts, polys, _ = get_surf(fs_subject, hemi, "patch", patch+".flat", freesurfer_subject_dir=freesurfer_subject_dir) #...