Changeset 1135 for trunk/src/series/merge_proj.m
- Timestamp:
- Apr 23, 2024, 3:03:38 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/merge_proj.m
r1134 r1135 68 68 ParamOut.FieldTransform = 'on';%can use a transform function 69 69 %%%%% list of possible transform functions (needed only for compilation) 70 ListTransform={'phys','phys_polar','sub_field'};%list of possible transform functions (needed only for compilation) 71 if 0==1 %never satisfied but trigger compilation with the appropriate transform functions 70 % ListTransform={'phys','phys_polar','sub_field'};%list of possible transform functions (needed only for compilation) 71 % if 0==1 %never satisfied but trigger compilation with the appropriate transform functions 72 % phys 73 % phys_polar 74 % sub_field 75 try 72 76 for ilist=1:numel(ListTransform) 73 eval(ListTransform) 74 end 75 end 77 eval(ListTransform{ilist}) 78 end 79 end 80 76 81 ParamOut.TransformPath=fullfile(fileparts(which('uvmat')),'transform_field');% path to transform functions 77 82 %%%%%%%% … … 319 324 if ~isempty(transform_fct) 320 325 checksub=nargin(transform_fct); 321 if checksub ==2326 if checksub>=2 322 327 Data{iview}=transform_fct(Data{iview},XmlData{iview}); 323 328 elseif checksub==1 … … 351 356 352 357 %% merge the NbView fields 353 if checksub<=2358 % if checksub<=2 354 359 [MergeData,errormsg]=merge_field(Data);%concatene all the input field series by fct merge_data 355 elseif checksub==3356 MergeData=transform_fct(Data{1},XmlData{1},Data{2}); %combine the two input file series357 else358 MergeData=transform_fct(Data{1},XmlData{1},Data{2},XmlData{2});%combine the two input file series with calibration parameters359 end360 % elseif checksub==3 361 % MergeData=transform_fct(Data{1},XmlData{1},Data{2}); %combine the two input file series 362 % else 363 % MergeData=transform_fct(Data{1},XmlData{1},Data{2},XmlData{2});%combine the two input file series with calibration parameters 364 % end 360 365 if ~isempty(errormsg) 361 366 disp_uvmat('ERROR',errormsg,checkrun);
Note: See TracChangeset
for help on using the changeset viewer.