Changeset 965 for trunk/src/proj_field.m


Ignore:
Timestamp:
Jul 1, 2016, 7:47:18 PM (5 years ago)
Author:
sommeria
Message:

various

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/proj_field.m

    r964 r965  
    949949
    950950%% rotation angles
    951 PlaneAngle=[0 0 0];
     951PlaneAngle=[0 0];
    952952norm_plane=[0 0 1];
    953953%cos_om=1;
     
    963963%     ObjectData.Angle(2)=90*Delta_y/Delta_mod;
    964964% end   
    965 if isfield(ObjectData,'Angle')&& isequal(size(ObjectData.Angle),[1 3])&& ~isequal(ObjectData.Angle,[0 0 0])
     965if isfield(ObjectData,'Angle')&& isequal(size(ObjectData.Angle),[1 2])&& ~isequal(ObjectData.Angle,[0 0])
    966966    test90y=0;%isequal(ObjectData.Angle,[0 90 0]);
    967967    PlaneAngle=(pi/180)*ObjectData.Angle;
Note: See TracChangeset for help on using the changeset viewer.