pub struct Quality {Show 21 fields
pub patches_seen: i32,
pub mag_patches: i32,
pub coverage: f32,
pub patch_min: i32,
pub patch_max: i32,
pub isotropy: f32,
pub attitude_diversity: f32,
pub attitude_cells: i32,
pub attitude_patches: i32,
pub field: f32,
pub fit_error: f32,
pub residual_spread: f32,
pub residual_p95: f32,
pub residual_hard_iron: f32,
pub dip_mean_deg: f32,
pub dip_spread_deg: f32,
pub dip_p95_deg: f32,
pub dip_samples: i32,
pub accel_samples: i32,
pub have_accel_metrics: bool,
pub samples: i32,
}Expand description
MagQuality’s figures; see magquality_core.h for what each means.
Fields§
§patches_seen: i32Occupied magnetometer patches.
mag_patches: i32Patches available.
coverage: f32patches_seen / mag_patches.
patch_min: i32Samples in the emptiest occupied patch.
patch_max: i32Samples in the fullest patch.
isotropy: f32Direction evenness, 0 to 1.
attitude_diversity: f32Gravity patches per occupied magnetometer patch.
attitude_cells: i32Distinct (magnetometer, gravity) cells.
attitude_patches: i32Magnetometer patches with a gravity observation.
field: f32Median calibrated magnitude, µT.
fit_error: f32RMS residual, percent of the field.
residual_spread: f32Robust residual spread, percent of the field.
residual_p95: f3295th percentile residual, percent of the field.
residual_hard_iron: f32Hard iron the fit left, µT.
dip_mean_deg: f32Median inclination, degrees.
dip_spread_deg: f32Robust inclination spread, degrees.
dip_p95_deg: f3295th percentile inclination deviation, degrees.
dip_samples: i32Samples that passed the accelerometer gate.
accel_samples: i32Samples offered with an accelerometer.
have_accel_metrics: boolWhether the dip figures exist.
samples: i32Samples accepted.