Commit 7ef9599e authored by Gabriel Couture's avatar Gabriel Couture

Updating README

parent 447980bb
......@@ -21,13 +21,32 @@ $ pip install git+https://github.com/gacou54/tg263
```python
import tg263
# Result is `True`
result = tg263.is_structure_name_allowed('Prostate')
# Result is `True`
```
### Finding a structure
```python
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
The allowed structure names were taken from the __ESAPIX__
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment