{"id":"erp","title":"Edit distance with a real gap","family":"elastic","definition":"echotime","intro_en":"ERP charges the numerical cost of matching observations or matching one observation to a fixed gap value. The animation compares substitution with deletion and insertion at each prefix. Here the gap is 0.5 and the univariate local norm is absolute difference, matching EchoTime's explicit low-level calculation.","intro_zh":"ERP 对观测之间的替换以及观测与固定间隙值之间的匹配收取数值代价。动图逐个前缀比较替换、删除与插入。本例间隙值为 0.5，单变量局部范数为绝对差，与 EchoTime 底层计算一致。","steps_en":["Set the stated local scoring rule, tolerance and boundary conditions.","Compare matching x to y with matching either observation to gap g=0.5.","Trace the selected predecessor operations from the complete-prefix state.","Read the final score with the normalization explicitly stated below."],"steps_zh":["设置明确的局部计分规则、容差与边界条件。","比较 x 与 y 的匹配，以及任一观测与间隙 g=0.5 的匹配。","从完整前缀状态沿选定的前驱操作回溯。","按下方明确的归一化约定读取最终分数。"],"formula":"D_ij=min(D_(i-1,j-1)+|x_i-y_j|,D_(i-1,j)+|x_i-g|,D_(i,j-1)+|y_j-g|)","caveats_en":["Gap choice changes the cost. If the gap value is also a valid observation, distinct raw lists can have zero ERP distance.","The small arrays are an algorithm illustration, not evidence of retrieval or classification quality."],"caveats_zh":["间隙值选择会改变代价；若间隙值也属于合法观测，不同原始列表可以得到零 ERP 距离。","这些小数组用于解释计算过程，不构成检索或分类性能证据。"],"sources":[{"label":"EchoTime low-level similarity implementations","url":"https://github.com/ZipengWu365/EchoTime/blob/main/src/echotime/similarity_methods.py"},{"label":"EchoTime imported atlas: named formula conventions","url":"https://github.com/ZipengWu365/EchoTime/blob/main/src/echotime/data/ts_similarity_package_v2_registry.csv"}],"x":[0.2,0.4,1.1,2.4,3.2,2.5,1.2,0.3,-0.4,-0.1],"y":[0.1,0.3,0.5,1.2,2.6,3.1,2.3,1.1,0.2,-0.3],"input_label":"Deterministic illustrative arrays; no benchmark data","parameters":{"normalization":"none","local_norm":"absolute difference","gap_value":0.5},"result":{"label":"distance","value":1.7000000000000002,"detail":"The explicit definition and parameters shown on this card."},"frames":[{"phase":0,"caption":"Compare samples to construct the local table","panel":{"kind":"matrix","title":"Substitution costs","z":[[0.1,0.09999999999999998,0.3,1.0,2.4,2.9,2.0999999999999996,0.9000000000000001,0.0,0.5],[0.30000000000000004,0.10000000000000003,0.09999999999999998,0.7999999999999999,2.2,2.7,1.9,0.7000000000000001,0.2,0.7],[1.0,0.8,0.6000000000000001,0.09999999999999987,1.5,2.0,1.1999999999999997,0.0,0.9000000000000001,1.4000000000000001],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[2,0]}},{"phase":0,"caption":"Compare samples to construct the local table","panel":{"kind":"matrix","title":"Substitution costs","z":[[0.1,0.09999999999999998,0.3,1.0,2.4,2.9,2.0999999999999996,0.9000000000000001,0.0,0.5],[0.30000000000000004,0.10000000000000003,0.09999999999999998,0.7999999999999999,2.2,2.7,1.9,0.7000000000000001,0.2,0.7],[1.0,0.8,0.6000000000000001,0.09999999999999987,1.5,2.0,1.1999999999999997,0.0,0.9000000000000001,1.4000000000000001],[2.3,2.1,1.9,1.2,0.20000000000000018,0.7000000000000002,0.10000000000000009,1.2999999999999998,2.1999999999999997,2.6999999999999997],[3.1,2.9000000000000004,2.7,2.0,0.6000000000000001,0.10000000000000009,0.9000000000000004,2.1,3.0,3.5],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[4,0]}},{"phase":0,"caption":"Compare samples to construct the local table","panel":{"kind":"matrix","title":"Substitution costs","z":[[0.1,0.09999999999999998,0.3,1.0,2.4,2.9,2.0999999999999996,0.9000000000000001,0.0,0.5],[0.30000000000000004,0.10000000000000003,0.09999999999999998,0.7999999999999999,2.2,2.7,1.9,0.7000000000000001,0.2,0.7],[1.0,0.8,0.6000000000000001,0.09999999999999987,1.5,2.0,1.1999999999999997,0.0,0.9000000000000001,1.4000000000000001],[2.3,2.1,1.9,1.2,0.20000000000000018,0.7000000000000002,0.10000000000000009,1.2999999999999998,2.1999999999999997,2.6999999999999997],[3.1,2.9000000000000004,2.7,2.0,0.6000000000000001,0.10000000000000009,0.9000000000000004,2.1,3.0,3.5],[2.4,2.2,2.0,1.3,0.10000000000000009,0.6000000000000001,0.20000000000000018,1.4,2.3,2.8],[1.0999999999999999,0.8999999999999999,0.7,0.0,1.4000000000000001,1.9000000000000001,1.0999999999999999,0.09999999999999987,1.0,1.5],[0.19999999999999998,0.0,0.2,0.8999999999999999,2.3000000000000003,2.8000000000000003,1.9999999999999998,0.8,0.09999999999999998,0.6],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[7,0]}},{"phase":0,"caption":"Compare samples to construct the local table","panel":{"kind":"matrix","title":"Substitution costs","z":[[0.1,0.09999999999999998,0.3,1.0,2.4,2.9,2.0999999999999996,0.9000000000000001,0.0,0.5],[0.30000000000000004,0.10000000000000003,0.09999999999999998,0.7999999999999999,2.2,2.7,1.9,0.7000000000000001,0.2,0.7],[1.0,0.8,0.6000000000000001,0.09999999999999987,1.5,2.0,1.1999999999999997,0.0,0.9000000000000001,1.4000000000000001],[2.3,2.1,1.9,1.2,0.20000000000000018,0.7000000000000002,0.10000000000000009,1.2999999999999998,2.1999999999999997,2.6999999999999997],[3.1,2.9000000000000004,2.7,2.0,0.6000000000000001,0.10000000000000009,0.9000000000000004,2.1,3.0,3.5],[2.4,2.2,2.0,1.3,0.10000000000000009,0.6000000000000001,0.20000000000000018,1.4,2.3,2.8],[1.0999999999999999,0.8999999999999999,0.7,0.0,1.4000000000000001,1.9000000000000001,1.0999999999999999,0.09999999999999987,1.0,1.5],[0.19999999999999998,0.0,0.2,0.8999999999999999,2.3000000000000003,2.8000000000000003,1.9999999999999998,0.8,0.09999999999999998,0.6],[0.5,0.7,0.9,1.6,3.0,3.5,2.6999999999999997,1.5,0.6000000000000001,0.10000000000000003],[0.2,0.4,0.6,1.3,2.7,3.2,2.4,1.2000000000000002,0.30000000000000004,0.19999999999999998]],"row_label":"x index","col_label":"y index","cursor":[9,0]}},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[0,9]},"value":9.200000000000001,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[1,9]},"value":9.1,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[2,9]},"value":8.499999999999998,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[3,9]},"value":6.6,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[4,9]},"value":4.1,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[5,9]},"value":2.5000000000000004,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[6,9]},"value":2.0,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[7,9]},"value":1.8000000000000003,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[8.999999999999998,8.999999999999998,8.999999999999998,8.5,6.4,4.4,2.6000000000000005,2.0000000000000004,1.7000000000000004,1.1000000000000003],[null,null,null,null,null,null,null,null,null,null]],"row_label":"x index","col_label":"y index","cursor":[8,9]},"value":1.1000000000000003,"value_label":"prefix cost"},{"phase":1,"caption":"Extend solved prefixes using the stated recurrence","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[8.999999999999998,8.999999999999998,8.999999999999998,8.5,6.4,4.4,2.6000000000000005,2.0000000000000004,1.7000000000000004,1.1000000000000003],[9.599999999999998,9.399999999999999,9.399999999999999,9.1,7.0,5.0,3.2000000000000006,2.6000000000000005,2.3000000000000003,1.7000000000000002]],"row_label":"x index","col_label":"y index","cursor":[9,9]},"value":1.7000000000000002,"value_label":"prefix cost"},{"phase":2,"caption":"Follow the chosen predecessor decisions","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[8.999999999999998,8.999999999999998,8.999999999999998,8.5,6.4,4.4,2.6000000000000005,2.0000000000000004,1.7000000000000004,1.1000000000000003],[9.599999999999998,9.399999999999999,9.399999999999999,9.1,7.0,5.0,3.2000000000000006,2.6000000000000005,2.3000000000000003,1.7000000000000002]],"row_label":"x index","col_label":"y index","path":[[7,8],[8,9],[9,9]]},"value":1.7000000000000002,"value_label":"distance"},{"phase":2,"caption":"Follow the chosen predecessor decisions","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[8.999999999999998,8.999999999999998,8.999999999999998,8.5,6.4,4.4,2.6000000000000005,2.0000000000000004,1.7000000000000004,1.1000000000000003],[9.599999999999998,9.399999999999999,9.399999999999999,9.1,7.0,5.0,3.2000000000000006,2.6000000000000005,2.3000000000000003,1.7000000000000002]],"row_label":"x index","col_label":"y index","path":[[5,6],[6,7],[7,8],[8,9],[9,9]]},"value":1.7000000000000002,"value_label":"distance"},{"phase":2,"caption":"Follow the chosen predecessor decisions","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[8.999999999999998,8.999999999999998,8.999999999999998,8.5,6.4,4.4,2.6000000000000005,2.0000000000000004,1.7000000000000004,1.1000000000000003],[9.599999999999998,9.399999999999999,9.399999999999999,9.1,7.0,5.0,3.2000000000000006,2.6000000000000005,2.3000000000000003,1.7000000000000002]],"row_label":"x index","col_label":"y index","path":[[3,4],[4,5],[5,6],[6,7],[7,8],[8,9],[9,9]]},"value":1.7000000000000002,"value_label":"distance"},{"phase":2,"caption":"Follow the chosen predecessor decisions","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[8.999999999999998,8.999999999999998,8.999999999999998,8.5,6.4,4.4,2.6000000000000005,2.0000000000000004,1.7000000000000004,1.1000000000000003],[9.599999999999998,9.399999999999999,9.399999999999999,9.1,7.0,5.0,3.2000000000000006,2.6000000000000005,2.3000000000000003,1.7000000000000002]],"row_label":"x index","col_label":"y index","path":[[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8],[8,9],[9,9]]},"value":1.7000000000000002,"value_label":"distance"},{"phase":2,"caption":"Follow the chosen predecessor decisions","panel":{"kind":"matrix","title":"Accumulated edit costs","z":[[0.1,0.30000000000000004,0.30000000000000004,1.0,3.1,5.7,7.5,8.1,8.4,9.200000000000001],[0.19999999999999998,0.20000000000000004,0.20000000000000004,0.9,3.0,5.6,7.3999999999999995,8.0,8.299999999999999,9.1],[0.8,0.8000000000000002,0.8000000000000002,0.29999999999999993,2.4,5.0,6.799999999999999,7.399999999999999,7.699999999999998,8.499999999999998],[2.7,2.7,2.7,2.0,0.5000000000000001,3.1,4.9,5.5,5.8,6.6],[5.4,5.4,5.4,4.7,2.6,0.6000000000000002,2.4,3.0,3.3,4.1],[7.4,7.4,7.4,6.7,4.6,2.6,0.8000000000000004,1.4000000000000004,1.7000000000000004,2.5000000000000004],[8.1,8.1,8.1,7.4,5.3,3.3,1.5000000000000004,0.9000000000000002,1.2000000000000002,2.0],[8.299999999999999,8.1,8.1,7.6000000000000005,5.5,3.5,1.7000000000000004,1.1000000000000003,1.0000000000000002,1.8000000000000003],[8.999999999999998,8.999999999999998,8.999999999999998,8.5,6.4,4.4,2.6000000000000005,2.0000000000000004,1.7000000000000004,1.1000000000000003],[9.599999999999998,9.399999999999999,9.399999999999999,9.1,7.0,5.0,3.2000000000000006,2.6000000000000005,2.3000000000000003,1.7000000000000002]],"row_label":"x index","col_label":"y index","path":[[0,0],[1,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8],[8,9],[9,9]]},"value":1.7000000000000002,"value_label":"distance"},{"phase":3,"caption":"Inspect the selected correspondences and final score","panel":{"kind":"alignment","title":"Chosen pairs (gaps remain unlinked)","a":[0.2,0.4,1.1,2.4,3.2,2.5,1.2,0.3,-0.4,-0.1],"b":[0.1,0.3,0.5,1.2,2.6,3.1,2.3,1.1,0.2,-0.3],"pairs":[[0,0],[1,1],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8],[8,9]]},"value":1.7000000000000002,"value_label":"distance"}],"checks":{"api":"echotime.similarity_methods.erp_distance","expected":1.7000000000000002,"observed":1.7000000000000002,"tolerance":1e-12},"animation_steps_en":["Choose gap value 0.5 and absolute local differences.","Compare substitution with matching either sample to the gap.","Trace the minimum-cost sequence of edit operations.","Sum the chosen edit costs without length normalization."],"echotime_status":"Implemented in EchoTime","echotime_api":"erp_distance"}
