Ignore:
Timestamp:
Feb 16, 2015, 12:15:23 AM (6 years ago)
Author:
sommeria
Message:

histo improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/phys.m

    r866 r871  
    8686        return % transform only fields in pixel coordinates
    8787    end
    88     DataOut=phys_1(DataIn,Calib{1},ZIndex);% transform coordiantes and velocity components
     88    DataOut=phys_1(DataIn,Calib{1},ZIndex);% transform coordinates and velocity components
    8989    %case of images or scalar: in case of two input fields, we need to project the transform  on the same regular grid
    9090    if isfield(DataIn,'A') && isfield(DataIn,'Coord_x') && ~isempty(DataIn.Coord_x) && isfield(DataIn,'Coord_y')&&...
     
    117117    end
    118118    if (isfield(DataIn_1,'CoordUnit')&& strcmp(DataIn_1.CoordUnit,'pixel'))
    119 %         return % transform only fields in pixel coordinates
    120 %     end
    121     DataOut_1=phys_1(DataOut_1,Calib{2},ZIndex);
     119        DataOut_1=phys_1(DataOut_1,Calib{2},ZIndex);
    122120    end
    123121    if isfield(Calib{1},'SliceCoord')
     
    125123            DataOut_1.Txt='different plane positions for the two input fields';
    126124            return
    127         end       
     125        end
    128126        DataOut_1.PlaneCoord=DataOut.PlaneCoord;% same plane position for the two input fields
    129127        if isfield(Calib{1},'SliceAngle')
     
    190188        DataOut.V=(YOut_2-YOut_1)/Dt;
    191189    end
    192 %     if ~strcmp(Calib.CalibrationType,'rescale') && isfield(Data,'X_tps') && isfield(Data,'Y_tps')
    193 %         [DataOut.X_tps,DataOut.Y_tps]=phys_XYZ(Calib,Data.X,Data.Y,ZIndex);
    194 %     end
    195190end
    196191
Note: See TracChangeset for help on using the changeset viewer.