Changeset 853
- Timestamp:
- Jan 21, 2015, 12:30:26 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fileparts_uvmat.m
r809 r853 76 76 %% recursive test on FileName starting from the end 77 77 % test whether FileName ends with a number or not 78 r=regexp(FileName,' .*\D(?<num1>\d+)$','names');% \D = not a digit, \d =digit78 r=regexp(FileName,'(?<num1>\d+)$','names');% \D = not a digit, \d =digit 79 79 80 80 if ~isempty(r)% FileName end matches num1 81 81 num1=r.num1; 82 r=regexp(FileName,[' .*\D(?<num2>\d+)(?<delim1>[-_])' num1 '$'],'names');82 r=regexp(FileName,['(?<num2>\d+)(?<delim1>[-_])' num1 '$'],'names'); 83 83 if ~isempty(r)% FileName end matches num2+delim1+num1 84 84 delim1=r.delim1; -
trunk/src/series/civ_input.m
r852 r853 519 519 checkeven=(mod(ActionInput.Civ1.CorrBoxSize,2)==0); 520 520 ActionInput.Civ1.CorrBoxSize(checkeven)=ActionInput.Civ1.CorrBoxSize(checkeven)+1;% set correlation box sizes to odd values 521 ActionInput.Civ1.SearchBoxSize=max(ActionInput.Civ1.SearchBoxSize,ActionInput.Civ1.CorrBoxSize+ 10);% insure that the search box size is large enough521 ActionInput.Civ1.SearchBoxSize=max(ActionInput.Civ1.SearchBoxSize,ActionInput.Civ1.CorrBoxSize+8);% insure that the search box size is large enough 522 522 checkeven=(mod(ActionInput.Civ1.SearchBoxSize,2)==0); 523 523 ActionInput.Civ1.SearchBoxSize(checkeven)=ActionInput.Civ1.SearchBoxSize(checkeven)+1;% set search box sizes to odd values … … 526 526 checkeven=(mod(ActionInput.Civ2.CorrBoxSize,2)==0); 527 527 ActionInput.Civ2.CorrBoxSize(checkeven)=ActionInput.Civ2.CorrBoxSize(checkeven)+1;% set correlation box sizes to odd values 528 ActionInput.Civ2.SearchBoxSize=max(ActionInput.Civ2.SearchBoxSize,ActionInput.Civ2.CorrBoxSize+ 10);528 ActionInput.Civ2.SearchBoxSize=max(ActionInput.Civ2.SearchBoxSize,ActionInput.Civ2.CorrBoxSize+6); 529 529 checkeven=(mod(ActionInput.Civ2.SearchBoxSize,2)==0); 530 530 ActionInput.Civ2.SearchBoxSize(checkeven)=ActionInput.Civ2.SearchBoxSize(checkeven)+1;% set search box sizes to odd values -
trunk/src/uvmat.m
r851 r853 5330 5330 ProjData= proj_field(UvData.Field,ObjectData);%project the current input field on object ObjectData 5331 5331 plot_field(ProjData,handles.PlotAxes,read_GUI(handles.uvmat));% plot the projected field; 5332 UvData.PlotAxes=ProjData;% store the plotted field for further update 5332 5333 %replot all the objects within the new projected field 5333 5334 for IndexObj=1:numel(list_str)
Note: See TracChangeset
for help on using the changeset viewer.