- Timestamp:
- Apr 24, 2012, 10:45:02 AM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_file_series.m
r391 r393 67 67 function [i1_series,i2_series,j1_series,j2_series]=find_file_indices(ref_i,ref_j,num1,num2,mode) 68 68 i1_series=ref_i;%default 69 i2_series=[];70 j2_series=[];71 if isempty(mode)72 i1_series=ref_i;73 j1_series=ref_j;74 return75 end76 69 j1_series=[]; 77 70 if ~isempty(ref_j) … … 79 72 j1_series=meshgrid(ref_i,ones(size(ref_j))); 80 73 end 74 i2_series=i1_series; 75 j2_series=j1_series; 81 76 82 77 switch mode 83 case 'Di=' % ='series(Di)') 84 i2_series=i1_series; 78 case 'Di=' % case 'series(Di)') 85 79 i1_series=i1_series-num1; 86 80 i2_series=i2_series+num2; 87 case {'Dj=','-'} %(mode,'series(Dj)')||isequal (mode,'bursts') 88 if isequal(mode,'-') %case of bursts (png_old or png_2D) 89 j1_series=num1*ones(size(i1_series)); 90 j2_series=num2*ones(size(i1_series)); 91 else 92 j2_series=j1_series; 93 j1_series=j1_series-num1; 94 j2_series=j2_series+num2; 95 end 81 case 'Dj=' % case 'series(Dj)' 82 j1_series=j1_series-num1; 83 j2_series=j2_series+num2; 84 case '-' % case 'bursts' 85 j1_series=num1*ones(size(i1_series)); 86 j2_series=num2*ones(size(i1_series)); 96 87 end -
trunk/src/series.m
r376 r393 891 891 Series.PathProject=get(handles.PathCampaign,'String'); 892 892 % InputTable=get(handles.InputTable,'Data'); 893 RootPath=Series.InputTable(:,1);894 SubDir=Series.InputTable(:,2);895 RootFile=Series.InputTable(:,3);896 NomType=Series.InputTable(:,4);897 FileExt=Series.InputTable(:,5);893 % RootPath=Series.InputTable(:,1); 894 % SubDir=Series.InputTable(:,2); 895 % RootFile=Series.InputTable(:,3); 896 % NomType=Series.InputTable(:,4); 897 % FileExt=Series.InputTable(:,5); 898 898 % if isempty(SeriesData) 899 899 % msgbox_uvmat('ERROR','no input file series') … … 925 925 menu_index=get(handles.transform_fct,'Value'); 926 926 transform_list=get(handles.transform_fct,'UserData'); 927 Series. transform_fct=transform_list{menu_index};% transform function handles927 Series.FieldTransform.fct_handle=transform_list{menu_index};% transform function handles 928 928 end 929 929
Note: See TracChangeset
for help on using the changeset viewer.