Forum Replies Created
-
AuthorPosts
-
pdemanParticipant
ok for the folder problem.
about the display of the fibertracks selected by the vat for each patient.
is it possible to display all of them in lead_group ?
we can’t find the mesh of the fibertracks selected.
we have the ea_pm file, but not the fibers.
(I am talking specifically about the fibers selected by the simulation of the stimulations, not the DTI of the patient, we don’t have them for these patients, we use the groupconnectom).- This reply was modified 7 years, 5 months ago by pdeman.
pdemanParticipanthi,
in the connectome gui, stimulation-based results part.
the list of modality available correspond to what ? the group connectomes ?to fill this list, you use this:
% check for canonical fiber sets fdfibs=dir([ea_getconnectomebase('dmri'),filesep]); for fdf=1:length(fdfibs) if fdfibs(fdf).isdir && ~strcmp(fdfibs(fdf).name(1),'.') [~,fn]=fileparts(fdfibs(fdf).name); modlist{cnt}=fn; sf(cnt)=1; cnt=cnt+1; end end
ea_getconnectomebase return ‘lead/connectomes/dMRI/’ (and then you add again a filesep it’s not necessary)
then you list what’s inside this directory using dir and you keep in modlist only the directory (if fdfibs(fdf).isdir)
so the connectome files are not seen.we made a directory (let’s say “general”) in ‘/lead/connectomes/dMRI’ and then we see this directory in the modality list in the stimulation based results.
then when we try to do something.
it looks for a data.mat file in /lead/connectomes/dMRI.
what should be this data.mat file ?moreover we would like to generate for each patients, the fiber meshs resulting from the stimulation-based results.
and load in lead_group each patient fiber mesh (not the total fibers but the one selected by the stimulation-based results).
if each patient can have their fibers in a different color that’s a bonus:) -
AuthorPosts