Changeset 455 for trunk/src/series/sub_background.m
- Timestamp:
- Jun 13, 2012, 6:26:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/sub_background.m
r454 r455 46 46 47 47 48 function GUI_config=sub_background (Param ,get_param)48 function GUI_config=sub_background (Param) 49 49 50 50 %% set the input elements needed on the GUI series when the action is selected in the menu ActionName … … 66 66 %% get input parameters, file names and indices 67 67 % BATCH case: read the xml file for batch case 68 if exist('get_param','var') && isequal(get_param,0) 69 checkrun=-1; %the function is just used to define to complement the input parameters 70 elseif ischar(Param) && ~isempty(find(regexp(Param,'.xml$'))) %batch mode 68 if ischar(Param) && ~isempty(find(regexp(Param,'.xml$'))) %batch mode 71 69 Param=xml2struct(Param); 72 70 checkrun=0; … … 165 163 166 164 %% set processing parameters 167 if checkrun ==-1165 if ~isfield(Param,'Specific') 168 166 prompt = {'volume scan mode (Yes/No)';'Number of images for the sliding background (MUST FIT IN COMPUTER MEMORY)';... 169 167 'the luminosity rank chosen to define the background (0.1=for dense particle seeding, 0.5 (median) for sparse particles'}; … … 203 201 GUI_config.CheckLevelTransform=strcmp(answer,'Yes'); 204 202 205 % return to BATCH mode206 if checkrun==-1203 % % return to BATCH mode 204 % if checkrun==-1 207 205 return %transfer to BATCH mode 208 end206 % end 209 207 else 210 208 GUI_config=Param.Specific;
Note: See TracChangeset
for help on using the changeset viewer.