- Timestamp:
- Jan 10, 2012, 8:09:44 PM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ_matlab.m
r364 r365 205 205 ibx2=ceil(par_civ2.Bx/2); 206 206 iby2=ceil(par_civ2.By/2); 207 isx2=ibx2+ 2;208 isy2=iby2+ 2;207 isx2=ibx2+3; 208 isy2=iby2+3; 209 209 % shift from par_civ2.filename_nc1 210 210 % shiftx=velocity interpolated at position … … 250 250 par_civ2.Searchx=2*isx2+1; 251 251 par_civ2.Searchy=2*isy2+1; 252 par_civ2.Shiftx=Shiftx ./nbval;253 par_civ2.Shifty=Shifty ./nbval;254 par_civ2.Grid=[GridX GridY];252 par_civ2.Shiftx=Shiftx(nbval>=1)./nbval(nbval>=1); 253 par_civ2.Shifty=Shifty(nbval>=1)./nbval(nbval>=1); 254 par_civ2.Grid=[GridX(nbval>=1) GridY(nbval>=1)]; 255 255 if par_civ2.CheckDeformation 256 256 DUDX=DUDX./nbval; … … 390 390 isx2=ceil(par_civ.Searchx/2); 391 391 isy2=ceil(par_civ.Searchy/2); 392 shiftx= par_civ.Shiftx;393 shifty=- par_civ.Shifty;% sign minus because image j index increases when y decreases392 shiftx=round(par_civ.Shiftx); 393 shifty=-round(par_civ.Shifty);% sign minus because image j index increases when y decreases 394 394 if isfield(par_civ,'Grid') 395 395 if ischar(par_civ.Grid)%read the drid file if the input is a file name … … 412 412 nbvec=size(par_civ.Grid,1); 413 413 if numel(shiftx)==1 414 shiftx= round(shiftx)*ones(nbvec,1);415 shifty= round(shifty)*ones(nbvec,1);414 shiftx=shiftx*ones(nbvec,1); 415 shifty=shifty*ones(nbvec,1); 416 416 end 417 417 %% Default output -
trunk/src/find_file_series.m
r362 r365 145 145 j1_star='*'; 146 146 if ~isempty(regexp(NomTypeStr,'[b|B]$')); 147 j2_str='(?<j 1>[a-z]|[A-Z])';147 j2_str='(?<j2>[a-z]|[A-Z])'; 148 148 j2_star='*'; 149 149 end
Note: See TracChangeset
for help on using the changeset viewer.