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.

xcorr.m 886 B

1234567891011121314151617181920212223242526272829
  1. bins=[0:0.05:1];
  2. bin=[0.05:0.05:1];
  3. xc_group=histcounts(offset_group,bins,'Normalization','probability');
  4. xc_group_mean=squeeze(mean(mean(offset_group,2),1));
  5. xc_time=histcounts(offset_time,bins,'Normalization','probability');
  6. xc_time_mean=squeeze(mean(mean(offset_time,2),1));
  7. figure
  8. p1=plot(bin,xc_group,'b-','LineWidth',2);
  9. hold on
  10. p2=plot(bin,xc_time,'r-','LineWidth',2);
  11. ylim([0 .7])
  12. xlim([.5 1])
  13. plot([xc_group_mean xc_group_mean],get(gca,'ylim'),'b--','LineWidth',2)
  14. plot([xc_time_mean xc_time_mean],get(gca,'ylim'),'r--','LineWidth',2)
  15. legend([p1(1) p2(1)],{'Groups over time','Timepoints over groups'})
  16. title('Cross-correlation of group matrices')
  17. ylabel('percentage of matrices')
  18. xlabel('normalized offset at zero lag')
  19. %%
  20. xlswrite('xcorr_group.xls',offset_group)
  21. xlswrite('xcorr_time.xls',offset_time)
  22. xlswrite('norm_indv_fc.xls',norm_ROI)