Use the same names in the user interface as in the code

This commit is contained in:
D. Berge
2025-08-08 13:44:42 +02:00
parent 08dfe7ef0a
commit cd6ad92d5c
3 changed files with 17 additions and 13 deletions

View File

@@ -67,14 +67,18 @@
<v-list-item-title>Δ<span style="text-decoration:overline;">ij</span> Total error</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item @click="setHeatmapValue('delta_i')">
<v-list-item-content>
<v-list-item-title>Δi Inline error</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item @click="setHeatmapValue('delta_j')">
<v-list-item-content>
<v-list-item-title>Δj Crossline error</v-list-item-title>
<v-list-item-title>Δj Inline error</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item @click="setHeatmapValue('delta_i')">
<v-list-item-content>
<v-list-item-title>Δi Crossline error</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
</v-list-item-content>
</v-list-item>
<v-list-item>
@@ -635,10 +639,10 @@ export default {
case "total_error":
title = "Total position error (raw data)";
break;
case "delta_j":
case "delta_i":
title = "Total crossline position error (raw data)";
break;
case "delta_i":
case "delta_j":
title = "Total inline position error (raw data)";
break;
case "delta_μ":

View File

@@ -510,12 +510,12 @@ export default {
});
colorDomain = [2, 20];
break;
case "delta_j":
case "delta_i":
weights = values[3];
scaler = 0.1;
colorDomain = [2, 20];
break;
case "delta_i":
case "delta_j":
weights = values[4];
scaler = 0.1;
colorDomain = [0.5, 5];

View File

@@ -125,7 +125,7 @@ export default {
html += `S${p.i.toString().padStart(3, "0")} ${p.j}</br>\n`;
html += `<small>${new Date(Number(p.ts)).toISOString()}</small><br/>\n`;
html += `Δi: ${p.εj.toFixed(2)} m / Δj: ${p.εi.toFixed(2)} m<br/>\n`;
html += `Δj: ${p.εj.toFixed(2)} m / Δi: ${p.εi.toFixed(2)} m<br/>\n`;
html += `<hr/>\n`;
if (p.nofire) {
html += `<b>No fire: ${p.nofire} guns</b><br/>\n`;
@@ -145,8 +145,8 @@ export default {
html += `S${p.i.toString().padStart(3, "0")} ${p.j} (final)</br>\n`;
html += `<small>${new Date(Number(p.ts)).toISOString()}</small><br/>\n`;
html += `Δi: ${p.εj.toFixed(2)} m / Δj: ${p.εi.toFixed(2)} m (finalpreplot)<br/>\n`;
html += `δi: ${p.co_j.toFixed(2)} m / δj: ${p.co_i.toFixed(2)} m (finalraw)<br/>\n`;
html += `Δj: ${p.εj.toFixed(2)} m / Δi: ${p.εi.toFixed(2)} m (finalpreplot)<br/>\n`;
html += `δj: ${p.co_j.toFixed(2)} m / δi: ${p.co_i.toFixed(2)} m (finalraw)<br/>\n`;
return {html, style: this.tooltipDefaultStyle};
}