Index: trunk/src/transform_field/phys.m
===================================================================
--- trunk/src/transform_field/phys.m	(revision 870)
+++ trunk/src/transform_field/phys.m	(revision 871)
@@ -86,5 +86,5 @@
         return % transform only fields in pixel coordinates
     end
-    DataOut=phys_1(DataIn,Calib{1},ZIndex);% transform coordiantes and velocity components
+    DataOut=phys_1(DataIn,Calib{1},ZIndex);% transform coordinates and velocity components
     %case of images or scalar: in case of two input fields, we need to project the transform  on the same regular grid
     if isfield(DataIn,'A') && isfield(DataIn,'Coord_x') && ~isempty(DataIn.Coord_x) && isfield(DataIn,'Coord_y')&&...
@@ -117,7 +117,5 @@
     end
     if (isfield(DataIn_1,'CoordUnit')&& strcmp(DataIn_1.CoordUnit,'pixel'))
-%         return % transform only fields in pixel coordinates
-%     end
-    DataOut_1=phys_1(DataOut_1,Calib{2},ZIndex);
+        DataOut_1=phys_1(DataOut_1,Calib{2},ZIndex);
     end
     if isfield(Calib{1},'SliceCoord')
@@ -125,5 +123,5 @@
             DataOut_1.Txt='different plane positions for the two input fields';
             return
-        end        
+        end
         DataOut_1.PlaneCoord=DataOut.PlaneCoord;% same plane position for the two input fields
         if isfield(Calib{1},'SliceAngle')
@@ -190,7 +188,4 @@
         DataOut.V=(YOut_2-YOut_1)/Dt;
     end
-%     if ~strcmp(Calib.CalibrationType,'rescale') && isfield(Data,'X_tps') && isfield(Data,'Y_tps') 
-%         [DataOut.X_tps,DataOut.Y_tps]=phys_XYZ(Calib,Data.X,Data.Y,ZIndex);
-%     end
 end
 
