{"id":"soergel","title":"Soergel-style distance","family":"lock-step","definition":"reference","intro_en":"The Soergel-style entry divides total absolute discrepancy by the sum of the larger magnitudes at each coordinate. The animation contrasts its fixed maximum-envelope denominator with the residual sum. Nonnegative vectors provide the standard overlap interpretation; the absolute-magnitude extension shown in the registry needs its signed-data convention kept explicit.","intro_zh":"Soergel 型条目用各坐标较大幅值的总和归一化绝对误差。动图展示最大幅值包络分母与误差总和的关系。非负向量具有通常的重叠解释；登记表对带符号输入采用绝对幅值扩展，需要明确这一约定。","steps_en":["Keep the two series on the same sample grid; no shift or warping is estimated.","Accumulate absolute gaps; the highlighted point supplies one coordinate contribution.","Accumulate the coordinate contributions in sample order.","Divide by the total maximum-magnitude envelope."],"steps_zh":["在同一采样网格上比较两条序列，不估计平移或时间规整。","计算各坐标的绝对残差。","按采样顺序累积局部贡献。","用绝对差总和除以各坐标较大绝对幅值的总和。"],"formula":"sum_i abs(x_i-y_i) / sum_i max(abs(x_i),abs(y_i))","caveats_en":["The example uses nonnegative values; signed extensions need separate property checks.","Sample alignment and amplitude units are part of the comparison protocol."],"caveats_zh":["本例使用非负值；带符号扩展的性质需要另行检查。","采样对齐和幅值单位属于比较协议的一部分。"],"sources":[{"label":"Imported registry: explicit formula convention","url":"https://github.com/ZipengWu365/EchoTime/blob/main/src/echotime/data/ts_similarity_package_v2_registry.csv"}],"x":[1.0,1.5,2.4,3.7,4.5,3.8,2.6,2.1,2.8,3.8,4.1,3.3],"y":[1.3,1.8,2.0,3.2,5.2,4.4,2.9,1.6,2.6,3.1,4.4,3.9],"input_label":"Deterministic synthetic illustration; sample index is the time axis.","parameters":{"samples":12,"preprocessing":"none","domain":"strictly positive illustration","global_denominator":38.7},"result":{"label":"distance","value":0.13953488372093023,"detail":"Exact formula evaluation on the displayed aligned vectors."},"frames":[{"phase":0,"caption":"Aligned samples","panel":{"kind":"lines","title":"Aligned samples","a":[1.0,1.5],"a_label":"x","b":[1.3,1.8],"b_label":"y","marker":1}},{"phase":0,"caption":"Aligned samples","panel":{"kind":"lines","title":"Aligned samples","a":[1.0,1.5,2.4,3.7,4.5],"a_label":"x","b":[1.3,1.8,2.0,3.2,5.2],"b_label":"y","marker":4}},{"phase":0,"caption":"Aligned samples","panel":{"kind":"lines","title":"Aligned samples","a":[1.0,1.5,2.4,3.7,4.5,3.8,2.6,2.1],"a_label":"x","b":[1.3,1.8,2.0,3.2,5.2,4.4,2.9,1.6],"b_label":"y","marker":7}},{"phase":0,"caption":"Aligned samples","panel":{"kind":"lines","title":"Aligned samples","a":[1.0,1.5,2.4,3.7,4.5,3.8,2.6,2.1,2.8,3.8,4.1,3.3],"a_label":"x","b":[1.3,1.8,2.0,3.2,5.2,4.4,2.9,1.6,2.6,3.1,4.4,3.9],"b_label":"y","marker":11}},{"phase":1,"caption":"Compute coordinate 1: Accumulate absolute gaps","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":0},"value":0.30000000000000004,"value_label":"coordinate term","input_highlight":[0]},{"phase":1,"caption":"Compute coordinate 4: Accumulate absolute gaps","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":3},"value":0.5,"value_label":"coordinate term","input_highlight":[3]},{"phase":1,"caption":"Compute coordinate 8: Accumulate absolute gaps","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":7},"value":0.5,"value_label":"coordinate term","input_highlight":[7]},{"phase":1,"caption":"Compute coordinate 12: Accumulate absolute gaps","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.19999999999999973,0.6999999999999997,0.3000000000000007,0.6000000000000001],"a_label":"contribution","marker":11},"value":0.6000000000000001,"value_label":"coordinate term","input_highlight":[11]},{"phase":2,"caption":"Accumulate 1 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":0},"value":0.30000000000000004,"value_label":"running sum"},{"phase":2,"caption":"Accumulate 2 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.30000000000000004,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":1},"value":0.6000000000000001,"value_label":"running sum"},{"phase":2,"caption":"Accumulate 4 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":3},"value":1.5,"value_label":"running sum"},{"phase":2,"caption":"Accumulate 5 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":4},"value":2.2,"value_label":"running sum"},{"phase":2,"caption":"Accumulate 7 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.0,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":6},"value":3.1000000000000005,"value_label":"running sum"},{"phase":2,"caption":"Accumulate 8 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.0,0.0,0.0,0.0],"a_label":"contribution","marker":7},"value":3.6000000000000005,"value_label":"running sum"},{"phase":2,"caption":"Accumulate 10 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.19999999999999973,0.6999999999999997,0.0,0.0],"a_label":"contribution","marker":9},"value":4.5,"value_label":"running sum"},{"phase":2,"caption":"Accumulate 12 of 12 coordinate terms","panel":{"kind":"bars","title":"Terms included so far","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.19999999999999973,0.6999999999999997,0.3000000000000007,0.6000000000000001],"a_label":"contribution","marker":11},"value":5.4,"value_label":"running sum"},{"phase":3,"caption":"Divide by the total maximum-magnitude envelope","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.19999999999999973,0.6999999999999997,0.3000000000000007,0.6000000000000001],"a_label":"contribution","marker":0},"value":0.13953488372093023,"value_label":"final result"},{"phase":3,"caption":"Divide by the total maximum-magnitude envelope","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.19999999999999973,0.6999999999999997,0.3000000000000007,0.6000000000000001],"a_label":"contribution","marker":3},"value":0.13953488372093023,"value_label":"final result"},{"phase":3,"caption":"Divide by the total maximum-magnitude envelope","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.19999999999999973,0.6999999999999997,0.3000000000000007,0.6000000000000001],"a_label":"contribution","marker":7},"value":0.13953488372093023,"value_label":"final result"},{"phase":3,"caption":"Divide by the total maximum-magnitude envelope","panel":{"kind":"bars","title":"Accumulate absolute gaps","a":[0.30000000000000004,0.30000000000000004,0.3999999999999999,0.5,0.7000000000000002,0.6000000000000005,0.2999999999999998,0.5,0.19999999999999973,0.6999999999999997,0.3000000000000007,0.6000000000000001],"a_label":"contribution","marker":11},"value":0.13953488372093023,"value_label":"final result"}],"animation_steps_en":["Keep samples on the same time grid.","Accumulate absolute gaps.","Accumulate the coordinate contributions.","Divide by the total maximum-magnitude envelope."],"echotime_status":"Low-priority addition","echotime_api":""}
