Changeset 844 for trunk/src/uvmat.m


Ignore:
Timestamp:
Dec 15, 2014, 10:03:23 PM (6 years ago)
Author:
sommeria
Message:

various bugs repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r837 r844  
    12171217GeometryCalib.SliceCoord=Z_plane'*[0 0 1];
    12181218GeometryCalib.SliceAngle=zeros(GeometryCalib.NbSlice,3);
    1219 GeometryCalib.SliceAngle(:,1)=SliceData.SliceAngle(1)*ones(GeometryCalib.NbSlice,1);%rotation around x axis (to generalise)
    1220 GeometryCalib.SliceAngle(:,2)=SliceData.SliceAngle(2)*ones(GeometryCalib.NbSlice,1);%rotation around y axis (to generalise)
     1219Angle_1=linspace(SliceData.SliceAngle_1(1),SliceData.SliceAngle_1(2),SliceData.NbSlice);
     1220Angle_2=linspace(SliceData.SliceAngle_2(1),SliceData.SliceAngle_2(2),SliceData.NbSlice);
     1221GeometryCalib.SliceAngle(:,1)=Angle_1';%rotation around x axis (to generalise)
     1222GeometryCalib.SliceAngle(:,2)=Angle_2';%rotation around y axis (to generalise)
    12211223GeometryCalib.SliceAngle(:,3)=0;
    12221224if SliceData.CheckRefraction
Note: See TracChangeset for help on using the changeset viewer.