{
  "method": {
    "script": "Calibration/tms_split_recording.py",
    "script_sha256": "0ae2c0bd623048dd166242c836f073067348d09757369e73c87bc9125e910270",
    "pipeline_sha256": "abcc8ee25013fcdd722271efac2ef6caffd60f6388b8d8bb22db6068bd4b16c9",
    "pipeline_revision": {
      "code_commit": "0604925b9b6c30f5d4a5ac0b6d7a41720dd7f58e",
      "working_tree_modified": false
    },
    "threshold_n": 5.0,
    "sampling_rate_hz_assumed": 320,
    "alignment": "Second file placed at the difference of the sampling-start uptime headers; both files use 320 Hz local axes.",
    "baseline": "First file's pre-event raw-force mean (pipeline horizontal offset), applied to both files.",
    "filtering": "Each file filtered separately; the only values inside the unsampled interval are the stated gap estimate."
  },
  "recordings": [
    {
      "file": "TMS_2.TXT",
      "sha256": "f09bb3697c9af0f7c748f43ee07ddb550009a55252e1710b9ef3638bb48afcae",
      "bytes": 59415,
      "sampling_start_us": 696416664,
      "power_on_us": 472444,
      "sample_pairs": 4717,
      "loadcell_adc_first_quarter_second_median": -4780.0,
      "loadcell_adc_last_quarter_second_median": -5167.0,
      "filtered_force_first_n": -0.9076300670476667,
      "filtered_force_last_n": 146.3041273320785,
      "pressure_adc_first": 330.0,
      "pressure_adc_last": 6801.0
    },
    {
      "file": "TMS_3.TXT",
      "sha256": "273e4b6c0866b2bf82153875bc0364ef8e42dd2b87614ca3af2282b7cda57226",
      "bytes": 61340,
      "sampling_start_us": 711936200,
      "power_on_us": 472444,
      "sample_pairs": 4717,
      "loadcell_adc_first_quarter_second_median": -5026.0,
      "loadcell_adc_last_quarter_second_median": -4778.0,
      "filtered_force_first_n": 116.83954072407035,
      "filtered_force_last_n": -0.5564376862259035,
      "pressure_adc_first": 6667.0,
      "pressure_adc_last": 7453.0
    }
  ],
  "timing": {
    "second_file_offset_s": 15.519536,
    "first_file_last_sample_s": 14.7375,
    "unsampled_interval_s": 0.7820359999999997,
    "note": "If the real sample rate is below 320 Hz the files span more time and the true gap is shorter."
  },
  "baseline": {
    "loadcell_offset_n": -60.1009613042806,
    "baseline_window_end_s": 6.3875,
    "return_to_baseline_n": -0.5577365481248767,
    "return_to_baseline_std_n": 0.17972336631707367
  },
  "measured": {
    "onset_s": 12.771875,
    "first_file_ends_above_threshold": true,
    "second_file_starts_above_threshold": true,
    "end_s": 16.222661000000002,
    "peak_n": 149.16857536799006,
    "peak_s": 14.5125,
    "boundary_force_n": {
      "first_file_last": 147.83280214442743,
      "second_file_first": 116.44071186308587,
      "method": "quadratic fit to unfiltered corrected force over 0.25 s at each edge",
      "filtered_edge_samples_n": [
        146.3041273320785,
        116.83954072407035
      ]
    },
    "impulse_first_file_n_s": 210.6956049306418,
    "impulse_second_file_n_s": 40.224630339762044,
    "impulse_measured_n_s": 250.92023527040385
  },
  "estimated": {
    "gap_model": "historical_template_median",
    "gap_impulse_n_s": 110.25548150004971,
    "gap_impulse_template_range_n_s": [
      105.95607657054738,
      112.62614461419936
    ],
    "gap_max_n": 148.2470604357688,
    "template_fit_window_before_gap_s": 1.0,
    "template_acceptance_rmse_n": 6.0,
    "templates": [
      {
        "template": "Data/2026/4_2/analysis/26.04.03 data_pipeline_data.txt",
        "amplitude_n": 147.75482798347136,
        "shift_s": 0.05762191767253534,
        "stretch": 1.0943211576454677,
        "rmse_n": 5.626064123800692,
        "edge_correction_n": [
          0.8660644853262909,
          8.857558494349234
        ],
        "gap_impulse_n_s": 110.2518245983768,
        "gap_max_n": 150.0201581877349,
        "accepted": true
      },
      {
        "template": "Data/2026/4_8/analysis/2026.04.08 data_pipeline_data.txt",
        "amplitude_n": 149.89432050805877,
        "shift_s": 0.3740244274206205,
        "stretch": 1.160660249565944,
        "rmse_n": 3.4843809196833564,
        "edge_correction_n": [
          -1.4893728965453477,
          8.211855094739121
        ],
        "gap_impulse_n_s": 112.62614461419936,
        "gap_max_n": 152.65336837171532,
        "accepted": true
      },
      {
        "template": "Data/2026/5_28/analysis/2026.05.28 data_pipeline_data.txt",
        "amplitude_n": 145.662731582256,
        "shift_s": 0.11420828500938125,
        "stretch": 1.1882690962907236,
        "rmse_n": 5.629492079877136,
        "edge_correction_n": [
          2.5079427956092957,
          -0.2436404491776898
        ],
        "gap_impulse_n_s": 110.64358822218207,
        "gap_max_n": 147.83280214442743,
        "accepted": true
      },
      {
        "template": "Data/2026/7_16/analysis/2026.07.16 data_pipeline_data.txt",
        "amplitude_n": 148.5375710673378,
        "shift_s": 0.6472899900555071,
        "stretch": 1.3843875388774607,
        "rmse_n": 9.735894848860106,
        "edge_correction_n": [
          -0.23566722895228054,
          20.79430687086611
        ],
        "gap_impulse_n_s": 107.65115845936978,
        "gap_max_n": 149.4338166707463,
        "accepted": false
      },
      {
        "template": "Data/2026/7_23/analysis/2026-07-23_tms-7_pipeline_data.txt",
        "amplitude_n": 143.70173121093617,
        "shift_s": -1.999999999999999,
        "stretch": 1.9839492311852416,
        "rmse_n": 6.962796622885099,
        "edge_correction_n": [
          4.871547891754801,
          -4.5627567964832565
        ],
        "gap_impulse_n_s": 108.30779864160779,
        "gap_max_n": 147.83280214442743,
        "accepted": false
      },
      {
        "template": "Data/2026/7_24/analysis/2026-07-24_tms-5_pipeline_data.txt",
        "amplitude_n": 140.36151335895616,
        "shift_s": -1.999999999993946,
        "stretch": 1.5546781939218242,
        "rmse_n": 16.849057771665173,
        "edge_correction_n": [
          8.808495659384391,
          -7.785788035833633
        ],
        "gap_impulse_n_s": 105.32756144386937,
        "gap_max_n": 147.8646914309379,
        "accepted": false
      },
      {
        "template": "Data/2026/10_13/analysis/2026-10-13_tms-4_pipeline_data.txt",
        "amplitude_n": 148.79005437088196,
        "shift_s": 0.598843258018411,
        "stretch": 0.9944653422994023,
        "rmse_n": 5.695391947454819,
        "edge_correction_n": [
          1.507452769938169,
          12.115351581468573
        ],
        "gap_impulse_n_s": 105.95607657054738,
        "gap_max_n": 148.19235547881814,
        "accepted": true
      }
    ],
    "knee_fit": {
      "edge_fit_window_s": 0.25,
      "edge_slope_first_file_end_n_per_s": -11.605598036039396,
      "edge_slope_second_file_start_n_per_s": -144.3552254195252,
      "knee_after_gap_start_s": 0.6139293525051412,
      "gap_impulse_n_s": 110.07436504259609,
      "gap_max_n": 147.83280214442743,
      "total_impulse_n_s": 360.9946003129999
    },
    "straight_bridge_gap_impulse_n_s": 103.3357009001898,
    "boundary_value_gap_impulse_range_n_s": [
      91.06082854256019,
      115.61057325781941
    ],
    "total_impulse_n_s": 361.17571677045356,
    "total_impulse_range_n_s": [
      356.87631184095125,
      363.5463798846032
    ],
    "burn_duration_s": 3.4507860000000026,
    "average_thrust_n": 104.66476819207372,
    "assumption": "Earlier firings' peak-normalized thrust curves are fitted (amplitude, time shift, time stretch) to the force next to the gap and pinned to both gap edges; the median accepted fill is the central value and the spread across accepted templates is the range. The knee fit (first file's end trend continued until it meets the second file's initial decay) and a straight bridge are kept for comparison. Measured impulse alone is a lower bound for non-negative thrust."
  },
  "pressure": {
    "status": "unverified_does_not_track_thrust",
    "sensor_placement": "Chamber (user-confirmed). The 6.4 s offset step and post-burn level are treated as sensor drift.",
    "method": "0.10 s running median on raw ADC, inherited conversion, then a PCHIP baseline through 0.5 s medians of thrust-free periods (zero gauge pressure assumed there) is subtracted.",
    "anchor_count": 53,
    "quiet_period_residual_std_bar": 0.5347507737767401,
    "thrust_correlation_during_burn": 0.3367578590103854,
    "minimum_correlation_for_use": 0.5,
    "corrected_peak_bar": 10.169037451400369,
    "corrected_peak_s": 13.353125,
    "force_at_corrected_peak_n": 95.25976172803647,
    "note": "After drift removal the in-burn signal peaks before thrust reaches its plateau and then falls while thrust is still rising; chamber pressure cannot do that. Values are retained for diagnosis, not as chamber pressure."
  },
  "figures": [
    "2026-11-23_tms-2-3_loadcell_plot.png",
    "2026-11-23_tms-2-3_barometer_plot.png",
    "2026-11-23_tms-2-3_combined_plot.png"
  ],
  "series": "2026-11-23_tms-2-3_pipeline_data.txt",
  "report": "2026-11-23_tms-2-3_executive_report.txt"
}
