jfcabana / omg_dosimetry

Optimized Multichannel Gafchromic Dosimetry
https://omg-dosimetry.readthedocs.io/en/latest/
MIT License
7 stars 2 forks source link

Demo calibration #14

Closed LuisOlivaresJ closed 10 months ago

LuisOlivaresJ commented 10 months ago
  1. Update calibration.py to use plt.ion() for interactive mode, related to issue #6 .

  2. New method (LUT.run_demo()). It is intended to run a calibration demo as easy as possible. The body of the method is a copy from omg_calibration_demo.py. The only difference is that the tif files are automatically downloaded from the GitHub repository and saved in a new folder named demo_files.

To run the demo, import the main class and run the demo method:

from omg_dosimetry import LUT
LUT.run_demo()

The next step that I would like to do is to add a description about the demo on ReadTheDocs documentation.

LuisOlivaresJ commented 10 months ago

Calling calibration.LUT(...film_detect = False...) does not work outside spyder.