Skip to main content

TG263 implementation

Project description

TG263

Basic TG263 implementation. This library could be used as a structure name filter in your program.

Installation

$ pip install tg263

Or from current master branch:

$ pip install git+https://github.com/gacou54/tg263

Usage

Validating the structure name

import tg263

result = tg263.is_structure_name_allowed('Prostate')
# Result is `True`

Finding a structure

import tg263

result = tg263.find_structure('SpinalCord_PRV12')

print(result.description)
print(result.anatomic_group)
print(result.target_type)
print(result.major_category)
print(result.minor_category)
print(result.fmaid)

Acknowledgements

This work is a basic implementation of the TG263 (https://www.aapm.org/pubs/reports/RPT_263.pdf)

The allowed structure names (and corresponding information) were taken from https://www.aapm.org/pubs/reports/RPT_263_Supplemental/ .

The initial allowed structure names were taken from the ESAPIX project (https://github.com/rexcardan/ESAPIX), made by Rex Cardan. The ESAPIX license is included in the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tg263, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size tg263-0.2.0.tar.gz (23.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page