Changeset 411 for trunk/src/civ_matlab.m


Ignore:
Timestamp:
May 7, 2012, 3:32:21 PM (12 years ago)
Author:
sommeria
Message:

bugs corrected in uvmat: fixed x/y and calc_field for the new PIV data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ_matlab.m

    r410 r411  
    490490
    491491%% Apply mask
    492     % Convention for mask
     492    % Convention for mask IDEAS TO IMPLEMENT ?
    493493    % mask >200 : velocity calculated
    494494    %  200 >=mask>150;velocity not calculated, interpolation allowed (bad spots)
    495495    % 150>=mask >100: velocity not calculated, nor interpolated
    496     %  100>=mask> 20: velocity not calculated, impermeable (no flux through mask boundaries) TO IMPLEMENT
     496    %  100>=mask> 20: velocity not calculated, impermeable (no flux through mask boundaries)
    497497    %  20>=mask: velocity=0
    498498checkmask=0;
     
    504504   end
    505505  %  check_noflux=(par_civ.Mask<100) ;%TODO: to implement
    506     check_undefined=(par_civ.Mask<200 & par_civ.Mask>=100 );
     506    check_undefined=(par_civ.Mask<200 & par_civ.Mask>=20 );
    507507    par_civ.ImageA(check_undefined)=min(min(par_civ.ImageA));% put image A to zero (i.e. the min image value) in the undefined  area
    508508    par_civ.ImageB(check_undefined)=min(min(par_civ.ImageB));% put image B to zero (i.e. the min image value) in the undefined  area
Note: See TracChangeset for help on using the changeset viewer.