Tool to read 1-dimensional dose profiles and perform gamma index comparison.
Project description
relative_dose_1d
Tool to read 1-dimensional dose profiles and perform gamma index comparison.
Introducción
The data should be in M rows by 2 columns, corresponding to positions and dose values, respectively.
The script has been tested with the following examples:
* File in w2CAD format (format used by the TPS Eclipse 16.1, from the Varian(R) company).
In the algorithm, the start of the data is identified by the words: '$STOM' or '$STOD'
Physical unit assumed to be in mm.
* File in mcc format (format used by Verisoft 7.1.0.199 software, from PTW(R) company).
In the algorithm, the beginning of the data is identified by the word: 'BEGIN_DATA'
Physical unit assumed to be in mm.
* File in text format
The data must be distributed in M rows by 2 columns and separated
for a blank space.
The script ask for a word to identify the beginning of the data in the text file,
a number to add to the positions, and a factor for distance dimension conversion.
For proper operation, the text file must meet the following characteristics:
- Contain a single profile
- The data should be in M rows and two columns, (M, 2).
Instalación
En Linux
The easiest method of installation is by typing in a terminal:
pip install relative_dose_1d
En Windows
Prior to installation, it is necessary to have a python package manager. If you are not familiar with Python packages, it is recommended to use ANACONDA. After ANACONDA has been installed, open Anaconda Prompt. Once inside the terminal (window with a black background), follow the indication described for Linux (previous paragraph).
Usage
Once the installation is complete, open a terminal (or Anaconda Prompt in the case of Windows) and type the command python:
python
Finally, write:
import relative_dose_1d.GUI
Versions
April-2023 Versión 0.0.3
- relative_dose_1d is added to PyPi
May-2023 Version 0.1.0
- It is now possible to perform unit transformation for distance using a multiplication factor, and move the origin of the coordinate system.
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
Hashes for relative_dose_1d-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58f002a8b293aa443662a90c799593d201d2db13aa2d720662445fe668a8c428 |
|
MD5 | 9472e1ed2a9620525875541bb5e3648b |
|
BLAKE2b-256 | 19d71ddf922884a10441d8e631540a8f7f61935b6d8d9a8cae97f72e2c38bd85 |