Changeset 127 for trunk/src/uvmat.m


Ignore:
Timestamp:
Nov 19, 2010, 10:44:24 AM (14 years ago)
Author:
sommeria
Message:

merge_proj.m: cleaning
sub_field.m: ?
dataview.m: modifs not finished
name-generator: bug repair for new nom_type
nc2struct: cleaning
uvmat: cleaning
read_civxdata: transform all variables to double
civ: bug repair for new nom_type, not finished

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r122 r127  
    17551755
    17561756comp_input=get(handles.fix_pair,'Value');
    1757 % if isequal(NomType,'_i1-i2')||isequal(NomType,'_i1-i2_j')
    1758 %     comp_input=1; %impose a fixed pair
    1759 %     set(handles.fix_pair,'Value',1)
    1760 % end
    17611757
    17621758%case of scanning along the first direction (rootfile numbers)
     
    17641760     num1=num1+increment;
    17651761     num2=num2+increment;
    1766      [filename,num1,num_a,num2,num_b]=name_generator(filebase,num1,num_a,FileExt,NomType,comp_input,num2,num_b,subdir);
     1762     [filename,num1,num_a,num2,num_b]=name_generator(filebase,num1,num_a,FileExt,NomType,comp_input,num2,num_b,subdir)
    17671763     if sub_value% set the second field name and indices
    17681764        num1_1=num1_1+increment;
     
    17731769    num_a=num_a+increment;
    17741770    num_b=num_b+increment;
     1771    [filename,num1,num_a,num2,num_b]=name_generator(filebase,num1,num_a,FileExt,NomType,comp_input,num2,num_b,subdir);
    17751772    if sub_value
    17761773        num_a_1=num_a_1+increment;
    17771774        num_b_1=num_b_1+increment;
    17781775        filename_1=name_generator(filebase_1,num1_1,num_a_1,FileExt_1,NomType_1,1,num2_1,num_b_1,SubDir_1);
    1779 %     else % redefine the j index if it exceeds its upper bound (only in the absence of a second field)
    1780 %         lastfield_cell=get(handles.last_j,'String'); % get the last field number
    1781 %         lastfield=str2double(lastfield_cell{1});
    1782 %         if num_a>lastfield && ~isnan(lastfield)
    1783 %             num_a=mod(num_a,lastfield);
    1784 %             num_b=mod(num_b,lastfield)
    1785 %         end
    1786     end
    1787     [filename,num1,num_a,num2,num_b]=name_generator(filebase,num1,num_a,FileExt,NomType,comp_input,num2,num_b,subdir);
     1776    end   
    17881777end
    17891778
Note: See TracChangeset for help on using the changeset viewer.