Changeset 1167 for trunk/src/series
- Timestamp:
- Nov 29, 2024, 8:09:33 PM (5 months ago)
- Location:
- trunk/src/series
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_input.m
r1164 r1167 217 217 set(handles.dt_unit,'String',['dt in m' TimeUnit]);%display dt in unit 10-3 of the time (e.g ms) 218 218 set(handles.TimeUnit,'String',TimeUnit); 219 set(handles.SearchRange,'UserData', pxcm_search);219 % set(handles.SearchRange,'UserData', pxcm_search); 220 220 221 221 … … 231 231 if isempty(index_max),index_max=1;end 232 232 for index=1:index_max 233 set(handles.(ListOptions{index}),'Value',1)% select all operations starting from CIV1 233 set(handles.(ListOptions{index}),'Value',1)% select all operations starting from CIV1 234 update_CivOptions(handles,0) 235 update_frame(handles,ListOptions{index}) 234 236 end 235 237 else %case of netcdf file opening, start with the stage read in the file if the input file is being refreshed … … 277 279 fill_GUI(Param.ActionInput,hObject);%fill the GUI with the parameters retrieved from the input Param 278 280 279 if isfield(Param.ActionInput,'Civ1')&& isfield(Param.ActionInput.Civ1,'SearchBoxSize') 281 if isfield(Param.ActionInput,'Civ1')&& isfield(Param.ActionInput.Civ1,'SearchBoxSize')%transform from SearchBoxSize to SearchRange (old to new convention) 280 282 SearchRange=round((Param.ActionInput.Civ1.SearchBoxSize-Param.ActionInput.Civ1.CorrBoxSize)/2); 281 283 set(handles.num_SearchRange_1(1),'String',num2str(SearchRange(1))) … … 413 415 %Param.CheckCiv1=1; 414 416 Param.Civ1.CorrBoxSize=[31 31 1]; 415 Param.Civ1.SearchRange=[15 15 2];417 Param.Civ1.SearchRange=[15 15]; 416 418 Param.Civ1.SearchBoxShift=[0 0]; 417 419 Param.Civ1.CorrSmooth=1; … … 1915 1917 % Hints: get(hObject,'String') returns contents of num_SearchRange_3 as text 1916 1918 % str2double(get(hObject,'String')) returns contents of num_SearchRange_3 as a double 1919 1920 1921 1922 function edit108_Callback(hObject, eventdata, handles) 1923 % hObject handle to edit108 (see GCBO) 1924 % eventdata reserved - to be defined in a future version of MATLAB 1925 % handles structure with handles and user data (see GUIDATA) 1926 1927 % Hints: get(hObject,'String') returns contents of edit108 as text 1928 % str2double(get(hObject,'String')) returns contents of edit108 as a double 1929 1930
Note: See TracChangeset
for help on using the changeset viewer.