Skip to main content

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.

Metadata

Release files for tg263 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tg263 0.2.0
File Size Uploaded Provenance Actions
tg263-0.2.0.tar.gz 23.3 kB Without provenance Details for tg263-0.2.0.tar.gz

Release files / tg263-0.2.0.tar.gz

Download URL tg263-0.2.0.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
608e71c6b836b1f55a28d7228b203360f9163ffc062baea21542f2b8f9c7c176
BLAKE2b-256 checksum
How to use checksums
3bf9768dcaf4949d98d0a9c89144290a61407e29faad5788f9b1e94b55eee2b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Security for tg263 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page