Changeset 811
- Timestamp:
- Aug 13, 2014, 3:08:49 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fill_GUI.m
r809 r811 2 2 % ----------------------------------------------------------------------- 3 3 % function errormsg=fill_GUI(Param,GUI_handle) 4 % OU PUT:4 % OUTPUT: 5 5 % errormsg: error message, ='' by default 6 6 % -
trunk/src/fullfile_uvmat.m
r809 r811 7 7 %------------------------------------------------------------------------ 8 8 % OUTPUT: 9 % filename: string representing the full file name (including path)10 % ------------------------------------------------------------------------9 % filename: string representing the full file name (including path) 10 % 11 11 % INPUT: 12 % RootPath: path to the base file13 % SubDir: name of the SubDirectory for netcdf files (relevant for NomTypes with index pairs 1-2 or ab )14 % RootFile: FileName without appendix15 % FileExt: file extension16 % NomType: char chain characterizing the file nomenclature, made as12 % RootPath: path to the base file 13 % SubDir: name of the SubDirectory for netcdf files (relevant for NomTypes with index pairs 1-2 or ab ) 14 % RootFile: FileName without appendix 15 % FileExt: file extension 16 % NomType: char chain characterizing the file nomenclature, made as 17 17 % nom_type='': constant name [filebase ext] (default output if 'nom_type' is undefined) 18 18 % nom_type='*':constant name for a file representing a series (e.g. avi movie) … … 27 27 % nom_type='_1_ab','1_ab','01_ab'..., from pairs of '#' images 28 28 % (e.g.'aa045bc.nc'), ext='.nc' 29 % i1: first number i30 % i2: second number i (only for .nc files)31 % j1: first number j32 % j2: second number j (only for .nc files)33 % ------------------------------------------------------------------------34 % related functions:35 % fileparts_uvmat, num2stra, stra2num.29 % i1: first number i 30 % i2: second number i (only for .nc files) 31 % j1: first number j 32 % j2: second number j (only for .nc files) 33 % 34 % RELATED FUNCTIONS: 35 % fileparts_uvmat, num2stra, stra2num. 36 36 37 37 %======================================================================= -
trunk/src/get_field.m
r809 r811 4 4 % associated with the GUI get_field.fig 5 5 % 6 % OU PUT:6 % OUTPUT: 7 7 % GetFieldData: structure containing the information on the selected 8 8 % fields, obtained by applying the fct red_GUI to the GUI get_field -
trunk/src/phys_XYZ.m
r809 r811 136 136 %'px_XYZ': transform phys coordinates to image coordinates (px) 137 137 % 138 % OU PUT:138 % OUTPUT: 139 139 % X,Y: array of coordinates in the image cooresponding to the input physical positions 140 140 % (origin at lower leftcorner, unit=pixel) -
trunk/src/plot_field.m
r809 r811 14 14 % function [PlotType,PlotParamOut,haxes]= plot_field(Data,haxes,PlotParam,PosColorbar) 15 15 % 16 % OU PUT:16 % OUTPUT: 17 17 % PlotType: type of plot: 'text','line'(curve plot),'plane':2D view,'volume' 18 18 % PlotParamOut: structure, representing the updated plotting parameters, in case of automatic scaling 19 19 % haxes: handle of the plotting axis, when a new figure is created. 20 20 % 21 % INPUT21 % INPUT: 22 22 % Data: structure describing the field to plot 23 23 % (optional) .ListGlobalAttribute: cell listing the names of the global attributes -
trunk/src/struct2nc.m
r809 r811 3 3 % errormsg=struct2nc(flname,Data) 4 4 % 5 % OU PUT:5 % OUTPUT: 6 6 % errormsg=error message, =[]: default, no error 7 7 % -
trunk/src/struct2nc_toolbox.m
r809 r811 3 3 % errormsg=struct2nc_toolbox(flname,Data) 4 4 % 5 % OUPUT:6 % errormsg=error message, =[]: default, no error5 % OUTPUT: 6 % errormsg=error message, =[]: default, no error 7 7 % 8 % INPUT:9 % flname: name of the netcdf file to create (must end with the extension '.nc')8 % INPUT: 9 % flname: name of the netcdf file to create (must end with the extension '.nc') 10 10 % Data: structure containing all the information of the netcdf file (or netcdf object) 11 11 % with fields: -
trunk/src/sub_field.m
r809 r811 9 9 % function SubData=sub_field(Field,XmlData,Field_1) 10 10 % 11 % OU PUT:11 % OUTPUT: 12 12 % SubData: structure representing the resulting field 13 13 % -
trunk/src/tps_coeff.m
r809 r811 14 14 % [U_smooth,U_tps]=tps_coeff(ctrs,U,Smoothing) 15 15 %------------------------------------------------------------------------ 16 % OU PUT:17 % U_smooth: values of the quantity U at the N centres after smoothing18 % U_tps: tps weights of the centres and columns of the linear16 % OUTPUT: 17 % U_smooth: values of the quantity U at the N centres after smoothing 18 % U_tps: tps weights of the centres and columns of the linear 19 19 20 % INPUT:21 % ctrs: NxNbDim matrix representing the positions of the N centers, sources of the tps (NbDim=space dimension)22 % U: Nx1 column vector representing the values of the considered scalar measured at the centres ctrs23 % Smoothing: smoothing parameter: the result is smoother for larger Smoothing.20 % INPUT: 21 % ctrs: NxNbDim matrix representing the positions of the N centers, sources of the tps (NbDim=space dimension) 22 % U: Nx1 column vector representing the values of the considered scalar measured at the centres ctrs 23 % Smoothing: smoothing parameter: the result is smoother for larger Smoothing. 24 24 % 25 % related functions:26 % tps_eval, tps_eval_dxy27 % tps_coeff_field, set_subdomains, filter_tps, calc_field25 % RELATED FUNCTIONS: 26 % tps_eval, tps_eval_dxy 27 % tps_coeff_field, set_subdomains, filter_tps, calc_field 28 28 29 29 %======================================================================= -
trunk/src/tps_eval.m
r809 r811 4 4 % function EM = tps_eval(dsites,ctrs) 5 5 %------------------------------------------------------------------------ 6 % OU PUT:7 % EM: Mx(N+s) matrix representing the contributions at the M sites6 % OUTPUT: 7 % EM: Mx(N+s) matrix representing the contributions at the M sites 8 8 % from unit sources located at each of the N centers, + (s+1) columns 9 9 % representing the contribution of the linear gradient part. 10 10 % use : U_interp=EM*U_tps 11 11 % 12 % INPUT:13 % dsites: Mxs matrix representing the postions of the M 'observation' sites, with s the space dimension14 % ctrs: Nxs matrix representing the postions of the N centers, sources of the tps,12 % INPUT: 13 % dsites: Mxs matrix representing the postions of the M 'observation' sites, with s the space dimension 14 % ctrs: Nxs matrix representing the postions of the N centers, sources of the tps, 15 15 % 16 % related functions:17 % tps_coeff, tps_eval_dxy18 % tps_coeff_field, set_subdomains, filter_tps, calc_field16 % RELATED FUNCTIONS: 17 % tps_coeff, tps_eval_dxy 18 % tps_coeff_field, set_subdomains, filter_tps, calc_field 19 19 20 20 %======================================================================= -
trunk/src/tps_eval_dxy.m
r809 r811 4 4 %------------------------------------------------------------------------ 5 5 % OUTPUT: 6 % 7 % 8 % 9 % 6 % DMX: Mx(N+3) matrix representing the contributions to the X 7 % derivatives at the M sites from unit sources located at each of the N 8 % centers, + 3 columns representing the contribution of the linear gradient part. 9 % DMY: idem for Y derivatives 10 10 % 11 11 % INPUT: 12 % 13 % 12 % dsites: M x s matrix of interpolation site coordinates (s=space dimension=2 here) 13 % ctrs: N x s matrix of centre coordinates (initial data) 14 14 % 15 % related functions:16 % tps_coeff, tps_eval17 % tps_coeff_field, set_subdomains, filter_tps, calc_field15 % RELATED FUNCTIONS: 16 % tps_coeff, tps_eval 17 % tps_coeff_field, set_subdomains, filter_tps, calc_field 18 18 19 19 %=======================================================================
Note: See TracChangeset
for help on using the changeset viewer.