Changeset 1167 for trunk/src/series


Ignore:
Timestamp:
Nov 29, 2024, 8:09:33 PM (5 months ago)
Author:
sommeria
Message:

mask display fixed

Location:
trunk/src/series
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ_input.m

    r1164 r1167  
    217217set(handles.dt_unit,'String',['dt in m' TimeUnit]);%display dt in unit 10-3 of the time (e.g ms)
    218218set(handles.TimeUnit,'String',TimeUnit);
    219 set(handles.SearchRange,'UserData', pxcm_search);
     219% set(handles.SearchRange,'UserData', pxcm_search);
    220220
    221221
     
    231231    if isempty(index_max),index_max=1;end
    232232    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})
    234236    end
    235237else  %case of netcdf file opening, start with the stage read in the file if the input file is being refreshed
     
    277279    fill_GUI(Param.ActionInput,hObject);%fill the GUI with the parameters retrieved from the input Param
    278280
    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)
    280282               SearchRange=round((Param.ActionInput.Civ1.SearchBoxSize-Param.ActionInput.Civ1.CorrBoxSize)/2);
    281283                set(handles.num_SearchRange_1(1),'String',num2str(SearchRange(1)))
     
    413415%Param.CheckCiv1=1;
    414416Param.Civ1.CorrBoxSize=[31 31 1];
    415 Param.Civ1.SearchRange=[15 15 2];
     417Param.Civ1.SearchRange=[15 15];
    416418Param.Civ1.SearchBoxShift=[0 0];
    417419Param.Civ1.CorrSmooth=1;
     
    19151917% Hints: get(hObject,'String') returns contents of num_SearchRange_3 as text
    19161918%        str2double(get(hObject,'String')) returns contents of num_SearchRange_3 as a double
     1919
     1920
     1921
     1922function 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.