PETEnergyWindowStabilityChecker
PET Energy Window Stability Checker
PET Energy-Window Stability Check
Checks the 511-keV photopeak position, energy resolution and configured energy-window parameters.
- photopeak shift from 511 keV;
- FWHM energy resolution;
- window centering and scatter fraction.
Energy window and permitted resolution depend on detector technology and vendor configuration; the profile shall be version-controlled.
input.csv
ScannerID,CheckDate,MeasuredPeakEnergyKeV,EnergyResolutionPercent,LowerLevelDiscriminatorKeV,UpperLevelDiscriminatorKeV,RandomsRateKcps,ScatterFractionPercent PET-SIEMENS-01,2026-07-22,510.5,11.5,425.0,650.0,15.0,38.0 PET-GE-02,2026-07-22,515.0,12.0,430.0,660.0,18.0,40.0 PET-PHILIPS-03,2026-07-22,505.0,14.5,420.0,640.0,12.0,35.0
URS & FS — user requirements and functional specification
URS — User Requirements Specification
- The utility shall accept input.csv with the headers defined by the data contract.
- Before calculation, the utility shall detect missing columns, type errors, empty mandatory values and illogical dates or ranges.
- The utility shall deterministically perform “PET Energy-Window Stability Check”.
- Limits and rules shall be loaded from an approved profile or explicitly fixed in the validated version.
- Each record shall receive a clear final status: PASS, WARNING or FAIL, with the reason.
- The result shall retain source values, derived values, applied limits and individual check statuses.
- Invalid input shall not return a successful result. The output supports qualified review under an approved procedure.
FS — Functional Specification
- Run PETEnergyWindowStabilityChecker.exe in demonstration mode or with input.csv output.json arguments.
- Read UTF-8 CSV and map columns to the data contract.
- Convert values to the expected types and validate mandatory fields.
- Perform calculations and rule checks for “PET Energy-Window Stability Check”.
- Create individual checks and derive the overall status from the worst result.
- Write machine-readable output.json; populate errors when a valid calculation cannot be produced.
input.csv example
ScannerID,CheckDate,MeasuredPeakEnergyKeV,EnergyResolutionPercent,LowerLevelDiscriminatorKeV,UpperLevelDiscriminatorKeV,RandomsRateKcps,ScatterFractionPercent PET-SIEMENS-01,2026-07-22,510.5,11.5,425.0,650.0,15.0,38.0 PET-GE-02,2026-07-22,515.0,12.0,430.0,660.0,18.0,40.0 PET-PHILIPS-03,2026-07-22,505.0,14.5,420.0,640.0,12.0,35.0
Minimum output.json structure
{
"utility": "PETEnergyWindowStabilityChecker",
"source": "input.csv",
"status": "PASS|WARNING|FAIL",
"derivedValues": {},
"checks": [
{
"parameter": "example",
"value": 0,
"limit": "configured profile",
"status": "PASS",
"message": "criterion satisfied"
}
],
"errors": []
}
Minimum OQ scenarios
- A row within the approved profile shall return PASS.
- A non-critical limit violation shall return WARNING or a review status.
- A critical violation shall return FAIL or the applicable operational decision.
- A missing column, invalid type or impossible date shall populate errors and shall not return PASS.
Before operational use
- Reconcile formulas and limits with manufacturer documentation and the approved SOP.
- Fix the scanner model, software version and profile version.
- After an executable, formula or profile change, repeat affected tests.
- Retain the source CSV and JSON result together.
Included in packages
PET Scanner State QC Suite
14 utilities for PET/PET-CT scanner state control: Ge-68/Ga-68 source activity, blank sinogram, detector efficiency, normalization acquisition and factor distribution, normalization-file assignment, trending, energy window, TOF, attenuation-correction map, PET/CT cross-calibration and the daily operational decision.
OpenRPH use case: PET scanner state, gamma camera and radiation physics
The linked medical-device/radiation-physics layer: PET detector QC, normalization, AC map, cross-calibration, TOF, gamma-camera uniformity, source strength and staff dose.
OpenRPH workflow: instruments, devices and radiation safety
PET/gamma-camera state, calibration, detector QC, energy window, TOF, shielding and radiation safety.
OpenRPH workflow: stability, storage, decay and waste
Kinetic stability, shelf life, decay correction, expiry, storage, trend and radioactive waste.
Open