Changeset 541 in ETALON for CLIO/CTR+gfw


Ignore:
Timestamp:
Apr 22, 2016, 9:59:42 PM (8 years ago)
Author:
delerue
Message:

CLIO paper updated

Location:
CLIO/CTR+gfw
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • CLIO/CTR+gfw/CTR.m

    r492 r541  
    126126 title(['CTR spectrum'])
    127127 grid on
     128 xlim([0 5])
    128129%  xlim([min(c./nu*1e+3) 2])
    129130end
  • CLIO/CTR+gfw/GFWnew/GFWnew.m

    r471 r541  
    6363    load([P_file]);
    6464  else
    65       disp('Set correct file name!')
     65      error('Set correct file name!')
    6666  end
    6767else
     
    7070sigma_t= pulse_len_ps/(sqrt(2*log(2))*(1+epsl))*1e-3;  %The sigma of the leading edge    ns
    7171
    72 nu=(1:1e+10:3e+13).*1e-9;%Ghz
     72nu=(1:1e+10:3e+16).*1e-9;%Ghz
    7373
    7474sigma_L= sigma_t*epsl;
     
    220220FreqHalf=Frequency(1:round(length(Frequency)/2));%half of frequency range
    221221SpectrumHalf=SpectrumHalf./max(SpectrumHalf);%normalization of Spectrum
    222 Nmax=find(FreqHalf>=2.5,1);%2.5 THz is more than enoght
     222Nmax=find(FreqHalf>=60,1);%2.5 THz is more than enoght
    223223% Interpolation is applyed to decrease error in calculation (freq step in FFT is to wide for this calculation )
    224224FreqInter=FreqHalf(1):((FreqHalf(2)-FreqHalf(1))*1e-3):FreqHalf(Nmax);%interpolation diapason
     
    226226if PlotFunc(1)==1
    227227figure(1)
     228clf
    228229plot(FreqInter,SpecInter,'-k','linew',2)
    229230hold on
     
    252253 if isempty(s_coh_long)
    253254     s_coh_long=0;%ACHTUNG!!!
    254      disp('fail to find Form Factro value')
     255     error('fail to find Form Factor value')
    255256 end
    256257else
     
    367368if PlotFunc(2)==1
    368369 figure(2)
     370 clf
    369371 plot(thet,bin_single(:,phiDiv+2),'k','linew',2)
    370372 set(gca,'fontsize',16)
     
    376378if PlotFunc(3)==1
    377379figure(3)
     380clf
    378381 plot(thet,sum_tr,'r','linew',2)
    379382% thet_rad=thet/180*pi;
     
    391394if PlotFunc(4)==1
    392395figure(4)
     396clf
    393397plot(time,Profile,'r','linew',2)
    394398 set(gca,'fontsize',16)
     
    401405if PlotFunc(5)==1
    402406figure(5)
     407clf
    403408semilogy(nu_Hz*1e-12,SP_spec_1,'r','linew',2)
    404409 hold on
Note: See TracChangeset for help on using the changeset viewer.