SpinExchangeOpticalPumpingEfficiencyMonitor
Spin-Exchange Optical Pumping Efficiency Monitor
Utility description: Spin-Exchange Optical Pumping Efficiency Monitor
Spin-Exchange Optical Pumping Efficiency Monitor — SEOP Efficiency Monitor
ℹ️ Utility evaluates hyperpolarization process quality:
• Achieved polarization level
• Signal buildup time
• Ratio to theoretical limit
• Rubidium vapor density status
⚠️ CRITICAL: Low efficiency means loss of expensive gas!
Main causes: laser degradation, heat leak, rubidium depletion.
Usage:
SpinExchangeOpticalPumpingEfficiencyMonitor.exe → demo mode (console output)
SpinExchangeOpticalPumpingEfficiencyMonitor.exe input.csv output.json → evaluate your data
Input format:
BatchNumber,ProductName,Laser_W,Cell_T_C,Rb_Factor,B_Field_G,Initial_Pol_Percent,Buildup_Time_sec,Max_Theoretical_Pol,Min_Acceptable_Pol,Max_Buildup_Time
Example:
SEOP-2026-001,Xe-129 Mix,100,180,1.0,15,45,40,55,40,60
— WHY IS THIS NEEDED?
SEOP efficiency control is critical for HP-Xe-129 production:
• Spin transfer process from optically pumped rubidium to xenon is complex and unstable
• Efficiency depends on laser power, cell temperature and gas purity
• Low efficiency results in gas with low polarization level, making MRI images unreadable
• Utility helps detect polarizer component degradation before entire gas batch is spoiled
⚠️ CRITICAL:
• Achieved polarization must be ≥80% of theoretical limit for given mixture
• Buildup Time must not exceed 60 seconds (for standard cells)
• Rubidium vapor density must match specified temperature (Rb factor control)
• Magnetic field stability is critical for spin orientation preservation
Key features:
• Relative process efficiency calculation (Actual vs Theoretical)
• Polarization buildup kinetics monitoring
• Rubidium cell problem diagnostics (temperature/density)
• Laser power impact assessment on final result
Critical parameters:
• Achieved Polarization: ≥40% (example threshold)
• Buildup Time: ≤60 sec
• Efficiency Ratio: ≥80%
• Rb Density Factor: 1.0 ± 0.2
💡 Usage tips:
1. Regularly calibrate rubidium cell temperature sensors
2. Monitor laser power at fiber output (degradation over time)
3. Use high-purity gases to maximize theoretical polarization limit
4. Perform pumping test cycles without gas to check magnetic field homogeneity
5. Maintain efficiency log to predict rubidium ampoule lifespan
⚠️ Note: Unlike chemical reactions where product yield is stable, SEOP efficiency can smoothly decrease over months due to cell wall "poisoning" or laser aging. The utility allows tracking this slow drift and planning preventive maintenance.input.csv
BatchNumber,ProductName,Laser_W,Cell_T_C,Rb_Factor,B_Field_G,Initial_Pol_Percent,Buildup_Time_sec,Max_Theoretical_Pol,Min_Acceptable_Pol,Max_Buildup_Time SEOP-2026-001,Xe-129 (90%) + N2,100,180,1.0,15,45,40,55,40,60 SEOP-2026-002,Xe-129 (85%) + O2,80,175,0.8,15,30,55,50,40,60 SEOP-2026-003,Xe-129 (Degraded Laser),100,180,1.0,15,20,80,55,40,60
URS & FS — user requirements and functional specification
URS & FS — User Requirements and Functional Specification
This document defines the controlled interface and behaviour of SpinExchangeOpticalPumpingEfficiencyMonitor for “Spin-Exchange Optical Pumping Efficiency Monitor”. 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
- Achieved Polarization: ≥40% (example threshold)
- Buildup Time: ≤60 sec
- Efficiency Ratio: ≥80%
- Rb Density Factor: 1.0 ± 0.2
URS — User Requirements Specification
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The utility shall accept input.csv with the exact headers defined by the data contract. | High | The file is processed without manual header renaming. |
| URS-002 | The utility shall perform a deterministic assessment for “Spin-Exchange Optical Pumping Efficiency Monitor”. | High | PASS / WARNING / FAIL is produced for each row. |
| URS-003 | Required fields, types, ranges, units and data consistency shall be validated before domain rules. | High | Schema errors are separated from nonconformities. |
| URS-004 | Critical limits from the description and approved local configuration shall create a critical finding. | High | A critical rule violation results in FAIL. |
| URS-005 | The result shall be written to machine-readable output.json. | High | JSON contains source values, checks, warnings and failures. |
| URS-006 | The conformity decision shall not use machine learning. | Medium | The result is reproducible from explicit rules and inputs. |
| URS-007 | Traceability of batch, source file, rule version and final status shall be retained. | High | QA/QC can reproduce the decision. |
| URS-008 | The utility shall have exactly one primary portal tag: instrumental. | Medium | The other api / instrumental / medical_devices tags are absent. |
| URS-009 | Documentation shall support IQ/OQ/PQ or equivalent CSA/CSV verification. | Medium | The contract, test scenarios and change-control rules are supplied with the utility. |
input.csv data contract
| # | Field | Type | Unit | Sample | Purpose |
|---|---|---|---|---|---|
| 1 | BatchNumber | string | as specified | SEOP-2026-001 | Batch/lot identifier for traceability. |
| 2 | ProductName | string | as specified | Xe-129 (90%) + N2 | Name of the controlled product, gas, procedure or equipment. |
| 3 | Laser_W | decimal | W | 100 | SEOP laser-system parameter. |
| 4 | Cell_T_C | decimal | °C | 180 | Controlled input.csv field: Cell T C. |
| 5 | Rb_Factor | decimal | as specified | 1.0 | Controlled input.csv field: Rb Factor. |
| 6 | B_Field_G | decimal | G | 15 | Magnetic-field or field-homogeneity parameter. |
| 7 | Initial_Pol_Percent | decimal | % | 45 | Xe-129 hyperpolarization level, loss or target parameter. |
| 8 | Buildup_Time_sec | decimal | s | 40 | Time parameter for processing, relaxation, pumping or examination. |
| 9 | Max_Theoretical_Pol | decimal | as specified | 55 | Xe-129 hyperpolarization level, loss or target parameter. |
| 10 | Min_Acceptable_Pol | decimal | as specified | 40 | Xe-129 hyperpolarization level, loss or target parameter. |
| 11 | Max_Buildup_Time | decimal | as specified | 60 | Time parameter for processing, relaxation, pumping or examination. |
BatchNumber,ProductName,Laser_W,Cell_T_C,Rb_Factor,B_Field_G,Initial_Pol_Percent,Buildup_Time_sec,Max_Theoretical_Pol,Min_Acceptable_Pol,Max_Buildup_Time SEOP-2026-001,Xe-129 (90%) + N2,100,180,1.0,15,45,40,55,40,60 SEOP-2026-002,Xe-129 (85%) + O2,80,175,0.8,15,30,55,50,40,60 SEOP-2026-003,Xe-129 (Degraded Laser),100,180,1.0,15,20,80,55,40,60
FS — Functional Specification
| ID | Function | Implementation |
|---|---|---|
| FS-001 | CLI execution | SpinExchangeOpticalPumpingEfficiencyMonitor.exe supports demo mode and input.csv output.json mode. |
| FS-002 | CSV import | Read UTF-8 CSV and validate header, column count and order. |
| FS-003 | Schema validation | Validate required values, empties, types and basic plausibility. |
| FS-004 | Domain rule engine | Apply explicit rules for “Spin-Exchange Optical Pumping Efficiency Monitor” and locally approved limits. |
| FS-005 | Status aggregation | FAIL for a critical finding; WARNING for a non-critical deviation; PASS for conformity. |
| FS-006 | JSON export | Write source values, applied rules, statuses, warnings, failures and configuration version. |
| FS-007 | Audit support | Retain a result structure suitable for review, investigation, IQ/OQ and change control. |
| FS-008 | Integration contract | LIMS/ELN/MES or an instrument wrapper creates CSV; the utility returns JSON. |
output.json example
{
"utilityId": "spin-exchange-optical-pumping-efficiency-monitor",
"primaryTag": "instrumental",
"overallStatus": "PASS|WARNING|FAIL",
"sourceFile": "input.csv",
"checks": [
{
"parameter": "BatchNumber",
"value": "SEOP-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": "Laser_W",
"value": "100",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Cell_T_C",
"value": "180",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Rb_Factor",
"value": "1.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "B_Field_G",
"value": "15",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Initial_Pol_Percent",
"value": "45",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Buildup_Time_sec",
"value": "40",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
}
],
"warnings": [],
"criticalFindings": []
}
OQ/PQ test scenarios
| ID | Scenario | Expected result |
|---|---|---|
| OQ-001 | Valid example row | PASS or an allowed WARNING under local rules. |
| OQ-002 | Required column missing | Schema error; domain checks do not mask it. |
| OQ-003 | Non-numeric value in numeric field | Type-conversion error. |
| OQ-004 | Critical parameter outside its limit | FAIL and a critical finding. |
| OQ-005 | Boundary value | The result follows the configured ≤ / ≥ / < / > operator. |
| PQ-001 | Real site data | Agreed 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.
OpenRPH isotope family: xenon and gas tracers
Xe-127, Xe-129 and Xe-133 for ventilation, hyperpolarized imaging, gas QC and safety.
OpenRPH organ/system: pulmonary and ventilation
Lung perfusion, MAA, V/Q, aerosol, xenon ventilation, shunt and pulmonary dosimetry.
OpenRPH use case: xenon, ventilation and medical gases
Xe-129, Xe-133, Xe-127, hyperpolarization, SEOP, T1, mixing, scavenging, transport, recovery and ventilation imaging.
OpenRPH workflow: dosimetry and therapy planning
Activity planning, absorbed dose, organ dose, lung shunt, preplanning and therapy verification.
OpenRPH workflow: imaging QC and quantitative interpretation
Acquisition, uptake, clearance, perfusion, transit, ejection fraction, segmentation and quantitative imaging.
OpenRPH workflow: stability, storage, decay and waste
Kinetic stability, shelf life, decay correction, expiry, storage, trend and radioactive waste.
Open