Changeset 871 for trunk/src/transform_field/phys.m
- Timestamp:
- Feb 16, 2015, 12:15:23 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/phys.m
r866 r871 86 86 return % transform only fields in pixel coordinates 87 87 end 88 DataOut=phys_1(DataIn,Calib{1},ZIndex);% transform coordi antes and velocity components88 DataOut=phys_1(DataIn,Calib{1},ZIndex);% transform coordinates and velocity components 89 89 %case of images or scalar: in case of two input fields, we need to project the transform on the same regular grid 90 90 if isfield(DataIn,'A') && isfield(DataIn,'Coord_x') && ~isempty(DataIn.Coord_x) && isfield(DataIn,'Coord_y')&&... … … 117 117 end 118 118 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); 122 120 end 123 121 if isfield(Calib{1},'SliceCoord') … … 125 123 DataOut_1.Txt='different plane positions for the two input fields'; 126 124 return 127 end 125 end 128 126 DataOut_1.PlaneCoord=DataOut.PlaneCoord;% same plane position for the two input fields 129 127 if isfield(Calib{1},'SliceAngle') … … 190 188 DataOut.V=(YOut_2-YOut_1)/Dt; 191 189 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 % end195 190 end 196 191
Note: See TracChangeset
for help on using the changeset viewer.