Ignore:
Timestamp:
Jun 3, 2016, 9:14:33 PM (8 years ago)
Author:
sommeria
Message:

fix modified in civ series

File:
1 edited

Legend:

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

    r944 r949  
    593593        [Data.Civ1_SubRange,Data.Civ1_NbCentres,Data.Civ1_Coord_tps,Data.Civ1_U_tps,Data.Civ1_V_tps,tild,Ures, Vres,tild,FFres]=...
    594594            filter_tps([Data.Civ1_X(ind_good) Data.Civ1_Y(ind_good)],Data.Civ1_U(ind_good),Data.Civ1_V(ind_good),[],Data.Patch1_SubDomainSize,Data.Patch1_FieldSmooth,Data.Patch1_MaxDiff);
    595         Data.Civ1_U_smooth(ind_good)=Ures;% take the interpolated (smoothed) velocity values for good vectors, keep 0 for the others
     595        Data.Civ1_U_smooth(ind_good)=Ures;% take the interpolated (smoothed) velocity values for good vectors, keep civ1 data for the other
    596596        Data.Civ1_V_smooth(ind_good)=Vres;
    597597        Data.Civ1_FF(ind_good)=int8(FFres);
     
    869869        Data.VarAttribute{nbvar+6}.Role='vector_x';
    870870        Data.VarAttribute{nbvar+7}.Role='vector_y';
    871         Data.Civ2_U_smooth=Data.Civ2_U; % zeros(size(Data.Civ2_X));
    872         Data.Civ2_V_smooth=Data.Civ2_V; %zeros(size(Data.Civ2_X));
     871        Data.Civ2_U_smooth=Data.Civ2_U;
     872        Data.Civ2_V_smooth=Data.Civ2_V;
    873873        if isfield(Data,'Civ2_FF')
    874874            ind_good=find(Data.Civ2_FF==0);
     
    876876            ind_good=1:numel(Data.Civ2_X);
    877877        end
    878         [Data.Civ2_SubRange,Data.Civ2_NbCentres,Data.Civ2_Coord_tps,Data.Civ2_U_tps,Data.Civ2_V_tps,tild,Ures, Vres,tild,FFres]=...
     878        [Data.Civ2_SubRange,Data.Civ2_NbCentres,Data.Civ2_Coord_tps,Data.Civ2_U_tps,Data.Civ2_V_tps,tild,Ures,Vres,tild,FFres]=...
    879879            filter_tps([Data.Civ2_X(ind_good) Data.Civ2_Y(ind_good)],Data.Civ2_U(ind_good),Data.Civ2_V(ind_good),[],Data.Patch2_SubDomainSize,Data.Patch2_FieldSmooth,Data.Patch2_MaxDiff);
    880880        Data.Civ2_U_smooth(ind_good)=Ures;
Note: See TracChangeset for help on using the changeset viewer.