Reinforce non-interactive mode to allow omg_dosimetry be independent of spyder, this fixes issue #6 .
New method LUT.run_demo().
The body of the method is a copy from omg_calibration_demo.py. The only difference is that the tif files, and the beam profile are automatically downloaded from GitHub repository and saved in a new folder (named "demo_files"). Use run_demo(film_detect = True) to make a manual film selection. Running the demo is really esay, just open a python interpreter (for example Anaconda Prompt), import the main class and run the demo method:
from omg_dosimetry import LUT
LUT.run_demo()
A new input/output module (i_o.py). This is used to retrieve a demo file either by getting it from file or from a URL (used by the previous method).
The next step that I would like to do is to add a description about the demo and a "usage..." section on ReadTheDocs. Also, I would like to know how to easily manage the new location of Demo_calib.pkl, so it can be used by other modules (i.e. tiff2dose).
Reinforce non-interactive mode to allow omg_dosimetry be independent of spyder, this fixes issue #6 .
New method
LUT.run_demo()
. The body of the method is a copy from omg_calibration_demo.py. The only difference is that the tif files, and the beam profile are automatically downloaded from GitHub repository and saved in a new folder (named "demo_files"). Userun_demo(film_detect = True)
to make a manual film selection. Running the demo is really esay, just open a python interpreter (for example Anaconda Prompt), import the main class and run the demo method:The next step that I would like to do is to add a description about the demo and a "usage..." section on ReadTheDocs. Also, I would like to know how to easily manage the new location of Demo_calib.pkl, so it can be used by other modules (i.e. tiff2dose).