accord: Calculator for TRS-398 calibration.
Project description
ACCORD 📂🤖
Automated Calibration and Control for Operational Radiotherapy Data.
(Calibración y Control Automático para Datos de Radioterapia Operacional)
🌎 Read this in other languages: Español
ACCORD is an application designed to automate, centralize, and optimize Quality Control (QC) in Linear Accelerators (LINACs). Built upon the Pylinac ecosystem, ACCORD extends its capabilities by integrating an uncertainty analysis engine and, in the future, automated sensor data adquisition.
🚀 Key features
Currently implemented:
- Pylinac CLI: A robust command-line interface for rapid workflows.
- Pylinac Integration: Core implementation of:
- TRS-398 Protocol: Based on the
pylinac.calibration.trs398module.
- TRS-398 Protocol: Based on the
- Pre-calibration Uncertainty Analysis: Including:
- Reading repeatability.
- Temperature corrections.
- Pressure variations.
- Workflow Automation: Significant reduction of human error through systematic processing of operational data.
In Progress / Roadmap:
- Kivy-based GUI: A modern graphical user interface for Pylinac.
- TG-51 Protocol: Implementation based on the
pylinac.calibration.tg51module. - Standard Analysis Modules: (Winston-Lutz, VMAT, Starshot, etc.).
- Comprehensive Uncertainty Analysis: Full-scale statistical budget for calibration.
- Sensor Sync: Direct real-time data acquisition and processing from external instrumentation.
🛠️ Developer Configuration
If you use VS Code, this project includes an optimized debugger configuration.
Ensure your .vscode/launch.json file is configured so that scripts act upon the data files located in the tests subfolder of the project's root directory.
This allows for seamless debugging within VS Code. The key setting to achieve this is:
"cwd": "\${workspaceFolder}/tests"
🛠️ Installation
This program uses Flit for package installation.
It is highly recommended to create a Python virtual environment (the project was developed using venv):
git clone https://github.com/jonjon-el/accord
cd accord
There are two ways to install it:
-
Classic (Direct): Install as a local package using pip:
pip install .
-
Flit (Editable): Use Flit for an editable installation, which is ideal for development:
# (OPTIONAL) Install flit to enable editable mode pip install flit # Perform an editable installation as a package flit install --symlink
🚀 Usage
How to run:
- Open the project in VS Code.
- Configure
launch.json(as described above). - Press F5 to start debugging.
📝 Debugger & Development Notes
The program was originally developed on a Windows 11 laptop with an Intel i3 (Sandy Bridge) CPU and 6GB of RAM.
✒️ Maintained by
ACCORD Development Team:
🤝 Contributing & Support
If you want to help improve ACCORD or have technical questions:
- Report Bugs: If something isn't working or uncertainty calculations yield unexpected results, please open an Issue.
- Suggest Improvements: Have an idea for sensor automation? Share it in the Discussions section or via an Issue.
- Submit Code: If you’ve fixed a bug or added a feature, send a Pull Request! I’ll be happy to review it alongside @jonjon-el.
📜 Historical Note
ACCORD began its life as the script called nel_calc, a work for a thesis developed by jonjon-el to simplify specific clinical calibration workflows based on TRS 398, performed on a LINAC located on a Oncology Hospital. Over time, the idea of transform that original script into a comprehensive platform for calibration of LINACs arose from the need to integrate the full power of Pylinac, implement rigorous uncertainty analysis, and automate sensor data acquisition.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file accord_rt-0.2.1.tar.gz.
File metadata
- Download URL: accord_rt-0.2.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
792d02d7de9d87bedf194675a95acf59e02a10e6982968961250329cea1f1af1
|
|
| MD5 |
62d6ebd81dbcf634be86df6c43fcf667
|
|
| BLAKE2b-256 |
8ed18ece704fd790816cfd1e4d04fde73d6833c97b4975688ec79a9054f06cb4
|
File details
Details for the file accord_rt-0.2.1-py3-none-any.whl.
File metadata
- Download URL: accord_rt-0.2.1-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b774d8dcace0f9de40f360420e47c90a1245721addd175f93e0da6521b75d531
|
|
| MD5 |
b623a0f79dcf5e73235bf677e8cc6ac2
|
|
| BLAKE2b-256 |
c9757993c36b36c440db7c6ed6db19e47523af6f681bffcfed555db66b734b36
|