- Timestamp:
- Nov 9, 2010, 5:27:00 PM (14 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r119 r120 657 657 first_i=max(field_i,1); 658 658 659 if strcmp(nom_type_ima,'_i_j') 659 switch nom_type_ima 660 case {'_i_j','%01dA','%02dA','%03dA','%04dA'} 660 661 field_i=field_count; 661 662 field_j=1; … … 671 672 end 672 673 nb_field_j=field_j-1;% last detected field number 673 end 674 end 675 674 676 675 677 … … 677 679 % dt=(1/1000)*str2num(get(handles.dt,'String')); 678 680 time=(0:nb_field-1)';% time=file index -1 by default 679 if strcmp(nom_type_ima,'_i_j') 681 682 switch nom_type_ima 683 case {'_i_j','%01dA','%02dA','%03dA','%04dA'} 680 684 % time=[0:nb_field-1]'*ones(1,nb_field_j);% time=file index -1 by default 681 time=[0:nb_field-1]'*[0:nb_field_j-1];% time=file index -1 by default 685 [x,y]=meshgrid([0:2-1],[0:152-1]); 686 time=x+y; 687 % time=[0:nb_field-1]'*[0:nb_field_j-1];% time=file index -1 by default 682 688 end 683 689 … … 691 697 % last_j=1; 692 698 % end 699 693 700 if exist('time','var') 694 701 if size(time,1)+size(time,2)>=3 % if there are at least two time values to define dt … … 2732 2739 %% to lauch the jobs locally : 2733 2740 if(isunix) 2734 eval(['!. ' filename_bat ' &']); 2735 display(['!. ' filename_bat ' &']) 2741 cmd_str=['!at -qb now -f ' filename_bat ' &']; %ou at -qb now -f 2742 eval(cmd_str); 2743 display(cmd_str); 2736 2744 else 2737 eval(['!' filename_bat ' &']); 2738 display(['!' filename_bat ' &']) 2745 cmd_str=['!' filename_bat ' &']; 2746 eval(cmd_str); 2747 display(cmd_str); 2739 2748 end 2740 2749 end … … 4891 4900 fclose(fid); 4892 4901 4893 cmd_CIV1=[sparam.Civ1Bin ' -f ' filename '.cmx ' ]; % redirect standard output to the log file4902 cmd_CIV1=[sparam.Civ1Bin ' -f ' filename '.cmx >' filename '.log' ]; % redirect standard output to the log file 4894 4903 cmd_CIV1=regexprep(cmd_CIV1,'\\','\\\\'); 4895 4904 namelog=regexprep(namelog,'\\','\\\\'); -
trunk/src/name2display.m
r19 r120 96 96 str_a=last_str; %put appendix a,b,c.... 97 97 indcur=indcur-1; 98 nom_type='#A';99 98 num=1;count=0; % extract the numerical appendix 100 99 while num==1; … … 106 105 end 107 106 end 107 if strcmp('0',RootFile(indcur+1)); % select the non-numerical characters 108 nom_type=['%0' num2str(length(RootFile(indcur+1:end-1))) 'dA']; 109 else 110 nom_type='#A'; 111 end 112 108 113 if count~=0 109 114 field_count=RootFile(indcur+1:indcur+count);% set the selected field number 110 115 end 111 indcur=indcur-1;116 % indcur=indcur-1; 112 117 elseif strcmp(filelit(end-2:end),'-_-_')%new nomenclature appendix num1-num2_num_a-num_b 113 118 field_count=num0; -
trunk/src/name_generator.m
r89 r120 112 112 elseif length(nom_type)>=4 & strcmp(nom_type(1:2),'%0') & strcmp(nom_type(end),'d') 113 113 filename=[filebase num2str(num_i1,nom_type) ext]; %test number with a 0 before 114 num_i2_out=num_i1; 115 num_j1_out=[]; 116 num_j2_out=[]; 117 elseif length(nom_type)>=4 & strcmp(nom_type(1:2),'%0') & strcmp(nom_type(end-1:end),'dA') 118 filename=[filebase num2str(num_i1,nom_type(1:end-1)) num2stra(num_j1,'#A') ext]; %test number with a 0 before 114 119 num_i2_out=num_i1; 115 120 num_j1_out=[]; -
trunk/src/uvmat.m
r116 r120 912 912 scan_option='i';%default 913 913 switch NomType 914 case {'_i_j','_i_j1-j2','_i1-i2_j','#_ab' },% two navigation indices914 case {'_i_j','_i_j1-j2','_i1-i2_j','#_ab','#A','%01dA','%02dA','%03dA','%04dA'},% two navigation indices 915 915 state_j='on'; 916 916 if isequal(nbfield,1) … … 1723 1723 function errormsg=runpm(hObject,eventdata,handles,increment) 1724 1724 %------------------------------------------------------------------ 1725 %check for m ùovie pair status1725 %check for mï¿œovie pair status 1726 1726 movie_status=get(handles.movie_pair,'Value'); 1727 1727 if isequal(movie_status,1)
Note: See TracChangeset
for help on using the changeset viewer.