Code/HumanoidMocap/Core/Motion/JointTrackDiagnostics.cs

A small record type that holds diagnostic counts and timing for a joint track in the mocap system. It stores bone name, optional role, counts for reconstructed/inferred/generated/unobserved observations, the longest missing interval in seconds, a list of missing intervals, and an authored count.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using HumanoidMocap.Core.Mapping;

namespace HumanoidMocap.Core.Motion;
using Vector3=System.Numerics.Vector3;

public sealed record JointTrackDiagnostics(string Bone,BoneRole? Role,int Reconstructed,int Inferred,int GeneratedIk,int Unobserved,
    double LongestMissingSeconds,IReadOnlyList<MissingObservationInterval> MissingIntervals,int Authored=0);