Changeset 809
- Timestamp:
- Aug 13, 2014, 2:47:15 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 87 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ListDir.m
r569 r809 16 16 % ListDevices_in: list of devices to scan (cell of names) 17 17 % ListRecords_in: list of records to scan (cell of names) 18 19 %======================================================================= 20 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 21 % http://www.legi.grenoble-inp.fr 22 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 % 24 % This file is part of the toolbox UVMAT. 25 % 26 % UVMAT is free software; you can redistribute it and/or modify 27 % it under the terms of the GNU General Public License as published 28 % by the Free Software Foundation; either version 2 of the license, 29 % or (at your option) any later version. 30 % 31 % UVMAT is distributed in the hope that it will be useful, 32 % but WITHOUT ANY WARRANTY; without even the implied warranty of 33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 % GNU General Public License (see LICENSE.txt) for more details. 35 %======================================================================= 18 36 19 37 function [ListDevices,ListRecords,ListXml,List]=ListDir(CurrentPath,ListExperiments,ListDevices_in,ListRecords_in) -
trunk/src/RUN_STLIN.m
r264 r809 2 2 % file_A,file_B: input velocity files 3 3 %vel_type: string ='civ1' or 'civ2' 4 5 %======================================================================= 6 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 7 % http://www.legi.grenoble-inp.fr 8 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 9 % 10 % This file is part of the toolbox UVMAT. 11 % 12 % UVMAT is free software; you can redistribute it and/or modify 13 % it under the terms of the GNU General Public License as published 14 % by the Free Software Foundation; either version 2 of the license, 15 % or (at your option) any later version. 16 % 17 % UVMAT is distributed in the hope that it will be useful, 18 % but WITHOUT ANY WARRANTY; without even the implied warranty of 19 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 % GNU General Public License (see LICENSE.txt) for more details. 21 %======================================================================= 22 4 23 function RUN_STLIN(file_A,file_B,vel_type,file_st,nx_patch,ny_patch,thresh_patch,fileAxml,fileBxml) 5 24 -
trunk/src/activate.m
r660 r809 9 9 % Position=[x y] coordinates set for the mouse relative to the object (default =[] corresponds to the centre [0.5 0.5] 10 10 % Value: value set to the element, for instance string to select on a menu 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 11 29 12 30 function activate(FigTag,PanelTag,ObjectTag,Position,Value) -
trunk/src/binread_rdv.m
r784 r809 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [imgs,timestamps,nb_frames]=binread_rdv(filename,frame_idx) 2 20 % BINREAD_RDV Permet de lire les fichiers bin générés par Hiris à partir du -
trunk/src/browse_data.m
r801 r809 4 4 % associated with the GUI browse_data.fig 5 5 6 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 7 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 8 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 6 %======================================================================= 7 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 8 % http://www.legi.grenoble-inp.fr 9 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 10 % 9 11 % This file is part of the toolbox UVMAT. 10 % 12 % 11 13 % UVMAT is free software; you can redistribute it and/or modify 12 % it under the terms of the GNU General Public License as published by13 % the Free Software Foundation; either version 2 of the License, or14 % (at your option) any later version.15 % 14 % it under the terms of the GNU General Public License as published 15 % by the Free Software Foundation; either version 2 of the license, 16 % or (at your option) any later version. 17 % 16 18 % UVMAT is distributed in the hope that it will be useful, 17 19 % but WITHOUT ANY WARRANTY; without even the implied warranty of 18 20 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.20 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA21 % GNU General Public License (see LICENSE.txt) for more details. 22 %======================================================================= 21 23 22 24 function varargout = browse_data(varargin) -
trunk/src/calc_field_interp.m
r675 r809 14 14 % XI, YI: set of x and y coordinates where the fields need to be linearly interpolated, 15 15 % if XI, YI are missing, there is no interpolation (case of colors in vector plots) 16 17 %======================================================================= 18 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 19 % http://www.legi.grenoble-inp.fr 20 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 21 % 22 % This file is part of the toolbox UVMAT. 23 % 24 % UVMAT is free software; you can redistribute it and/or modify 25 % it under the terms of the GNU General Public License as published 26 % by the Free Software Foundation; either version 2 of the license, 27 % or (at your option) any later version. 28 % 29 % UVMAT is distributed in the hope that it will be useful, 30 % but WITHOUT ANY WARRANTY; without even the implied warranty of 31 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32 % GNU General Public License (see LICENSE.txt) for more details. 33 %======================================================================= 34 17 35 function [VarVal,ListVarName,VarAttribute,errormsg]=calc_field_interp(Coord,Data,FieldName,XI,YI) 18 36 -
trunk/src/calc_field_tps.m
r675 r809 24 24 % [nb_site,nb_coord] for an array of interpolation sites 25 25 % [nb_site_y,nb_site_x,nb_coord] for interpolation on a plane grid of size [nb_site_y,nb_site_x] 26 27 %======================================================================= 28 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 29 % http://www.legi.grenoble-inp.fr 30 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 31 % 32 % This file is part of the toolbox UVMAT. 33 % 34 % UVMAT is free software; you can redistribute it and/or modify 35 % it under the terms of the GNU General Public License as published 36 % by the Free Software Foundation; either version 2 of the license, 37 % or (at your option) any later version. 38 % 39 % UVMAT is distributed in the hope that it will be useful, 40 % but WITHOUT ANY WARRANTY; without even the implied warranty of 41 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 42 % GNU General Public License (see LICENSE.txt) for more details. 43 %======================================================================= 26 44 27 45 function [DataOut,VarAttribute,errormsg]=calc_field_tps(Coord_tps,NbCentre,SubRange,FieldVar,FieldName,Coord_interp) -
trunk/src/cell2tab.m
r128 r809 9 9 % Tabcell: (ni,nj) cell matrix of char strings to be displayed as ni lines , nj column 10 10 % separator: char string used for separating displayed columns 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 11 29 12 30 function Tabchar=cell2tab(Tabcell,separator) -
trunk/src/check_files.m
r801 r809 10 10 % ver : svn version in case this is a svn repository 11 11 12 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 13 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 14 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 15 17 % This file is part of the toolbox UVMAT. 16 18 % 17 19 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published by19 % the Free Software Foundation; either version 2 of the License, or20 % (at your option) any later version.20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 21 23 % 22 24 % UVMAT is distributed in the hope that it will be useful, 23 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.26 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 27 29 28 30 function [checkmsg,date_str,svn_info]=check_files -
trunk/src/civ.m
r801 r809 1 2 1 %'civ': function associated with the interface 'civ.fig' for PIV, spline interpolation and stereo PIV (patch) 3 2 %------------------------------------------------------------------------ … … 5 4 % function varargout = civ(varargin) 6 5 % provides an interface for the software menucivx 6 7 %======================================================================= 8 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 9 % http://www.legi.grenoble-inp.fr 10 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 7 11 % 8 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9 % Copyright 2011-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr10 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA11 12 % This file is part of the toolbox UVMAT. 12 13 % 13 14 % UVMAT is free software; you can redistribute it and/or modify 14 % it under the terms of the GNU General Public License as published by15 % the Free Software Foundation; either version 2 of the License, or16 % (at your option) any later version.15 % it under the terms of the GNU General Public License as published 16 % by the Free Software Foundation; either version 2 of the license, 17 % or (at your option) any later version. 17 18 % 18 19 % UVMAT is distributed in the hope that it will be useful, 19 20 % but WITHOUT ANY WARRANTY; without even the implied warranty of 20 21 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 % GNU General Public License (file UVMAT/COPYING.txt) for more details. 22 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 22 % GNU General Public License (see LICENSE.txt) for more details. 23 %======================================================================= 24 23 25 function varargout = civ(varargin) 24 26 %TODO: search range -
trunk/src/civ_3D.m
r801 r809 4 4 % function varargout = civ_3D(varargin) 5 5 % provides an interface for the software CIVx 6 7 %======================================================================= 8 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 9 % http://www.legi.grenoble-inp.fr 10 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 6 11 % 7 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 8 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 9 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 10 % This file is part of the toolbox UVMAT. 11 % 12 % This file is part of the toolbox UVMAT. 13 % 12 14 % UVMAT is free software; you can redistribute it and/or modify 13 % it under the terms of the GNU General Public License as published by14 % the Free Software Foundation; either version 2 of the License, or15 % (at your option) any later version.16 % 15 % it under the terms of the GNU General Public License as published 16 % by the Free Software Foundation; either version 2 of the license, 17 % or (at your option) any later version. 18 % 17 19 % UVMAT is distributed in the hope that it will be useful, 18 20 % but WITHOUT ANY WARRANTY; without even the implied warranty of 19 21 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 % GNU General Public License (file UVMAT/COPYING.txt) for more details. 21 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 22 % GNU General Public License (see LICENSE.txt) for more details. 23 %======================================================================= 24 22 25 function varargout = civ_3D(varargin) 23 26 -
trunk/src/civ_matlab.m
r801 r809 21 21 % .Patch2: 22 22 % ncfile: name of a netcdf file to be created for the result (extension .nc) 23 24 %======================================================================= 25 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 26 % http://www.legi.grenoble-inp.fr 27 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 28 % 24 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 25 % Copyright 2011-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 26 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 27 % This is part of the toolbox UVMAT. 28 % 29 % This file is part of the toolbox UVMAT. 30 % 29 31 % UVMAT is free software; you can redistribute it and/or modify 30 % it under the terms of the GNU General Public License as published by31 % the Free Software Foundation; either version 2 of the License, or32 % (at your option) any later version.33 % 32 % it under the terms of the GNU General Public License as published 33 % by the Free Software Foundation; either version 2 of the license, 34 % or (at your option) any later version. 35 % 34 36 % UVMAT is distributed in the hope that it will be useful, 35 37 % but WITHOUT ANY WARRANTY; without even the implied warranty of 36 38 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 37 % GNU General Public License ( open UVMAT/COPYING.txt) for more details.38 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA39 % GNU General Public License (see LICENSE.txt) for more details. 40 %======================================================================= 39 41 40 42 function [Data,errormsg,result_conv]= civ_matlab(Param,ncfile) -
trunk/src/close_fig.m
r19 r809 7 7 % 8 8 9 %======================================================================= 10 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 11 % http://www.legi.grenoble-inp.fr 12 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 13 % 14 % This file is part of the toolbox UVMAT. 15 % 16 % UVMAT is free software; you can redistribute it and/or modify 17 % it under the terms of the GNU General Public License as published 18 % by the Free Software Foundation; either version 2 of the license, 19 % or (at your option) any later version. 20 % 21 % UVMAT is distributed in the hope that it will be useful, 22 % but WITHOUT ANY WARRANTY; without even the implied warranty of 23 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24 % GNU General Public License (see LICENSE.txt) for more details. 25 %======================================================================= 26 9 27 function close_fig(ggg,eventdata,hparent,type) 10 28 if isequal(type,'zoom') -
trunk/src/compile.m
r800 r809 5 5 %INPUT: 6 6 %FctName: name of the Matlab fct to compile (without .m extension) 7 8 %======================================================================= 9 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 10 % http://www.legi.grenoble-inp.fr 11 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 7 12 % 13 % This file is part of the toolbox UVMAT. 14 % 15 % UVMAT is free software; you can redistribute it and/or modify 16 % it under the terms of the GNU General Public License as published 17 % by the Free Software Foundation; either version 2 of the license, 18 % or (at your option) any later version. 19 % 20 % UVMAT is distributed in the hope that it will be useful, 21 % but WITHOUT ANY WARRANTY; without even the implied warranty of 22 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 % GNU General Public License (see LICENSE.txt) for more details. 24 %======================================================================= 25 8 26 function compile (FctName,SubfctPath) 9 27 if isempty(which('mcc')) -
trunk/src/concentration.m
r782 r809 1 1 %transform LIF images to concentration images 2 3 %======================================================================= 4 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 5 % http://www.legi.grenoble-inp.fr 6 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 7 % 8 % This file is part of the toolbox UVMAT. 9 % 10 % UVMAT is free software; you can redistribute it and/or modify 11 % it under the terms of the GNU General Public License as published 12 % by the Free Software Foundation; either version 2 of the license, 13 % or (at your option) any later version. 14 % 15 % UVMAT is distributed in the hope that it will be useful, 16 % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 % GNU General Public License (see LICENSE.txt) for more details. 19 %======================================================================= 2 20 3 21 function [DataOut,DataOut_1,DataMask]=concentration(Data,XmlData,Data_1,XmlData_1,Ref) -
trunk/src/copyfields.m
r19 r809 1 1 %'copyfields' copy fields between two matlab structures 2 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%3 % OU PUT:2 %------------------------------------------------------------------------ 3 % OUTPUT: 4 4 % NewData: resulting structure 5 5 % 6 % INPUT:6 % INPUT: 7 7 % listfields: cell arrays representing the list of field names to be copied 8 8 % SourceData: structure containing the source data to copy in NewData 9 9 % OldData: (optional) preexisting data structure. 10 11 %======================================================================= 12 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 13 % http://www.legi.grenoble-inp.fr 14 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 % 16 % This file is part of the toolbox UVMAT. 17 % 18 % UVMAT is free software; you can redistribute it and/or modify 19 % it under the terms of the GNU General Public License as published 20 % by the Free Software Foundation; either version 2 of the license, 21 % or (at your option) any later version. 22 % 23 % UVMAT is distributed in the hope that it will be useful, 24 % but WITHOUT ANY WARRANTY; without even the implied warranty of 25 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 % GNU General Public License (see LICENSE.txt) for more details. 27 %======================================================================= 10 28 11 29 function NewData=copyfields(listfields,SourceData,OldData) -
trunk/src/create_grid.m
r694 r809 9 9 % input_grid (optional): structure to initiate the GUI with fields .x_0,.Dx,.x_1 10 10 % (defining x coordinates), .y_0,.Dy,.y_1 (defining y coordinates) 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 11 29 12 30 function varargout = create_grid(varargin) -
trunk/src/disp_uvmat.m
r747 r809 10 10 % checkrun: =0: batch mode: text display on log file 11 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 29 12 30 function hh=disp_uvmat(title,display_str,checkrun) 13 31 hh=[]; -
trunk/src/editxml.m
r801 r809 7 7 %INPUT: inputfile: name of an xml file 8 8 9 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 10 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 11 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 9 %======================================================================= 10 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 11 % http://www.legi.grenoble-inp.fr 12 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 13 % 12 14 % This file is part of the toolbox UVMAT. 13 % 15 % 14 16 % UVMAT is free software; you can redistribute it and/or modify 15 % it under the terms of the GNU General Public License as published by16 % the Free Software Foundation; either version 2 of the License, or17 % (at your option) any later version.18 % 17 % it under the terms of the GNU General Public License as published 18 % by the Free Software Foundation; either version 2 of the license, 19 % or (at your option) any later version. 20 % 19 21 % UVMAT is distributed in the hope that it will be useful, 20 22 % but WITHOUT ANY WARRANTY; without even the implied warranty of 21 23 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.23 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA24 % GNU General Public License (see LICENSE.txt) for more details. 25 %======================================================================= 24 26 25 27 function varargout = editxml(varargin) -
trunk/src/fileparts_uvmat.m
r575 r809 26 26 %INPUT: 27 27 %FileInput: complete name of the file, including path 28 29 %======================================================================= 30 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 31 % http://www.legi.grenoble-inp.fr 32 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 33 % 34 % This file is part of the toolbox UVMAT. 35 % 36 % UVMAT is free software; you can redistribute it and/or modify 37 % it under the terms of the GNU General Public License as published 38 % by the Free Software Foundation; either version 2 of the license, 39 % or (at your option) any later version. 40 % 41 % UVMAT is distributed in the hope that it will be useful, 42 % but WITHOUT ANY WARRANTY; without even the implied warranty of 43 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 44 % GNU General Public License (see LICENSE.txt) for more details. 45 %======================================================================= 28 46 29 47 function [RootPath,SubDir,RootFile,i1,i2,j1,j2,FileExt,NomType]=fileparts_uvmat(FileInput) -
trunk/src/fill_GUI.m
r772 r809 10 10 % 11 11 % see also the reverse function read_GUI.m 12 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 12 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 30 13 31 function errormsg=fill_GUI(Param,GUI_handle) 14 32 %------------------------------------------------------------------------ -
trunk/src/filter_tps.m
r772 r809 18 18 % Threshold: max diff accepted between smoothed and initial data 19 19 % Subdomain: estimated number of data points in each subdomain 20 21 %======================================================================= 22 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 23 % http://www.legi.grenoble-inp.fr 24 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 25 % 26 % This file is part of the toolbox UVMAT. 27 % 28 % UVMAT is free software; you can redistribute it and/or modify 29 % it under the terms of the GNU General Public License as published 30 % by the Free Software Foundation; either version 2 of the license, 31 % or (at your option) any later version. 32 % 33 % UVMAT is distributed in the hope that it will be useful, 34 % but WITHOUT ANY WARRANTY; without even the implied warranty of 35 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 36 % GNU General Public License (see LICENSE.txt) for more details. 37 %======================================================================= 20 38 21 39 function [SubRange,NbCentre,Coord_tps,U_tps,V_tps,W_tps,U_smooth,V_smooth,W_smooth,FF] =filter_tps(Coord,U,V,W,SubDomain,Rho,Threshold) -
trunk/src/find_field_bounds.m
r747 r809 7 7 % .XMin,.XMax,.YMin,.YMax,bounds for x and y 8 8 % .CoordMesh: typical mesh needed for automatic grids 9 9 % 10 10 %INPUT 11 11 % Field 12 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 12 30 13 31 function FieldOut=find_field_bounds(Field) -
trunk/src/find_field_cells.m
r801 r809 42 42 % VarIndex=CellVarIndex{icell}; % list of variable indices 43 43 % DimIndex=Data.VarDimIndex{VarIndex(1)} % list of dimensions for each variable in the cell #icell 44 45 %======================================================================= 46 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 47 % http://www.legi.grenoble-inp.fr 48 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 44 49 % 45 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA46 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr47 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA48 50 % This file is part of the toolbox UVMAT. 49 % 51 % 50 52 % UVMAT is free software; you can redistribute it and/or modify 51 % it under the terms of the GNU General Public License as published by52 % the Free Software Foundation; either version 2 of the License, or53 % (at your option) any later version.54 % 53 % it under the terms of the GNU General Public License as published 54 % by the Free Software Foundation; either version 2 of the license, 55 % or (at your option) any later version. 56 % 55 57 % UVMAT is distributed in the hope that it will be useful, 56 58 % but WITHOUT ANY WARRANTY; without even the implied warranty of 57 59 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 58 % GNU General Public License (file UVMAT/COPYING.txt) for more details.for input in proj_field and plot_field 60 % GNU General Public License (see LICENSE.txt) for more details. 61 %======================================================================= 62 59 63 % group the variables into 'fields' with common dimensions 60 64 -
trunk/src/find_file_series.m
r801 r809 26 26 % checkxml: =1(default) take into account xml file existence to possibly include indexes in RootFile 27 27 % =0: do not take into account xml file existence 28 % 29 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 30 % Copyright 2011-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 31 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 28 29 %======================================================================= 30 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 31 % http://www.legi.grenoble-inp.fr 32 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 33 % 32 34 % This file is part of the toolbox UVMAT. 33 % 35 % 34 36 % UVMAT is free software; you can redistribute it and/or modify 35 % it under the terms of the GNU General Public License as published by36 % the Free Software Foundation; either version 2 of the License, or37 % (at your option) any later version.38 % 37 % it under the terms of the GNU General Public License as published 38 % by the Free Software Foundation; either version 2 of the license, 39 % or (at your option) any later version. 40 % 39 41 % UVMAT is distributed in the hope that it will be useful, 40 42 % but WITHOUT ANY WARRANTY; without even the implied warranty of 41 43 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 42 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.43 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA44 % GNU General Public License (see LICENSE.txt) for more details. 45 %======================================================================= 44 46 45 47 function [RootPath,SubDir,RootFile,i1_series,i2_series,j1_series,j2_series,NomType,FileInfo,MovieObject,i1_input,i2_input,j1_input,j2_input]=find_file_series(FilePath,fileinput,checkxml) -
trunk/src/find_imadoc.m
r738 r809 9 9 % INPUT: 10 10 % RootPath,SubDir,RootFile,FileExt, as given from the input file name by fileparts_uvmat 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 29 11 30 function XmlFileName=find_imadoc(RootPath,SubDir,RootFile,FileExt) 12 31 SubDirBase=SubDir; -
trunk/src/fullfile_uvmat.m
r714 r809 34 34 %related functions: 35 35 % fileparts_uvmat, num2stra, stra2num. 36 37 %======================================================================= 38 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 39 % http://www.legi.grenoble-inp.fr 40 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 41 % 42 % This file is part of the toolbox UVMAT. 43 % 44 % UVMAT is free software; you can redistribute it and/or modify 45 % it under the terms of the GNU General Public License as published 46 % by the Free Software Foundation; either version 2 of the license, 47 % or (at your option) any later version. 48 % 49 % UVMAT is distributed in the hope that it will be useful, 50 % but WITHOUT ANY WARRANTY; without even the implied warranty of 51 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 52 % GNU General Public License (see LICENSE.txt) for more details. 53 %======================================================================= 36 54 37 55 function filename=fullfile_uvmat(RootPath,SubDir,RootFile,FileExt,NomType,i1,i2,j1,j2) -
trunk/src/geometry_calib.m
r801 r809 9 9 % inputfile: (optional) name of an xml file containing coordinates of reference points 10 10 % pos: (optional) 4 element vector setting the 'Position' of the GUI 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 11 16 % 12 %A%AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA13 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr14 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA15 17 % This file is part of the toolbox UVMAT. 16 % 18 % 17 19 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published by19 % the Free Software Foundation; either version 2 of the License, or20 % (at your option) any later version.21 % 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 22 24 % UVMAT is distributed in the hope that it will be useful, 23 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.26 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 27 29 28 30 function varargout = geometry_calib(varargin) -
trunk/src/get_field.m
r801 r809 15 15 % INPUT: 16 16 % FileName: name (including path) of the netcdf file to open 17 18 %======================================================================= 19 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 20 % http://www.legi.grenoble-inp.fr 21 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 22 % 18 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA19 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr20 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA21 23 % This file is part of the toolbox UVMAT. 22 % 24 % 23 25 % UVMAT is free software; you can redistribute it and/or modify 24 % it under the terms of the GNU General Public License as published by25 % the Free Software Foundation; either version 2 of the License, or26 % (at your option) any later version.27 % 26 % it under the terms of the GNU General Public License as published 27 % by the Free Software Foundation; either version 2 of the license, 28 % or (at your option) any later version. 29 % 28 30 % UVMAT is distributed in the hope that it will be useful, 29 31 % but WITHOUT ANY WARRANTY; without even the implied warranty of 30 32 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.32 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA33 % GNU General Public License (see LICENSE.txt) for more details. 34 %======================================================================= 33 35 34 36 function varargout = get_field(varargin) -
trunk/src/get_file_index.m
r718 r809 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [i1,i2,j1,j2] = get_file_index(ref_i,ref_j,PairString) 2 20 %get the first file name set by the GUI series -
trunk/src/get_file_info.m
r790 r809 16 16 % INPUT: 17 17 % fileinput: name, including path, of the file to analyse 18 19 %======================================================================= 20 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 21 % http://www.legi.grenoble-inp.fr 22 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 % 24 % This file is part of the toolbox UVMAT. 25 % 26 % UVMAT is free software; you can redistribute it and/or modify 27 % it under the terms of the GNU General Public License as published 28 % by the Free Software Foundation; either version 2 of the license, 29 % or (at your option) any later version. 30 % 31 % UVMAT is distributed in the hope that it will be useful, 32 % but WITHOUT ANY WARRANTY; without even the implied warranty of 33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 % GNU General Public License (see LICENSE.txt) for more details. 35 %======================================================================= 36 18 37 function [FileInfo,VideoObject]=get_file_info(fileinput) 19 38 VideoObject=[]; -
trunk/src/get_file_series.m
r783 r809 9 9 % i1_series{iview}(ref_j,ref_i)... are the corresponding arrays of indices i1,i2,j1,j2, depending on the input line iview and the two reference indices ref_i,ref_j 10 10 % i1_series{iview}(fileindex) expresses the same indices as a 1D array in file indices 11 11 % 12 12 % INPUT: 13 13 % Param: structure of input parameters as read from the GUI series (by the function read_GUI) 14 15 %======================================================================= 16 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 17 % http://www.legi.grenoble-inp.fr 18 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 19 % 20 % This file is part of the toolbox UVMAT. 21 % 22 % UVMAT is free software; you can redistribute it and/or modify 23 % it under the terms of the GNU General Public License as published 24 % by the Free Software Foundation; either version 2 of the license, 25 % or (at your option) any later version. 26 % 27 % UVMAT is distributed in the hope that it will be useful, 28 % but WITHOUT ANY WARRANTY; without even the implied warranty of 29 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30 % GNU General Public License (see LICENSE.txt) for more details. 31 %======================================================================= 14 32 15 33 function [filecell,i1_series,i2_series,j1_series,j2_series]=get_file_series(Param) -
trunk/src/get_file_type.m
r784 r809 16 16 % INPUT: 17 17 % fileinput: name, including path, of the file to analyse 18 19 %======================================================================= 20 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 21 % http://www.legi.grenoble-inp.fr 22 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 % 24 % This file is part of the toolbox UVMAT. 25 % 26 % UVMAT is free software; you can redistribute it and/or modify 27 % it under the terms of the GNU General Public License as published 28 % by the Free Software Foundation; either version 2 of the license, 29 % or (at your option) any later version. 30 % 31 % UVMAT is distributed in the hope that it will be useful, 32 % but WITHOUT ANY WARRANTY; without even the implied warranty of 33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 % GNU General Public License (see LICENSE.txt) for more details. 35 %======================================================================= 36 18 37 function [FileType,FileInfo,VideoObject]=get_file_type(fileinput) 19 38 VideoObject=[]; -
trunk/src/hist_update.m
r19 r809 15 15 % can be a column vector (icolor=1), or a matrix with three columns, for color images 16 16 % dC: width of the new bins extending val to account for the new field. 17 18 %======================================================================= 19 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 20 % http://www.legi.grenoble-inp.fr 21 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 22 % 23 % This file is part of the toolbox UVMAT. 24 % 25 % UVMAT is free software; you can redistribute it and/or modify 26 % it under the terms of the GNU General Public License as published 27 % by the Free Software Foundation; either version 2 of the license, 28 % or (at your option) any later version. 29 % 30 % UVMAT is distributed in the hope that it will be useful, 31 % but WITHOUT ANY WARRANTY; without even the implied warranty of 32 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 % GNU General Public License (see LICENSE.txt) for more details. 34 %======================================================================= 17 35 18 36 function [val,HIST]=hist_update(val,HIST,C,dC) -
trunk/src/imadoc2struct.m
r687 r809 14 14 % ImaDoc: full name of the xml input file with head key ImaDoc 15 15 % varargin: optional list of strings to restrict the reading to a selection of subtrees, for instance 'GeometryCalib' (save time) 16 17 %======================================================================= 18 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 19 % http://www.legi.grenoble-inp.fr 20 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 21 % 22 % This file is part of the toolbox UVMAT. 23 % 24 % UVMAT is free software; you can redistribute it and/or modify 25 % it under the terms of the GNU General Public License as published 26 % by the Free Software Foundation; either version 2 of the license, 27 % or (at your option) any later version. 28 % 29 % UVMAT is distributed in the hope that it will be useful, 30 % but WITHOUT ANY WARRANTY; without even the implied warranty of 31 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32 % GNU General Public License (see LICENSE.txt) for more details. 33 %======================================================================= 16 34 17 35 function [s,errormsg]=imadoc2struct(ImaDoc,varargin) -
trunk/src/ini2struct.m
r784 r809 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function Result = ini2struct(FileName) 2 20 %========================================================================== -
trunk/src/interp2_uvmat.m
r653 r809 9 9 %XIMA: matrix of non-integer x index values (npY,npX) 10 10 %YIMA: matrix of non-integer y index values (npY,npX), (with the same size as XIMA) 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 11 29 12 30 function A_out=interp2_uvmat(A,XIMA,YIMA) -
trunk/src/keyboard_callback.m
r764 r809 1 1 %'keyboard_callback:' function activated when a key is pressed on the keyboard 2 2 %----------------------------------- 3 4 %======================================================================= 5 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 6 % http://www.legi.grenoble-inp.fr 7 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 8 % 9 % This file is part of the toolbox UVMAT. 10 % 11 % UVMAT is free software; you can redistribute it and/or modify 12 % it under the terms of the GNU General Public License as published 13 % by the Free Software Foundation; either version 2 of the license, 14 % or (at your option) any later version. 15 % 16 % UVMAT is distributed in the hope that it will be useful, 17 % but WITHOUT ANY WARRANTY; without even the implied warranty of 18 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 % GNU General Public License (see LICENSE.txt) for more details. 20 %======================================================================= 21 3 22 function keyboard_callback(hObject,eventdata,handleshaxes) 4 23 cur_axes=get(hObject,'CurrentAxes');%current plotting axes of the figure with handle hObject -
trunk/src/mask_proj.m
r801 r809 2 2 %-------------------------------------------------------------------------- 3 3 % function [ProjData,errormsg]=mask_proj(FieldData,MaskData) 4 5 %======================================================================= 6 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 7 % http://www.legi.grenoble-inp.fr 8 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 4 9 % 5 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr7 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8 10 % This file is part of the toolbox UVMAT. 9 % 11 % 10 12 % UVMAT is free software; you can redistribute it and/or modify 11 % it under the terms of the GNU General Public License as published by12 % the Free Software Foundation; either version 2 of the License, or13 % (at your option) any later version.14 % 13 % it under the terms of the GNU General Public License as published 14 % by the Free Software Foundation; either version 2 of the license, 15 % or (at your option) any later version. 16 % 15 17 % UVMAT is distributed in the hope that it will be useful, 16 18 % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 19 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.19 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA20 % GNU General Public License (see LICENSE.txt) for more details. 21 %======================================================================= 20 22 21 23 function [ProjData,errormsg]=mask_proj(FieldData,MaskData) -
trunk/src/mouse_down.m
r801 r809 5 5 % set(hObject,'WindowButtonDownFcn',{'mouse_down'}), 6 6 % where hObject is the handle of the figure 7 8 %======================================================================= 9 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 10 % http://www.legi.grenoble-inp.fr 11 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 7 12 % 8 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr10 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA11 13 % This file is part of the toolbox UVMAT. 12 % 14 % 13 15 % UVMAT is free software; you can redistribute it and/or modify 14 % it under the terms of the GNU General Public License as published by15 % the Free Software Foundation; either version 2 of the License, or16 % (at your option) any later version.17 % 16 % it under the terms of the GNU General Public License as published 17 % by the Free Software Foundation; either version 2 of the license, 18 % or (at your option) any later version. 19 % 18 20 % UVMAT is distributed in the hope that it will be useful, 19 21 % but WITHOUT ANY WARRANTY; without even the implied warranty of 20 22 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.22 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA23 % GNU General Public License (see LICENSE.txt) for more details. 24 %======================================================================= 23 25 24 26 function xy=mouse_down(hObject,eventdata) -
trunk/src/mouse_motion.m
r801 r809 6 6 % set(hObject,'WindowButtonMotionFcn',{'mouse_motion',handles}) 7 7 % where hObject is the handle of the figure 8 9 %======================================================================= 10 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 11 % http://www.legi.grenoble-inp.fr 12 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 8 13 % 9 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA10 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr11 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA12 14 % This file is part of the toolbox UVMAT. 13 % 15 % 14 16 % UVMAT is free software; you can redistribute it and/or modify 15 % it under the terms of the GNU General Public License as published by16 % the Free Software Foundation; either version 2 of the License, or17 % (at your option) any later version.18 % 17 % it under the terms of the GNU General Public License as published 18 % by the Free Software Foundation; either version 2 of the license, 19 % or (at your option) any later version. 20 % 19 21 % UVMAT is distributed in the hope that it will be useful, 20 22 % but WITHOUT ANY WARRANTY; without even the implied warranty of 21 23 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.23 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA24 % GNU General Public License (see LICENSE.txt) for more details. 25 %======================================================================= 24 26 25 27 function mouse_motion(hObject,eventdata,handles) -
trunk/src/mouse_up.m
r801 r809 6 6 % where hObject is the handle of the figure 7 7 8 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 9 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 10 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 8 %======================================================================= 9 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 10 % http://www.legi.grenoble-inp.fr 11 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 12 % 11 13 % This file is part of the toolbox UVMAT. 12 % 14 % 13 15 % UVMAT is free software; you can redistribute it and/or modify 14 % it under the terms of the GNU General Public License as published by15 % the Free Software Foundation; either version 2 of the License, or16 % (at your option) any later version.17 % 16 % it under the terms of the GNU General Public License as published 17 % by the Free Software Foundation; either version 2 of the license, 18 % or (at your option) any later version. 19 % 18 20 % UVMAT is distributed in the hope that it will be useful, 19 21 % but WITHOUT ANY WARRANTY; without even the implied warranty of 20 22 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.22 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA23 % GNU General Public License (see LICENSE.txt) for more details. 24 %======================================================================= 23 25 24 26 function mouse_up(hObject,eventdata,handles) -
trunk/src/msgbox_uvmat.m
r747 r809 1 2 1 %'msgbox_uvmat': associated with GUI msgbox_uvmat.fig to display message boxes, for error, warning or input calls 3 2 % … … 18 17 % display: displayed text 19 18 % default_answer: default answer in the edit box (only used with title='INPUT_TXT') 19 20 %======================================================================= 21 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 22 % http://www.legi.grenoble-inp.fr 23 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 24 % 25 % This file is part of the toolbox UVMAT. 26 % 27 % UVMAT is free software; you can redistribute it and/or modify 28 % it under the terms of the GNU General Public License as published 29 % by the Free Software Foundation; either version 2 of the license, 30 % or (at your option) any later version. 31 % 32 % UVMAT is distributed in the hope that it will be useful, 33 % but WITHOUT ANY WARRANTY; without even the implied warranty of 34 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 35 % GNU General Public License (see LICENSE.txt) for more details. 36 %======================================================================= 20 37 21 38 function varargout = msgbox_uvmat(varargin) -
trunk/src/nc2struct.m
r801 r809 35 35 % representing time indices to select for each variable, the cell of other input variable names. 36 36 37 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 38 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 39 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 37 %======================================================================= 38 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 39 % http://www.legi.grenoble-inp.fr 40 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 41 % 40 42 % This file is part of the toolbox UVMAT. 41 % 43 % 42 44 % UVMAT is free software; you can redistribute it and/or modify 43 % it under the terms of the GNU General Public License as published by44 % the Free Software Foundation; either version 2 of the License, or45 % (at your option) any later version.46 % 45 % it under the terms of the GNU General Public License as published 46 % by the Free Software Foundation; either version 2 of the license, 47 % or (at your option) any later version. 48 % 47 49 % UVMAT is distributed in the hope that it will be useful, 48 50 % but WITHOUT ANY WARRANTY; without even the implied warranty of 49 51 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 50 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.51 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA52 % GNU General Public License (see LICENSE.txt) for more details. 53 %======================================================================= 52 54 53 55 function [Data,var_detect,ichoice,errormsg]=nc2struct(nc,varargin) -
trunk/src/nomtype2pair.m
r646 r809 10 10 % 11 11 % for definitions of file index nomenclature, see fct fullfile_uvmat 12 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 12 30 13 31 function NomTypeOut=nomtype2pair(NomTypeIn) -
trunk/src/num2stra.m
r371 r809 11 11 % 12 12 % see also: stra2num, name_generator, name2display 13 14 %======================================================================= 15 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 16 % http://www.legi.grenoble-inp.fr 17 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 18 % 19 % This file is part of the toolbox UVMAT. 20 % 21 % UVMAT is free software; you can redistribute it and/or modify 22 % it under the terms of the GNU General Public License as published 23 % by the Free Software Foundation; either version 2 of the license, 24 % or (at your option) any later version. 25 % 26 % UVMAT is distributed in the hope that it will be useful, 27 % but WITHOUT ANY WARRANTY; without even the implied warranty of 28 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29 % GNU General Public License (see LICENSE.txt) for more details. 30 %======================================================================= 13 31 14 32 function str=num2stra(num,nom_type,index) -
trunk/src/phys_XYZ.m
r745 r809 7 7 %INPUT: 8 8 %Z: index of plane 9 10 %======================================================================= 11 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 12 % http://www.legi.grenoble-inp.fr 13 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 14 % 15 % This file is part of the toolbox UVMAT. 16 % 17 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published 19 % by the Free Software Foundation; either version 2 of the license, 20 % or (at your option) any later version. 21 % 22 % UVMAT is distributed in the hope that it will be useful, 23 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License (see LICENSE.txt) for more details. 26 %======================================================================= 27 9 28 function [Xphys,Yphys,Zphys]=phys_XYZ(Calib,X,Y,Zindex) 10 29 %------------------------------------------------------------------------ -
trunk/src/plot_field.m
r801 r809 81 81 % expressed in figure relative unit (ex [0.821 0.471 0.019 0.445]) 82 82 83 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 84 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 85 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 83 %======================================================================= 84 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 85 % http://www.legi.grenoble-inp.fr 86 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 87 % 86 88 % This file is part of the toolbox UVMAT. 87 % 89 % 88 90 % UVMAT is free software; you can redistribute it and/or modify 89 % it under the terms of the GNU General Public License as published by90 % the Free Software Foundation; either version 2 of the License, or91 % (at your option) any later version.92 % 91 % it under the terms of the GNU General Public License as published 92 % by the Free Software Foundation; either version 2 of the license, 93 % or (at your option) any later version. 94 % 93 95 % UVMAT is distributed in the hope that it will be useful, 94 96 % but WITHOUT ANY WARRANTY; without even the implied warranty of 95 97 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 96 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.97 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA98 % GNU General Public License (see LICENSE.txt) for more details. 99 %======================================================================= 98 100 99 101 function [PlotType,PlotParamOut,haxes]= plot_field(Data,haxes,PlotParam) -
trunk/src/plot_object.m
r801 r809 20 20 % col: color of the plot, e;g; 'm', 'b' ..; 21 21 22 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 23 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 24 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 22 %======================================================================= 23 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 24 % http://www.legi.grenoble-inp.fr 25 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 26 % 25 27 % This file is part of the toolbox UVMAT. 26 % 28 % 27 29 % UVMAT is free software; you can redistribute it and/or modify 28 % it under the terms of the GNU General Public License as published by29 % the Free Software Foundation; either version 2 of the License, or30 % (at your option) any later version.31 % 30 % it under the terms of the GNU General Public License as published 31 % by the Free Software Foundation; either version 2 of the license, 32 % or (at your option) any later version. 33 % 32 34 % UVMAT is distributed in the hope that it will be useful, 33 35 % but WITHOUT ANY WARRANTY; without even the implied warranty of 34 36 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 35 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.36 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA37 % GNU General Public License (see LICENSE.txt) for more details. 38 %======================================================================= 37 39 38 40 function [hh]=plot_object(ObjectData,ProjObject,hplot,col) -
trunk/src/proj_field.m
r801 r809 63 63 % case of a structured grid: A is a dim 2 matrix and .AX=[first last] (length 2 vector) represents the first and last abscissa of the grid 64 64 % case of an unstructured scalar: A is a vector, AX and AY the corresponding coordinates 65 66 %======================================================================= 67 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 68 % http://www.legi.grenoble-inp.fr 69 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 65 70 % 66 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA67 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr68 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA69 71 % This file is part of the toolbox UVMAT. 70 % 72 % 71 73 % UVMAT is free software; you can redistribute it and/or modify 72 % it under the terms of the GNU General Public License as published by73 % the Free Software Foundation; either version 2 of the License, or74 % (at your option) any later version.75 % 74 % it under the terms of the GNU General Public License as published 75 % by the Free Software Foundation; either version 2 of the license, 76 % or (at your option) any later version. 77 % 76 78 % UVMAT is distributed in the hope that it will be useful, 77 79 % but WITHOUT ANY WARRANTY; without even the implied warranty of 78 80 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 79 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.80 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA81 % GNU General Public License (see LICENSE.txt) for more details. 82 %======================================================================= 81 83 82 84 function [ProjData,errormsg]=proj_field(FieldData,ObjectData) -
trunk/src/proj_grid.m
r38 r809 3 3 % function [A,rangx,rangy]=proj_grid(vec_X,vec_Y,vec_A,rgx_in,rgy_in,npxy_in) 4 4 5 %======================================================================= 6 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 7 % http://www.legi.grenoble-inp.fr 8 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 9 % 10 % This file is part of the toolbox UVMAT. 11 % 12 % UVMAT is free software; you can redistribute it and/or modify 13 % it under the terms of the GNU General Public License as published 14 % by the Free Software Foundation; either version 2 of the license, 15 % or (at your option) any later version. 16 % 17 % UVMAT is distributed in the hope that it will be useful, 18 % but WITHOUT ANY WARRANTY; without even the implied warranty of 19 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 % GNU General Public License (see LICENSE.txt) for more details. 21 %======================================================================= 5 22 6 23 function [A,rangx,rangy]=proj_grid(vec_X,vec_Y,vec_A,rgx_in,rgy_in,npxy_in) -
trunk/src/px_XYZ.m
r542 r809 9 9 % Calib: structure containing calibration parameters 10 10 % Xphys,Yphys,Zphys; vectors of physical coordinates for a set of points 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 11 29 12 30 function [X,Y]=px_XYZ(Calib,Xphys,Yphys,Zphys) -
trunk/src/read_GUI.m
r711 r809 13 13 % -case 'listbox','popupmenu': struct.(tag)=selected string, or, if the tag is in the form by 'num_tag', struct.(tag)=str2double(string) 14 14 % -case 'table': struct.(tag)=data of the table 15 % 15 16 %======================================================================= 17 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 18 % http://www.legi.grenoble-inp.fr 19 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 20 % 21 % This file is part of the toolbox UVMAT. 22 % 23 % UVMAT is free software; you can redistribute it and/or modify 24 % it under the terms of the GNU General Public License as published 25 % by the Free Software Foundation; either version 2 of the license, 26 % or (at your option) any later version. 27 % 28 % UVMAT is distributed in the hope that it will be useful, 29 % but WITHOUT ANY WARRANTY; without even the implied warranty of 30 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31 % GNU General Public License (see LICENSE.txt) for more details. 32 %======================================================================= 33 16 34 function struct=read_GUI(handle) 17 35 %------------------------------------------------------------------------ -
trunk/src/read_civdata.m
r674 r809 39 39 % if vel_type=[] or'*', a priority choice, given by vel_type_out{1,2}, is done depending 40 40 % if vel_type='filter'; a structured field is sought (filter2 in priority, then filter1) 41 42 41 % 43 42 % FUNCTIONS called: 44 43 % 'varcivx_generator':, sets the names of vaiables to read in the netcdf file 45 44 % 'nc2struct': reads a netcdf file 45 46 %======================================================================= 47 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 48 % http://www.legi.grenoble-inp.fr 49 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 50 % 51 % This file is part of the toolbox UVMAT. 52 % 53 % UVMAT is free software; you can redistribute it and/or modify 54 % it under the terms of the GNU General Public License as published 55 % by the Free Software Foundation; either version 2 of the license, 56 % or (at your option) any later version. 57 % 58 % UVMAT is distributed in the hope that it will be useful, 59 % but WITHOUT ANY WARRANTY; without even the implied warranty of 60 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 61 % GNU General Public License (see LICENSE.txt) for more details. 62 %======================================================================= 46 63 47 64 function [Field,VelTypeOut,errormsg]=read_civdata(FileName,FieldNames,VelType) -
trunk/src/read_civxdata.m
r581 r809 41 41 % if vel_type=[] or'*', a priority choice, given by vel_type_out{1,2}, is done depending 42 42 % if vel_type='filter'; a structured field is sought (filter2 in priority, then filter1) 43 44 43 % 45 44 % FUNCTIONS called: 46 45 % 'varcivx_generator':, sets the names of vaiables to read in the netcdf file 47 46 % 'nc2struct': reads a netcdf file 47 48 %======================================================================= 49 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 50 % http://www.legi.grenoble-inp.fr 51 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 52 % 53 % This file is part of the toolbox UVMAT. 54 % 55 % UVMAT is free software; you can redistribute it and/or modify 56 % it under the terms of the GNU General Public License as published 57 % by the Free Software Foundation; either version 2 of the license, 58 % or (at your option) any later version. 59 % 60 % UVMAT is distributed in the hope that it will be useful, 61 % but WITHOUT ANY WARRANTY; without even the implied warranty of 62 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 63 % GNU General Public License (see LICENSE.txt) for more details. 64 %======================================================================= 48 65 49 66 function [Field,VelTypeOut,errormsg]=read_civxdata(filename,FieldNames,VelType) -
trunk/src/read_field.m
r785 r809 24 24 % 25 25 % see also read_image.m,read_civxdata.m,read_civdata.m, 26 27 %======================================================================= 28 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 29 % http://www.legi.grenoble-inp.fr 30 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 31 % 32 % This file is part of the toolbox UVMAT. 33 % 34 % UVMAT is free software; you can redistribute it and/or modify 35 % it under the terms of the GNU General Public License as published 36 % by the Free Software Foundation; either version 2 of the license, 37 % or (at your option) any later version. 38 % 39 % UVMAT is distributed in the hope that it will be useful, 40 % but WITHOUT ANY WARRANTY; without even the implied warranty of 41 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 42 % GNU General Public License (see LICENSE.txt) for more details. 43 %======================================================================= 26 44 27 45 function [Field,ParamOut,errormsg] = read_field(FileName,FileType,ParamIn,num) -
trunk/src/read_image.m
r784 r809 13 13 % VideoObject: video object (for faster reading if availlable) 14 14 % num: frame index for movies or multimage types 15 16 %======================================================================= 17 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 18 % http://www.legi.grenoble-inp.fr 19 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 20 % 21 % This file is part of the toolbox UVMAT. 22 % 23 % UVMAT is free software; you can redistribute it and/or modify 24 % it under the terms of the GNU General Public License as published 25 % by the Free Software Foundation; either version 2 of the license, 26 % or (at your option) any later version. 27 % 28 % UVMAT is distributed in the hope that it will be useful, 29 % but WITHOUT ANY WARRANTY; without even the implied warranty of 30 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31 % GNU General Public License (see LICENSE.txt) for more details. 32 %======================================================================= 33 16 34 function [A,ObjectOut]=read_image(FileName,FileType,VideoObject,num) 17 35 %----------------------------------------------------------------------- -
trunk/src/read_lvm.m
r799 r809 1 1 % read_lvm: read data from the output files of labview (file extension .lvm) 2 3 %======================================================================= 4 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 5 % http://www.legi.grenoble-inp.fr 6 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 7 % 8 % This file is part of the toolbox UVMAT. 9 % 10 % UVMAT is free software; you can redistribute it and/or modify 11 % it under the terms of the GNU General Public License as published 12 % by the Free Software Foundation; either version 2 of the license, 13 % or (at your option) any later version. 14 % 15 % UVMAT is distributed in the hope that it will be useful, 16 % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 % GNU General Public License (see LICENSE.txt) for more details. 19 %======================================================================= 20 2 21 function Data=read_lvm(filename) 3 22 Data.ListGlobalAttribute={'FileName','Experiment','DateTime'}; -
trunk/src/read_multimadoc.m
r696 r809 13 13 % RootPath,SubDir,RootFile,FileExt: cell arrays characterizing the input file series 14 14 % i1_series,i2_series,j1_series,j2_series: cell arrays of file index arrays, as given by the fct uvmat/get_file_series 15 16 %======================================================================= 17 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 18 % http://www.legi.grenoble-inp.fr 19 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 20 % 21 % This file is part of the toolbox UVMAT. 22 % 23 % UVMAT is free software; you can redistribute it and/or modify 24 % it under the terms of the GNU General Public License as published 25 % by the Free Software Foundation; either version 2 of the license, 26 % or (at your option) any later version. 27 % 28 % UVMAT is distributed in the hope that it will be useful, 29 % but WITHOUT ANY WARRANTY; without even the implied warranty of 30 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31 % GNU General Public License (see LICENSE.txt) for more details. 32 %======================================================================= 33 16 34 function [XmlData,NbSlice_calib,Time,warnmsg]=read_multimadoc(RootPath,SubDir,RootFile,FileExt,i1_series,i2_series,j1_series,j2_series) 17 35 warnmsg=''; -
trunk/src/read_rdvision.m
r797 r809 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [A,FileInfo,timestamps,errormsg]=read_rdvision(filename,frame_idx) 2 20 % BINREAD_RDV Permet de lire les fichiers bin gᅵnᅵrᅵs par Hiris ᅵ partir du -
trunk/src/read_xls.m
r801 r809 9 9 % fileinput: name of the input file (char string) 10 10 % hfig: handle of the display figure (a new display figure hfig_xls is created if hfig undefined) 11 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 11 16 % 12 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA13 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr14 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA15 17 % This file is part of the toolbox UVMAT. 16 % 18 % 17 19 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published by19 % the Free Software Foundation; either version 2 of the License, or20 % (at your option) any later version.21 % 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 22 24 % UVMAT is distributed in the hope that it will be useful, 23 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.26 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 27 29 28 30 function [hfig_xls]=read_xls(fileinput,hfig) -
trunk/src/reinit.m
r2 r809 1 1 %'reinit': delete the personal parameter file 'uvmat_perso.mat' 2 3 %======================================================================= 4 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 5 % http://www.legi.grenoble-inp.fr 6 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 2 7 % 8 % This file is part of the toolbox UVMAT. 9 % 10 % UVMAT is free software; you can redistribute it and/or modify 11 % it under the terms of the GNU General Public License as published 12 % by the Free Software Foundation; either version 2 of the license, 13 % or (at your option) any later version. 14 % 15 % UVMAT is distributed in the hope that it will be useful, 16 % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 % GNU General Public License (see LICENSE.txt) for more details. 19 %======================================================================= 20 3 21 function reinit 4 22 dir_perso=prefdir; -
trunk/src/rotate_points.m
r356 r809 10 10 %INPUT: 11 11 % Tinput: like T, used to prefil the GUI edit boxs 12 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 12 30 13 31 function varargout = rotate_points(varargin) -
trunk/src/series.m
r803 r809 13 13 % .index_fields: chosen index 14 14 % .civ1=0 or 1, .interp1, ... : input civ field type 15 16 %======================================================================= 17 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 18 % http://www.legi.grenoble-inp.fr 19 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 20 % 16 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA17 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr18 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA19 21 % This file is part of the toolbox UVMAT. 20 % 22 % 21 23 % UVMAT is free software; you can redistribute it and/or modify 22 % it under the terms of the GNU General Public License as published by23 % the Free Software Foundation; either version 2 of the License, or24 % (at your option) any later version.25 % 24 % it under the terms of the GNU General Public License as published 25 % by the Free Software Foundation; either version 2 of the license, 26 % or (at your option) any later version. 27 % 26 28 % UVMAT is distributed in the hope that it will be useful, 27 29 % but WITHOUT ANY WARRANTY; without even the implied warranty of 28 30 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.30 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA31 % GNU General Public License (see LICENSE.txt) for more details. 32 %======================================================================= 31 33 32 34 %------------------------------------------------------------------------ -
trunk/src/set_col_vec.m
r654 r809 10 10 %INPUT 11 11 % colcode: struture setting the colorcode for vectors 12 %colcode.CName: 'ima_cor','black','white',...13 %colcode.ColorCode ='black', 'white', 'rgb','brg', '64 colors'14 %colcode.CheckFixVecColor =0; thresholds scaling relative to min and max, =1 fixed thresholds15 % colcode.MinVec; min 16 %colcode.MaxVec; max17 %colcode.ColCode1: first threshold for rgb, relative to min (0) and max (1)18 % colcode.ColCode2: second threshold for rgb, relative to min (0) and max (1), 19 %rmq: we need min <= ColCode1 <= ColCode2 <= max, otherwise20 %ColCode1 and ColCode2 are adjusted to the bounds12 % colcode.CName: 'ima_cor','black','white',... 13 % colcode.ColorCode ='black', 'white', 'rgb','brg', '64 colors' 14 % colcode.CheckFixVecColor =0; thresholds scaling relative to min and max, =1 fixed thresholds 15 % colcode.MinVec; min 16 % colcode.MaxVec; max 17 % colcode.ColCode1: first threshold for rgb, relative to min (0) and max (1) 18 % colcode.ColCode2: second threshold for rgb, relative to min (0) and max (1), 19 % rmq: we need min <= ColCode1 <= ColCode2 <= max, otherwise 20 % ColCode1 and ColCode2 are adjusted to the bounds 21 21 % vec_C: matlab vector representing the scalar setting the color 22 23 %======================================================================= 24 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 25 % http://www.legi.grenoble-inp.fr 26 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 27 % 28 % This file is part of the toolbox UVMAT. 29 % 30 % UVMAT is free software; you can redistribute it and/or modify 31 % it under the terms of the GNU General Public License as published 32 % by the Free Software Foundation; either version 2 of the license, 33 % or (at your option) any later version. 34 % 35 % UVMAT is distributed in the hope that it will be useful, 36 % but WITHOUT ANY WARRANTY; without even the implied warranty of 37 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 38 % GNU General Public License (see LICENSE.txt) for more details. 39 %======================================================================= 40 22 41 function [colorlist,col_vec,colcode_out]=set_col_vec(colcode,vec_C) 23 42 col_vec=ones(size(vec_C));%all vectors at color#1 by default -
trunk/src/set_field_list.m
r769 r809 15 15 % varname_generator.m: determines the field names to read in the netcdf 16 16 % file, depending on the scalar 17 18 %======================================================================= 19 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 20 % http://www.legi.grenoble-inp.fr 21 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 22 % 23 % This file is part of the toolbox UVMAT. 24 % 25 % UVMAT is free software; you can redistribute it and/or modify 26 % it under the terms of the GNU General Public License as published 27 % by the Free Software Foundation; either version 2 of the license, 28 % or (at your option) any later version. 29 % 30 % UVMAT is distributed in the hope that it will be useful, 31 % but WITHOUT ANY WARRANTY; without even the implied warranty of 32 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 % GNU General Public License (see LICENSE.txt) for more details. 34 %======================================================================= 17 35 18 36 function [FieldList,VecColorList]=set_field_list(UName,VName,CName) -
trunk/src/set_grid.m
r801 r809 3 3 % function varargout = set_grid(varargin) 4 4 % associated with the GUI set_grid.fig 5 6 %======================================================================= 7 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 8 % http://www.legi.grenoble-inp.fr 9 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 10 % 6 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr8 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9 11 % This file is part of the toolbox UVMAT. 10 % 12 % 11 13 % UVMAT is free software; you can redistribute it and/or modify 12 % it under the terms of the GNU General Public License as published by13 % the Free Software Foundation; either version 2 of the License, or14 % (at your option) any later version.15 % 14 % it under the terms of the GNU General Public License as published 15 % by the Free Software Foundation; either version 2 of the license, 16 % or (at your option) any later version. 17 % 16 18 % UVMAT is distributed in the hope that it will be useful, 17 19 % but WITHOUT ANY WARRANTY; without even the implied warranty of 18 20 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.20 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA21 % GNU General Public License (see LICENSE.txt) for more details. 22 %======================================================================= 21 23 22 24 function varargout = set_grid(varargin) -
trunk/src/set_object.m
r801 r809 17 17 % PlotHandles: handles for projection plots NO MORE USED 18 18 % Zbounds: bounds on Z ( 3D case) 19 20 %======================================================================= 21 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 22 % http://www.legi.grenoble-inp.fr 23 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 19 24 % 20 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA21 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr22 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA23 25 % This file is part of the toolbox UVMAT. 24 % 26 % 25 27 % UVMAT is free software; you can redistribute it and/or modify 26 % it under the terms of the GNU General Public License as published by27 % the Free Software Foundation; either version 2 of the License, or28 % (at your option) any later version.29 % 28 % it under the terms of the GNU General Public License as published 29 % by the Free Software Foundation; either version 2 of the license, 30 % or (at your option) any later version. 31 % 30 32 % UVMAT is distributed in the hope that it will be useful, 31 33 % but WITHOUT ANY WARRANTY; without even the implied warranty of 32 34 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.34 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA35 % GNU General Public License (see LICENSE.txt) for more details. 36 %======================================================================= 35 37 36 38 function varargout = set_object(varargin) -
trunk/src/set_subdomains.m
r651 r809 12 12 % coord=[X Y]: matrix whose first column is the x coordinates of the input data points, the second column the y coordinates 13 13 % SubdomainNbPoint: estimated number of data points whished for each subdomain 14 15 %======================================================================= 16 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 17 % http://www.legi.grenoble-inp.fr 18 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 19 % 20 % This file is part of the toolbox UVMAT. 21 % 22 % UVMAT is free software; you can redistribute it and/or modify 23 % it under the terms of the GNU General Public License as published 24 % by the Free Software Foundation; either version 2 of the license, 25 % or (at your option) any later version. 26 % 27 % UVMAT is distributed in the hope that it will be useful, 28 % but WITHOUT ANY WARRANTY; without even the implied warranty of 29 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30 % GNU General Public License (see LICENSE.txt) for more details. 31 %======================================================================= 14 32 15 33 function [SubRange,NbCentre,IndSelSubDomain] =set_subdomains(Coord,SubDomainNbPoint) -
trunk/src/stra2num.m
r353 r809 11 11 % see also num2stra, name_generator, name2display 12 12 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 30 13 31 function numres=stra2num(str) 14 32 numres=[]; %default -
trunk/src/struct2nc.m
r801 r809 17 17 % (requested) .Var1, .Var2....: variables (Matlab arrays) with names listed in .ListVarName 18 18 19 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 20 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 21 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 19 %======================================================================= 20 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 21 % http://www.legi.grenoble-inp.fr 22 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 % 22 24 % This file is part of the toolbox UVMAT. 23 % 25 % 24 26 % UVMAT is free software; you can redistribute it and/or modify 25 % it under the terms of the GNU General Public License as published by26 % the Free Software Foundation; either version 2 of the License, or27 % (at your option) any later version.28 % 27 % it under the terms of the GNU General Public License as published 28 % by the Free Software Foundation; either version 2 of the license, 29 % or (at your option) any later version. 30 % 29 31 % UVMAT is distributed in the hope that it will be useful, 30 32 % but WITHOUT ANY WARRANTY; without even the implied warranty of 31 33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.33 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA34 % GNU General Public License (see LICENSE.txt) for more details. 35 %======================================================================= 34 36 35 37 function errormsg=struct2nc(flname,Data) -
trunk/src/struct2nc_toolbox.m
r801 r809 18 18 % .VarAttribute: cell of structures s containing names and values of variable attributes (s.name=value) for each variable of .ListVarName 19 19 % .Var1, .Var2....: variables (Matlab arrays) with names listed in .ListVarName 20 21 %======================================================================= 22 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 23 % http://www.legi.grenoble-inp.fr 24 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 20 25 % 21 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA22 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr23 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA24 26 % This file is part of the toolbox UVMAT. 25 % 27 % 26 28 % UVMAT is free software; you can redistribute it and/or modify 27 % it under the terms of the GNU General Public License as published by28 % the Free Software Foundation; either version 2 of the License, or29 % (at your option) any later version.30 % 29 % it under the terms of the GNU General Public License as published 30 % by the Free Software Foundation; either version 2 of the license, 31 % or (at your option) any later version. 32 % 31 33 % UVMAT is distributed in the hope that it will be useful, 32 34 % but WITHOUT ANY WARRANTY; without even the implied warranty of 33 35 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 % GNU General Public License ( file UVMAT/COPYING.txt) for more details.35 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA36 % GNU General Public License (see LICENSE.txt) for more details. 37 %======================================================================= 36 38 37 39 function errormsg=struct2nc_toolbox(flname,Data) -
trunk/src/struct2xml.m
r598 r809 13 13 % t: optional input xml tree in which a new branch needs to be appended 14 14 % root_uid: optional uid of the xml element under which the new subtree must be appended 15 16 %======================================================================= 17 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 18 % http://www.legi.grenoble-inp.fr 19 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 20 % 21 % This file is part of the toolbox UVMAT. 22 % 23 % UVMAT is free software; you can redistribute it and/or modify 24 % it under the terms of the GNU General Public License as published 25 % by the Free Software Foundation; either version 2 of the license, 26 % or (at your option) any later version. 27 % 28 % UVMAT is distributed in the hope that it will be useful, 29 % but WITHOUT ANY WARRANTY; without even the implied warranty of 30 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31 % GNU General Public License (see LICENSE.txt) for more details. 32 %======================================================================= 15 33 16 34 function t=struct2xml(Object,t,root_uid) -
trunk/src/sub_field.m
r713 r809 15 15 % Field: matlab structure representing the first field 16 16 % Field_1:matlab structure representing the second field 17 18 %======================================================================= 19 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 20 % http://www.legi.grenoble-inp.fr 21 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 22 % 23 % This file is part of the toolbox UVMAT. 24 % 25 % UVMAT is free software; you can redistribute it and/or modify 26 % it under the terms of the GNU General Public License as published 27 % by the Free Software Foundation; either version 2 of the license, 28 % or (at your option) any later version. 29 % 30 % UVMAT is distributed in the hope that it will be useful, 31 % but WITHOUT ANY WARRANTY; without even the implied warranty of 32 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 % GNU General Public License (see LICENSE.txt) for more details. 34 %======================================================================= 17 35 18 36 function SubData=sub_field(Field,XmlData,Field_1) -
trunk/src/test_netcdf.m
r225 r809 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 % program to test struct2nc for creating netcdf files 2 20 %% creating a simple netcdf file -
trunk/src/test_tps.m
r434 r809 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 x=2*pi*rand(100,1);%set of random x coordinates from 0 to 2pi 2 20 y=2*pi*rand(100,1);%set of random y coordinates -
trunk/src/tps_coeff.m
r586 r809 27 27 % tps_coeff_field, set_subdomains, filter_tps, calc_field 28 28 29 %======================================================================= 30 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 31 % http://www.legi.grenoble-inp.fr 32 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 33 % 34 % This file is part of the toolbox UVMAT. 35 % 36 % UVMAT is free software; you can redistribute it and/or modify 37 % it under the terms of the GNU General Public License as published 38 % by the Free Software Foundation; either version 2 of the license, 39 % or (at your option) any later version. 40 % 41 % UVMAT is distributed in the hope that it will be useful, 42 % but WITHOUT ANY WARRANTY; without even the implied warranty of 43 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 44 % GNU General Public License (see LICENSE.txt) for more details. 45 %======================================================================= 46 29 47 function [U_smooth,U_tps]=tps_coeff(ctrs,U,Smoothing) 30 48 %------------------------------------------------------------------------ -
trunk/src/tps_coeff_field.m
r674 r809 17 17 % 'set_subdomains': sort a set of points defined by scattered coordinates in subdomains, as needed for tps interpolation 18 18 % 'tps_coeff': calculate the thin plate spline (tps) coefficients for a single domain. 19 20 %======================================================================= 21 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 22 % http://www.legi.grenoble-inp.fr 23 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 24 % 25 % This file is part of the toolbox UVMAT. 26 % 27 % UVMAT is free software; you can redistribute it and/or modify 28 % it under the terms of the GNU General Public License as published 29 % by the Free Software Foundation; either version 2 of the license, 30 % or (at your option) any later version. 31 % 32 % UVMAT is distributed in the hope that it will be useful, 33 % but WITHOUT ANY WARRANTY; without even the implied warranty of 34 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 35 % GNU General Public License (see LICENSE.txt) for more details. 36 %======================================================================= 19 37 20 38 function [DataOut,errormsg]=tps_coeff_field(DataIn,checkall) -
trunk/src/tps_eval.m
r581 r809 17 17 % tps_coeff, tps_eval_dxy 18 18 % tps_coeff_field, set_subdomains, filter_tps, calc_field 19 20 %======================================================================= 21 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 22 % http://www.legi.grenoble-inp.fr 23 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 24 % 25 % This file is part of the toolbox UVMAT. 26 % 27 % UVMAT is free software; you can redistribute it and/or modify 28 % it under the terms of the GNU General Public License as published 29 % by the Free Software Foundation; either version 2 of the license, 30 % or (at your option) any later version. 31 % 32 % UVMAT is distributed in the hope that it will be useful, 33 % but WITHOUT ANY WARRANTY; without even the implied warranty of 34 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 35 % GNU General Public License (see LICENSE.txt) for more details. 36 %======================================================================= 19 37 20 38 function EM = tps_eval(dsites,ctrs) -
trunk/src/tps_eval_dxy.m
r581 r809 17 17 % tps_coeff_field, set_subdomains, filter_tps, calc_field 18 18 19 function [DMX,DMY] = tps_eval_dxy(dsites,ctrs) 19 %======================================================================= 20 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 21 % http://www.legi.grenoble-inp.fr 22 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 % 24 % This file is part of the toolbox UVMAT. 25 % 26 % UVMAT is free software; you can redistribute it and/or modify 27 % it under the terms of the GNU General Public License as published 28 % by the Free Software Foundation; either version 2 of the license, 29 % or (at your option) any later version. 30 % 31 % UVMAT is distributed in the hope that it will be useful, 32 % but WITHOUT ANY WARRANTY; without even the implied warranty of 33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 % GNU General Public License (see LICENSE.txt) for more details. 35 %======================================================================= 36 37 function [DMX,DMY] = tps_eval_dxy(dsites,ctrs) 20 38 %% matrix declarations 21 39 [M,s] = size(dsites); [N,s] = size(ctrs); -
trunk/src/translate_points.m
r356 r809 5 5 % OUTPUT: 6 6 % T=vector size(1,3), representing the translation components along x,y,z 7 % 8 % INPUT: 9 % Tinput: like T, used to prefil the GUI edit boxs 7 10 8 %INPUT: 9 % Tinput: like T, used to prefil the GUI edit boxs 11 %======================================================================= 12 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 13 % http://www.legi.grenoble-inp.fr 14 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 % 16 % This file is part of the toolbox UVMAT. 17 % 18 % UVMAT is free software; you can redistribute it and/or modify 19 % it under the terms of the GNU General Public License as published 20 % by the Free Software Foundation; either version 2 of the license, 21 % or (at your option) any later version. 22 % 23 % UVMAT is distributed in the hope that it will be useful, 24 % but WITHOUT ANY WARRANTY; without even the implied warranty of 25 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 % GNU General Public License (see LICENSE.txt) for more details. 27 %======================================================================= 10 28 11 29 function varargout = translate_points(varargin) -
trunk/src/uigetfile_uvmat.m
r803 r809 16 16 % '.ext': display only files with extension '.ext' 17 17 % 'uigetdir'; browser used to select a directory (like the matlab browser 'uigetdir') 18 19 %======================================================================= 20 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 21 % http://www.legi.grenoble-inp.fr 22 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 % 24 % This file is part of the toolbox UVMAT. 25 % 26 % UVMAT is free software; you can redistribute it and/or modify 27 % it under the terms of the GNU General Public License as published 28 % by the Free Software Foundation; either version 2 of the license, 29 % or (at your option) any later version. 30 % 31 % UVMAT is distributed in the hope that it will be useful, 32 % but WITHOUT ANY WARRANTY; without even the implied warranty of 33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 % GNU General Public License (see LICENSE.txt) for more details. 35 %======================================================================= 18 36 19 37 function fileinput=uigetfile_uvmat(title,InputName,FilterExt) -
trunk/src/update_imadoc.m
r745 r809 8 8 % StructName : Name of the field in the xml file 9 9 %------------------------------------------------------------- 10 11 %======================================================================= 12 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 13 % http://www.legi.grenoble-inp.fr 14 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 % 16 % This file is part of the toolbox UVMAT. 17 % 18 % UVMAT is free software; you can redistribute it and/or modify 19 % it under the terms of the GNU General Public License as published 20 % by the Free Software Foundation; either version 2 of the license, 21 % or (at your option) any later version. 22 % 23 % UVMAT is distributed in the hope that it will be useful, 24 % but WITHOUT ANY WARRANTY; without even the implied warranty of 25 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 % GNU General Public License (see LICENSE.txt) for more details. 27 %======================================================================= 28 10 29 function errormsg=update_imadoc(Struct,outputfile,StructName) 11 30 errormsg=''; -
trunk/src/update_waitbar.m
r623 r809 4 4 % hwaitbar: handles of the waitbar to update 5 5 % advance_ratio: number between 0 and 1 representing the advancement of the calculation (loop index relative to the total length) 6 7 %======================================================================= 8 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 9 % http://www.legi.grenoble-inp.fr 10 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 11 % 12 % This file is part of the toolbox UVMAT. 13 % 14 % UVMAT is free software; you can redistribute it and/or modify 15 % it under the terms of the GNU General Public License as published 16 % by the Free Software Foundation; either version 2 of the license, 17 % or (at your option) any later version. 18 % 19 % UVMAT is distributed in the hope that it will be useful, 20 % but WITHOUT ANY WARRANTY; without even the implied warranty of 21 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 % GNU General Public License (see LICENSE.txt) for more details. 23 %======================================================================= 6 24 7 25 function update_waitbar(hwaitbar,advance_ratio) -
trunk/src/uvmat.m
r801 r809 11 11 % visualize, or Matlab structure representing netcdf fieldname (with fieldname 12 12 % ListVarName....) 13 14 %======================================================================= 15 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 16 % http://www.legi.grenoble-inp.fr 17 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 13 18 % 14 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 15 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 16 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 17 % This open is part of the toolbox UVMAT. 18 % 19 % This file is part of the toolbox UVMAT. 20 % 19 21 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published by21 % the Free Software Foundation; either version 2 of the License, or22 % (at your option) any later version.23 % 22 % it under the terms of the GNU General Public License as published 23 % by the Free Software Foundation; either version 2 of the license, 24 % or (at your option) any later version. 25 % 24 26 % UVMAT is distributed in the hope that it will be useful, 25 27 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 28 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License ( open UVMAT/COPYING.txt) for more details.28 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA29 % 29 % GNU General Public License (see LICENSE.txt) for more details. 30 %======================================================================= 31 30 32 % Information stored on the interface:(use 'Export/field in workspace' in 31 33 % the menu bar of uvmat to retrieve it) -
trunk/src/view_field.m
r801 r809 11 11 % visualize, or Matlab structure representing netcdf fields (with fields 12 12 % ListVarName....) 13 14 %======================================================================= 15 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 16 % http://www.legi.grenoble-inp.fr 17 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 13 18 % 14 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 15 % Copyright 2008-2014, LEGI / CNRS UJF G-INP, Joel.Sommeria@legi.grenoble-inp.fr 16 %AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 17 % This open is part of the toolbox VIEW_FIELD. 18 % 19 % VIEW_FIELD is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published by 21 % the Free Software Foundation; either version 2 of the License, or 22 % (at your option) any later version. 23 % 24 % VIEW_FIELD is distributed in the hope that it will be useful, 19 % This file is part of the toolbox UVMAT. 20 % 21 % UVMAT is free software; you can redistribute it and/or modify 22 % it under the terms of the GNU General Public License as published 23 % by the Free Software Foundation; either version 2 of the license, 24 % or (at your option) any later version. 25 % 26 % UVMAT is distributed in the hope that it will be useful, 25 27 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 28 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License ( open VIEW_FIELD/COPYING.txt) for more details.28 % AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA29 % GNU General Public License (see LICENSE.txt) for more details. 30 %======================================================================= 29 31 30 32 %------------------------------------------------------------------- -
trunk/src/xml2struct.m
r772 r809 11 11 % filename: name of the xml file 12 12 % varargin: optional list of strings to restrict the reading to a selection of subtrees, for instance 'GeometryCalib' (save reading time) 13 14 %======================================================================= 15 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 16 % http://www.legi.grenoble-inp.fr 17 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 18 % 19 % This file is part of the toolbox UVMAT. 20 % 21 % UVMAT is free software; you can redistribute it and/or modify 22 % it under the terms of the GNU General Public License as published 23 % by the Free Software Foundation; either version 2 of the license, 24 % or (at your option) any later version. 25 % 26 % UVMAT is distributed in the hope that it will be useful, 27 % but WITHOUT ANY WARRANTY; without even the implied warranty of 28 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29 % GNU General Public License (see LICENSE.txt) for more details. 30 %======================================================================= 13 31 14 32 function [s,RootTag,errormsg]=xml2struct(filename,varargin)
Note: See TracChangeset
for help on using the changeset viewer.