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.

spectraMBL2005.m 847 B

123456789101112131415161718192021222324252627
  1. [fname,pname]=uigetfile('*');
  2. eval(['load ' pname '\' fname]);
  3. params.tapers=[5 9]; params.pad=2; params.Fs=1000; params.fpass=[0 100]; params.trialave=1;
  4. movingwin=[0.5 0.1]; % duration of moving window used to evaluate spectrograms
  5. win=[2 2]; % window around events
  6. fignum=[2 3 6 9 8 7 4 1]; % figure numbers for particular directions
  7. for targ=0:7;
  8. E=targoff(find(targets==targ));
  9. [Ssp,tsp,fsp,R]=mtspecgramtrigpt(dsp(1),E,win,movingwin,params);
  10. figure(1);
  11. subplot(3,3,fignum(targ+1));
  12. imagesc(t,f,10*log10(S)'); axis xy; colorbar;
  13. figure(2);
  14. subplot(3,3,fignum(targ+1));
  15. plot(t,R);
  16. [Slfp,tlfp,flfp]=mtspecgramtrigc(dlfp(:,1),E,win,movingwin,params);
  17. figure(3);
  18. subplot(3,3,fignum(targ+1));
  19. imagesc(t,f,10*log10(S)'); axis xy; colorbar;
  20. end;