T1RelaxationKineticsPredictor

T1 Relaxation Kinetics Predictor

instrumental Hyperpolarized Xenon RPH Xe-129 medical gases CSV→JSON URS & FS rule-based
Open selection

Utility description: T1 Relaxation Kinetics Predictor

T1 Relaxation Kinetics Predictor — T1 Relaxation Kinetics Predictor for Hyperpolarized Xenon

ℹ️  Utility predicts hyperpolarization lifetime:
    • Oxygen impact (paramagnetic quenching)
    • Vial wall quality impact
    • Polarization level prediction at scan time
    • Time to threshold calculation

⚠️  CRITICAL: Oxygen reduces T1 by tens of times!
    Even 100 ppm O2 can make gas unusable within an hour.

Usage:
  T1RelaxationKineticsPredictor.exe                            → demo mode (console output)
  T1RelaxationKineticsPredictor.exe input.csv output.json      → evaluate your data

Input format:
BatchNumber,ProductName,Initial_Pol_Percent,O2_ppm,Temperature_C,Field_T,Surface_Factor,Target_Time_H,Min_Req_Pol

Example:
  T1-PRED-2026-001,Xe-129 Mix,40,10,20,1.5,0.95,2,5

— WHY IS THIS NEEDED?
T1 prediction is critical for HP-MRI logistics:
• Hyperpolarized xenon is unstable and tends toward thermal equilibrium
• Rate of this process (T1) depends on gas composition and storage conditions
• If T1 is too short, gas loses signal before patient can inhale it
• Utility allows calculating "window of opportunity" for study
• Helps decide: use gas now or reject batch

⚠️  CRITICAL:
• Oxygen is strong paramagnet and main enemy of T1
• Vial coating quality determines collision relaxation rate
• Prediction must account for actual transport and preparation time
• Minimum polarization threshold depends on MRI scanner sensitivity

Key features:
• Physical relaxation model accounting for impurities and walls
• Residual polarization prediction at specified time
• Time to critical threshold calculation
• Environmental factor impact assessment (O2, temperature)

Critical parameters:
• Predicted T1: > Target Time
• Predicted Pol: > Min Required
• O2 Impact Factor: < 2.0
• Time to Threshold: > Target Time

💡 Usage tips:
1. Always use most accurate oxygen content data
2. Account for actual vial quality (certified vs standard)
3. Include time buffer for unexpected clinic delays
4. If high O2 content, consider additional gas purification
5. Use prediction for patient scheduling

⚠️ Note: Unlike standard drugs with fixed shelf life, here "shelf life" dynamically changes every second depending on conditions. The utility turns complex physics into a clear gas usability schedule for clinical use.

input.csv

BatchNumber,ProductName,Initial_Pol_Percent,O2_ppm,Temperature_C,Field_T,Surface_Factor,Target_Time_H,Min_Req_Pol
T1-PRED-2026-001,Xe-129 (90%) + N2,40,10,20,1.5,0.95,2,5
T1-PRED-2026-002,Xe-129 (High O2),40,200,20,1.5,0.95,2,5
T1-PRED-2026-003,Xe-129 (Bad Vial),40,10,20,1.5,0.5,2,5

URS & FS — user requirements and functional specification

URS & FS — User Requirements and Functional Specification

This document defines the controlled interface and behaviour of T1RelaxationKineticsPredictor for “T1 Relaxation Kinetics Predictor”. Limits from the source description are an initial configuration and shall be reconciled with the approved specification, study protocol, equipment instructions and local SOPs before production use.

Domain constraints and critical parameters

  • Predicted T1: > Target Time
  • Predicted Pol: > Min Required
  • O2 Impact Factor: < 2.0
  • Time to Threshold: > Target Time

URS — User Requirements Specification

IDRequirementCriticalityAcceptance criterion
URS-001The utility shall accept input.csv with the exact headers defined by the data contract.HighThe file is processed without manual header renaming.
URS-002The utility shall perform a deterministic assessment for “T1 Relaxation Kinetics Predictor”.HighPASS / WARNING / FAIL is produced for each row.
URS-003Required fields, types, ranges, units and data consistency shall be validated before domain rules.HighSchema errors are separated from nonconformities.
URS-004Critical limits from the description and approved local configuration shall create a critical finding.HighA critical rule violation results in FAIL.
URS-005The result shall be written to machine-readable output.json.HighJSON contains source values, checks, warnings and failures.
URS-006The conformity decision shall not use machine learning.MediumThe result is reproducible from explicit rules and inputs.
URS-007Traceability of batch, source file, rule version and final status shall be retained.HighQA/QC can reproduce the decision.
URS-008The utility shall have exactly one primary portal tag: instrumental.MediumThe other api / instrumental / medical_devices tags are absent.
URS-009Documentation shall support IQ/OQ/PQ or equivalent CSA/CSV verification.MediumThe contract, test scenarios and change-control rules are supplied with the utility.

input.csv data contract

#FieldTypeUnitSamplePurpose
1BatchNumberstringas specifiedT1-PRED-2026-001Batch/lot identifier for traceability.
2ProductNamestringas specifiedXe-129 (90%) + N2Name of the controlled product, gas, procedure or equipment.
3Initial_Pol_Percentdecimal%40Xe-129 hyperpolarization level, loss or target parameter.
4O2_ppmdecimalppm10Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
5Temperature_Cdecimal°C20Storage, transport or process temperature parameter.
6Field_Tdecimalas specified1.5Magnetic-field or field-homogeneity parameter.
7Surface_Factordecimalas specified0.95Controlled input.csv field: Surface Factor.
8Target_Time_Hdecimalh2Time parameter for processing, relaxation, pumping or examination.
9Min_Req_Poldecimalas specified5Xe-129 hyperpolarization level, loss or target parameter.
BatchNumber,ProductName,Initial_Pol_Percent,O2_ppm,Temperature_C,Field_T,Surface_Factor,Target_Time_H,Min_Req_Pol
T1-PRED-2026-001,Xe-129 (90%) + N2,40,10,20,1.5,0.95,2,5
T1-PRED-2026-002,Xe-129 (High O2),40,200,20,1.5,0.95,2,5
T1-PRED-2026-003,Xe-129 (Bad Vial),40,10,20,1.5,0.5,2,5

FS — Functional Specification

IDFunctionImplementation
FS-001CLI executionT1RelaxationKineticsPredictor.exe supports demo mode and input.csv output.json mode.
FS-002CSV importRead UTF-8 CSV and validate header, column count and order.
FS-003Schema validationValidate required values, empties, types and basic plausibility.
FS-004Domain rule engineApply explicit rules for “T1 Relaxation Kinetics Predictor” and locally approved limits.
FS-005Status aggregationFAIL for a critical finding; WARNING for a non-critical deviation; PASS for conformity.
FS-006JSON exportWrite source values, applied rules, statuses, warnings, failures and configuration version.
FS-007Audit supportRetain a result structure suitable for review, investigation, IQ/OQ and change control.
FS-008Integration contractLIMS/ELN/MES or an instrument wrapper creates CSV; the utility returns JSON.

output.json example

{
  "utilityId": "t1-relaxation-kinetics-predictor",
  "primaryTag": "instrumental",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "checks": [
    {
      "parameter": "BatchNumber",
      "value": "T1-PRED-2026-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "ProductName",
      "value": "Xe-129 (90%) + N2",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Initial_Pol_Percent",
      "value": "40",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "O2_ppm",
      "value": "10",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Temperature_C",
      "value": "20",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Field_T",
      "value": "1.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Surface_Factor",
      "value": "0.95",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Target_Time_H",
      "value": "2",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    }
  ],
  "warnings": [],
  "criticalFindings": []
}

OQ/PQ test scenarios

IDScenarioExpected result
OQ-001Valid example rowPASS or an allowed WARNING under local rules.
OQ-002Required column missingSchema error; domain checks do not mask it.
OQ-003Non-numeric value in numeric fieldType-conversion error.
OQ-004Critical parameter outside its limitFAIL and a critical finding.
OQ-005Boundary valueThe result follows the configured ≤ / ≥ / < / > operator.
PQ-001Real site dataAgreed QA/QC review retaining CSV, JSON, version and checksum.

QA/QC and change control

  • Do not change column names without updating the validator, documentation and test set.
  • Retain input.csv, output.json, executable version, rule version and checksums.
  • Before production use, verify local limits and execute IQ/OQ/PQ or equivalent CSA.
  • Changes affecting patient safety, dosimetry, gas composition, polarization or equipment require documented impact assessment.

Included in packages

Rph Hyperpolarized Xenon Lifecycle QC Suite

29 utilities for the hyperpolarized xenon lifecycle: isotope composition and gas purity, SEOP and polarization, T1/storage/transport, safe blending and delivery, MRI/SPECT QC, dosimetry, scavenging, recovery and recycling.

Open

RPH isotope family: xenon and gas tracers

Xe-127, Xe-129 and Xe-133 for ventilation, hyperpolarized imaging, gas QC and safety.

Open

RPH organ/system: pulmonary and ventilation

Lung perfusion, MAA, V/Q, aerosol, xenon ventilation, shunt and pulmonary dosimetry.

Open

RPH use case: xenon, ventilation and medical gases

Xe-129, Xe-133, Xe-127, hyperpolarization, SEOP, T1, mixing, scavenging, transport, recovery and ventilation imaging.

Open

RPH workflow: dosimetry and therapy planning

Activity planning, absorbed dose, organ dose, lung shunt, preplanning and therapy verification.

Open

RPH workflow: imaging QC and quantitative interpretation

Acquisition, uptake, clearance, perfusion, transit, ejection fraction, segmentation and quantitative imaging.

Open

RPH workflow: product release QC

Assay, purity, sterility, endotoxins, pH, impurities, appearance and batch-release checks.

Open

RPH workflow: stability, storage, decay and waste

Kinetic stability, shelf life, decay correction, expiry, storage, trend and radioactive waste.

Open