ChangLabUcsf / img_pipe

Image processing pipeline for ECoG data
59 stars 32 forks source link

I would like to be able to pass in elecmatrix to get_surface_warp. #7

Closed bendichter closed 7 years ago

bendichter commented 7 years ago

I don't have write permissions to the subject directory, but I'd like to be able to still compute surface warps. I'm planning on adding freeCoG.compute_surface_warp, which will be called by get_surface_warp and will take elecmatrix. Is that ok?

libertyh commented 7 years ago

Yes, I assume you mean take the contents of get_surface_warp() and turn that into a separate function that takes the elecmatrix. Unfortunately you may also need write permissions in the subject directory to do this, because it writes out some intermediate label files that are used in the warping. So for your purposes, maybe you'd want to add an output directory for the label intermediate files used by mri_label2label.

bendichter commented 7 years ago

yup, that's what I meant. And thanks for the tip!