This is a python
-numpy
-scipy
-based digital phantom generation codebase.
-
Python 3
, tested onPython 3.10.12
-
Install the python packages with
python3 -m pip install -r requirements.txt
python3 phantom-gen.py [phantom type]
-
[phantom type] is a required option. Accepted options are:
- hotrod
- Derenzo
- derenzo
The above 3 are treated the same.
- contrast
option 4 is work in progress (WIP), it is implemented in the jupyter notebook. But not in the python script yet.
- dot
python3 phantom-gen.py hotrod