Ignore:
Timestamp:
Jan 26, 2015, 7:43:23 PM (9 years ago)
Author:
sommeria
Message:

bugs_corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ_series.m

    r856 r858  
    671671            V_tps=par_civ2.Civ1_V_tps;
    672672            Civ1_Dt=par_civ2.Civ1_Dt;
     673            Civ2_Dt=par_civ2.Civ1_Dt;
    673674                         Data.ListVarName={};
    674675                Data.VarDimName={};
     
    709710        par_civ2.SearchBoxSize(1)=2*ibx2+9;% search ara +-4 pixels around the guess
    710711        par_civ2.SearchBoxSize(2)=2*iby2+9;
    711         if strcmp(Param.ActionInput.ListCompareMode,'displacement')
    712             Civ1_Dt=1;
    713             Civ2_Dt=1;
    714         elseif exist('time','var')
    715             Civ2_Dt=time(i2+1,j2+1)-time(i1+1,j1+1);
    716         else
    717             Civ2_Dt=1;%TO CHECK, TEST
     712        if CheckInputFile % else Dt given by par_civ2
     713            if strcmp(Param.ActionInput.ListCompareMode,'displacement')
     714                Civ1_Dt=1;
     715                Civ2_Dt=1;
     716            else
     717                Civ2_Dt=time(i2+1,j2+1)-time(i1+1,j1+1);
     718            end
    718719        end
    719720        par_civ2.SearchBoxShift=(Civ2_Dt/Civ1_Dt)*[Shiftx(nbval>=1)./nbval(nbval>=1) Shifty(nbval>=1)./nbval(nbval>=1)];
     
    725726            par_civ2.DVDY=DVDY./nbval;
    726727        end
     728        par_civ2
    727729        % calculate velocity data (y and v in indices, reverse to y component)
    728730        [xtable, ytable, utable, vtable, ctable, F,result_conv,errormsg] = civ (par_civ2);
Note: See TracChangeset for help on using the changeset viewer.