Changes between Version 189 and Version 190 of UvmatHelp
- Timestamp:
- Jan 29, 2015, 8:35:34 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UvmatHelp
v189 v190 730 730 The actual start of the processing is triggered by pressing the button '''[RUN]'''. It can be run in local mode, i.e. on the current Matlab session, or as ''background'', by selecting this option in '''[!RunMode]'''. In mode ''background'', calculation is performed in a new Matlab session (without graphics) so that the current Matlab session is free for new operations. If a cluster system has been detected, a third option 'cluster' appears in the menu, allowing to dispatch parallel computations on a computer cluster. 731 731 732 When '''[RUN]''' is activated the information from the GUI '''series''' is transcripted to a file .xml in a subfolder '0_XML' of the folder containing the result files. Therefore the operation parameters are preserved, and can be retrieved in the GUI''' series''' by the menu bar command '''[Open config]'''. In the modes 'background' or 'cluster', input information for the calculation is transmitted by this xml file. In the mode 'cluster', the calculation is split into sub-calculations, with an xml file for each. A sub-folder '''/0_LOG''' then contains the messages sent by the computation as a replacement of the work window display of the usual interactive Matlab mode. 732 When '''[RUN]''' is activated the information from the GUI '''series''' is transcripted to a file .xml in a subfolder '0_XML' of the folder containing the result files. Therefore the operation parameters are preserved, and can be retrieved in the GUI''' series''' by the menu bar command '''[Open config]'''. In the modes 'background' or 'cluster', input information for the calculation is transmitted by this xml file. In the mode 'cluster', the calculation is split into sub-calculations, with an xml file for each. A sub-folder '''/0_LOG''' then contains the messages sent by the computation as a replacement of the work window display of the usual interactive Matlab mode. 733 733 734 734 For the option 'cluster', a compiled version of the action function is useful, to avoid installing Matlab on each node of the cluster. This is achieved by selecting the option ''.sh'' in the menu '''[!ActionExt]'''. If the compiled version is not yet available, or outdated, the GUI proposes a new compilation of the selected function (launching the function ''compile.m'' requiring the Matlab compilator toolbox). The use of compiled function on the cluster requires a file '!RunTime' whose address needs to be specified in the parameter file PARAM.xml of the package UVMAT. The commands in '''series''' are set for the system 'oar', but adding the equivalent commands for another cluster system is straightforward (this must be done in the sub-function ''RUN_Callback'' of ''series.m''). … … 837 837 * vec_F=3: the optimisation of the correlation function is unstable or local Intensity rms of the image =0. Must be selected. 838 838 839 '''- Threshold on the image correlation: ''' (vec_C) can be introduced by the edit box '''[num_!MinCorr]''' (value between 0 and 1). It removes vectors with poor correlation.839 '''- Threshold on the image correlation: ''' (vec_C) can be introduced by the edit box '''[num_!MinCorr]''' (value between 0 and 1). It removes vectors with poor correlation. 840 840 841 841 '''- Threshold on the velocity modulus: ''' (expressed in pixels). It can remove either excessive values (threshold set by '''[num_MaxVel]''') or too small values (threshold set by '''[num_MinVel]'''). Erratic zero velocity vectors, produced by a fixed image background, can be eliminated by the latter criterium. … … 1011 1011 === Other GUIs(function .m and associated figure .fig) === 1012 1012 * 'browse_data';...% function, associated with the GUI 'browse_data.fig' for scanning directories in a project/campaign 1013 * 'civ';... %function associated with the interface 'civ.fig' for PIV and spline interpolation (to be replaced by civ_series in series fcts).1013 * 'civ';... %function associated with the interface 'civ.fig' for the Fortran package CivX (obsolete, replaced by 'civ_series'). 1014 1014 * 'create_grid';...% called by the GUI geometry_calib to create a physical grid. 1015 1015 * 'dataview';...% function for scanning directories in a campaign. … … 1032 1032 1033 1033 === Main functions used === 1034 * 'civ_matlab';...% civ programs, Matlab version (called by civ.m, option !Civprogram/Matlab in the upper menu bar). 1035 * 'plot_field';...%displays a vector field and/or scalar or images. 1034 * 'plot_field';...% plots a field: vectors, scalar or images, or usual (x,y) plot, depending on the nature of the input field. 1036 1035 * 'plot_object';...%draws a projection object (points, line, plane...). 1037 1036 * 'proj_field';...%project a field on a projection object (plane, line,...). 1038 * 'RUN_STLIN';...% combine 2 displacement fields for stereo PIV * 'sub_field';...% combine the two input fields,1039 1037 1040 1038 === Convert and I/O functions ===