Changeset 984 for trunk/src/series/check_peaklock.m
- Timestamp:
- Jan 18, 2017, 3:37:05 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/check_peaklock.m
r977 r984 125 125 126 126 %determine the file type on each line from the first input file 127 ImageTypeOptions={'image','multimage','mmreader','video' };127 ImageTypeOptions={'image','multimage','mmreader','video','cine_phantom'}; 128 128 NcTypeOptions={'netcdf','civx','civdata'}; 129 129 for iview=1:nbview … … 528 528 Integ(izero)=min(Integ(inonzero)); 529 529 aa=log(Integ);%initial guess for a coeff 530 spli=spline4(aa,mini,nbb); %appel àla fonction spline4530 spli=spline4(aa,mini,nbb); %appel ï¿œ la fonction spline4 531 531 histsmooth=exp(spli); 532 532 … … 581 581 582 582 %data 583 % n=10;% r ésolution de la pdf: nbre de points par unite de u583 % n=10;% rï¿œsolution de la pdf: nbre de points par unite de u 584 584 % mini=-10.0;%general mini=uint16(min(values)-1 CHOOSE maxi-mini+1 EVEN 585 585 % maxi=9.0; % general maxi=uint16(max(values))+1 … … 588 588 nint=siz(2); 589 589 maxi=mini+nint-1; 590 npdf=nint*n;% nbre total d'intervals àintroduire dans la pdf: hist(u,npdf)590 npdf=nint*n;% nbre total d'intervals ï¿œ introduire dans la pdf: hist(u,npdf) 591 591 %simulation de pdf 592 592 xfin=[mini-0.5+1/(2*n):(1/n):maxi+0.5-(1/(2*n))];% valeurs d'interpolation: we take n values in each integer interval
Note: See TracChangeset
for help on using the changeset viewer.