Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

ck_GetROIidx.m 331 B

1234567891011
  1. function roiidx = ck_GetROIidx(roilabels,rois)
  2. % roilabels is a cell of desired ROIs to include
  3. % rois is a 2-column vector with {label , [idx(s)]}
  4. roiidx = []; roilab = rois(:,1);
  5. for idx = 1:length(roilabels)
  6. roiidx = cat(2,roiidx,...
  7. rois{strcmp(roilab, roilabels{idx}),2});
  8. end
  9. end