From 127689e57f441b001b1c937a9bfe1c4b2083afae Mon Sep 17 00:00:00 2001
From: Peter Hall <33176108+IamPete1@users.noreply.github.com>
Date: Sun, 4 Feb 2024 19:45:29 +0000
Subject: [PATCH] MAGFit: improve text and tool tip wording.
---
MAGFit/index.html | 14 +++++++-------
MAGFit/magfit.js | 6 +++---
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/MAGFit/index.html b/MAGFit/index.html
index 858a0369..6efee7b5 100644
--- a/MAGFit/index.html
+++ b/MAGFit/index.html
@@ -49,7 +49,7 @@
Motor compensation sources
|
@@ -182,10 +182,10 @@ Motor compensation sources
- Fit error
+ Calibration error
|
diff --git a/MAGFit/magfit.js b/MAGFit/magfit.js
index 0c3082c1..262ab850 100644
--- a/MAGFit/magfit.js
+++ b/MAGFit/magfit.js
@@ -2010,7 +2010,7 @@ function load(log_file) {
continue
}
- const tip_text = "Fits with no motor compensation.- Offsets: Fit of only X Y Z offset parameters.
- Offsets and scale: Fit of X Y Z offsets and single scale factor.
- Offsets and iron: Fit of X Y Z offsets and iron compensation matrix diagonals and off-diagonals.
"
+ const tip_text = "Calibrations with no motor compensation.- Offsets: calibration of only X Y Z offset parameters.
- Offsets and scale: calibration of X Y Z offsets and single scale factor.
- Offsets and iron: calibration of X Y Z offsets and iron compensation matrix diagonals and off-diagonals.
If a calibration cannot be selected the tool was unable to find a valid solution, a longer flight with better coverage will give a better chance of finding a solution."
MAG_Data[i].fits.push({
value: null,
@@ -2043,7 +2043,7 @@ function load(log_file) {
value: linear_interp(value, time, MAG_Data[i].time),
type: 2,
name: name,
- tip: { text: "Fits with motor compensation from " + name + ". Ensure battery monitor is calibrated and functioning correctly."},
+ tip: { text: "Calibrations with motor compensation from " + name + ". Ensure battery monitor is calibrated and functioning correctly."},
offsets: {},
scale: {},
iron: {}
@@ -2141,7 +2141,7 @@ function load(log_file) {
let cal_legend = document.createElement("legend")
cal_legend.innerHTML = "Calibrations"
- add_tip(cal_legend, 'Select calibrations to be shown on plots, the last calibration selected will be saved when "Save Parameters" is clicked')
+ add_tip(cal_legend, 'Select calibrations to be shown on plots, the last calibration selected will be saved when "Save Parameters" is clicked.')
cal_fieldset.appendChild(cal_legend)