{"id":574,"date":"2024-10-26T12:48:28","date_gmt":"2024-10-26T10:48:28","guid":{"rendered":"https:\/\/bdagroup.nl\/?p=574"},"modified":"2024-10-26T13:06:19","modified_gmt":"2024-10-26T11:06:19","slug":"synchronization-toolbox","status":"publish","type":"post","link":"https:\/\/bdagroup.nl\/?p=574","title":{"rendered":"Synchronization Toolbox"},"content":{"rendered":"\n<p>This Matlab program (name: warpGUI) synchronizes univariate and multivariate trajectories. There are two different algorithms that can be used. The first algorithm is named symmetric dynamic time warping (<strong>SDTW<\/strong>). The second<br>algorithm is called parametric time warping (<strong>PTW<\/strong>). Some<br>example data sets are automatically loaded in the main workspace of Matlab<br>when warpGUI is started. The following buttons can be clicked in warpGUI:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">Load<br>Data<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">A window is opened that allows you to use a Matlab variable (from the main<br>Matlab memory space) as a reference and sample vector<\/span><\/div>\n<\/td><\/tr><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">Warp<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">The actual<br>warping action is performed<\/span><\/div>\n<\/td><\/tr><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">Print<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">Prints<br>the warping window, including the figures and the settings that are used<br>for synchronization<\/span><\/div>\n<\/td><\/tr><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">SDTW<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">When this<br>radio button is selected, the SDTW algorithm is used for synchronization<\/span><\/div>\n<\/td><\/tr><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">PTW<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">When this<br>radio button is selected, the PTW algorithm is used for synchronization<\/span><\/div>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>When the SDTW option is selected, the following options are avaialable:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">Global<br>Constraints<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">Constraints<br>exclude certain regions from the search area for the best warping path.<br>These constraints are calculated by the routine and drawn in the plot<br>(upper right) showing the warping path<\/span><\/div>\n<\/td><\/tr><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">Normalize<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">The SDTW<br>algorithm is normalized<\/span><\/div>\n<\/td><\/tr><tr><td>\n<div align=\"center\"><strong><span style=\"font-family: Arial, Helvetica, sans-serif;\">Direction<br>Penalties<\/span><\/strong><\/div>\n<\/td><td>\n<div align=\"justify\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">The direction<br>penalties implemented make the incorperation of horizontal and vertical<br>steps in the warping path less favorable. Increasing the size of the penalty<br>value makes the penalty more severe. The software returns a sensible quess<br>for this value when the data is loaded for the first time<\/span><\/div>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Processing<br>your own data is possible by first loading your own data in the Matlab<br>main window, then pressing the &#8220;load data&#8221; button and selecting<br>the variables that contains your data. This program is tested for Matlab<br>v6.1 and v6.5. Note that version 6.5 of Matlab requires windows-XP.<\/p>\n\n\n\n<p>This program was made by Hans Boelens (<a href=\"http:\/\/www-its.chem.uva.nl\/research\/pac\/\">Process and Analysis group, University of Amsterdam<\/a>), Henk-Jan Ramaker (<a href=\"http:\/\/www.TIPb.nl\">TIPb<\/a>) and Paul eilers (<a href=\"http:\/\/www.medstat.medfac.leidenuniv.nl\/MS\/INDEX.HTML\">Department<br>of Medial Statistics, University of Leiden<\/a>). For questions about SDTW,<br>comments or source code, please contact <a href=\"mailto:hans.boelens@science.uva.nl\">Hans Boelens<\/a> (Hans.Boelens@science.uva.nl) )or <a href=\"mailto:hj.ramaker@tipb.nl\">Henk-Jan Ramaker<\/a> (HJ.Ramaker@tipb.nl). Questions regarding PTW are best answered by <a href=\"mailto:P.Eilers@lumc.nl\">Paul Eilers<\/a> (P.Eilers@lumc.nl).<\/p>\n\n\n\n<p><strong><em>References<\/em><\/strong><\/p>\n\n\n\n<p>Henk-Jan Ramaker,<br>Eric van Sprang, Johan Westerhuis, Hans Boelens and Age Smilde, DYNAMIC<br>TIME WARPING OF SPECTROSCOPIC DATA, accepted (2003), <em>Analytica Chimica<br>Acta.<\/em><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-98f92713-5bd9-40f6-a6fe-e6175c6ef90a\" href=\"https:\/\/bdagroup.nl\/wp-content\/uploads\/2024\/10\/warpgui_v2_1lic.zip\">warpgui_v2_1lic<\/a><a href=\"https:\/\/bdagroup.nl\/wp-content\/uploads\/2024\/10\/warpgui_v2_1lic.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-98f92713-5bd9-40f6-a6fe-e6175c6ef90a\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This Matlab program (name: warpGUI) synchronizes univariate and multivariate trajectories. There are two different algorithms that can be used. The first algorithm is named symmetric dynamic time warping (SDTW). The secondalgorithm is called parametric time warping (PTW). Someexample data sets are automatically loaded in the main workspace of Matlabwhen warpGUI is started. The following buttons [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[18],"tags":[22,21],"class_list":["post-574","post","type-post","status-publish","format-standard","hentry","category-resource","tag-gui","tag-matlab"],"_links":{"self":[{"href":"https:\/\/bdagroup.nl\/index.php?rest_route=\/wp\/v2\/posts\/574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bdagroup.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bdagroup.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bdagroup.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bdagroup.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=574"}],"version-history":[{"count":5,"href":"https:\/\/bdagroup.nl\/index.php?rest_route=\/wp\/v2\/posts\/574\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/bdagroup.nl\/index.php?rest_route=\/wp\/v2\/posts\/574\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/bdagroup.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bdagroup.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bdagroup.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}