Ignore:
Timestamp:
Feb 26, 2026, 4:16:03 PM (5 days ago)
Author:
sommeria
Message:

format of PIV data made more compact/4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/filter_tps.m

    r1163 r1195  
    170170    end
    171171end
     172NbCentre=uint16(NbCentre);
    172173
    173174%% remove empty subdomains
     
    188189%eliminate the vectors with diff>threshold not yet eliminated
    189190if exist('Threshold','var')&&~isempty(Threshold)
    190 UDiff=U_smooth-U;% difference between interpolated U component and initial value
    191 VDiff=V_smooth-V;% difference between interpolated V component and initial value
    192 NormDiff=UDiff.*UDiff+VDiff.*VDiff;% Square of difference norm
    193 FF(NormDiff>Threshold)=true;%put FF value to 1 to identify the criterium of elimmination
     191    UDiff=U_smooth-U;% difference between interpolated U component and initial value
     192    VDiff=V_smooth-V;% difference between interpolated V component and initial value
     193    NormDiff=UDiff.*UDiff+VDiff.*VDiff;% Square of difference norm
     194    FF(NormDiff>Threshold)=true;%put FF value to 1 to identify the criterium of elimmination
    194195end
    195196
Note: See TracChangeset for help on using the changeset viewer.