-
Notifications
You must be signed in to change notification settings - Fork 0
mod_gui_sb.py user manual
This is a simple GUI application to calculate MOD = Maximum Operating Depth for a breathing gas mix. It is dependent on PyQt5 for graphics. You need to have pyqt5 modules installed to your Python before you can use this. It uses nice spinbox widgets and is nicer to use than the parallel mod_gui_tk.py app which is based of tkinter.
You can start it by invoking command
python mod_gui_sb.py
You should see the following window popping up:
Maximum operating depth is calculated in meters for the mix at ppO2 you specify.
- Enter O2% in percentage
- Enter ppO2 in bar (ATA).
- you can use the combobox widget to quickly select O2% for some common gases
- EXIT button exits the application, so does closing the window
The spinboxes do not allow you to enter any insane values. The limits are:
- O2% = [12% to 100%], increments of 1 %
- ppO2 = [1.0 to 2.0], increments of 0.1
- The GUI uses PyQt5 widgets.
- calculation depends on tmx_calc.py
PyQt5 is not included in Default Python installation and yuo will need to install is using pip.
- Windows: python -m pip install pyqt5
- Linux: $ sudo pip3 install pyqt5
There are also variants based on tkinter, see: mod_gui_tk.py.
Use this application at your own risk, the author provides no guarantees about the correctness of the application, and assumes no liability for the use of it for any purpose!
- In no event should you consider blending breathing gases without proper training!
- In no event should you consider scuba diving with mixed gases without proper training!
- Ignoring these warnings can cause your death or serious and permanent injuries!