From 3bf77e6ea62262099cc2e138369250beae603302 Mon Sep 17 00:00:00 2001 From: Rob Zellem Date: Wed, 1 Dec 2021 17:34:31 -0500 Subject: [PATCH] v1.8.4: added omega to GUI --- exotic/exotic_gui.py | 10 ++++++++++ exotic/version.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/exotic/exotic_gui.py b/exotic/exotic_gui.py index 860f9b78..828b8d98 100644 --- a/exotic/exotic_gui.py +++ b/exotic/exotic_gui.py @@ -1051,6 +1051,14 @@ def save_input(): ecc_entry.grid(row=i, column=j + 1, sticky=tk.W, pady=2) i += 1 + # "Argument of Periastron (deg)": 50, + omega_label = tk.Label(root, text="Argument of Periastron (degrees)", justify=tk.LEFT) + omega_entry = tk.Entry(root, font="Helvetica 12", justify=tk.LEFT) + omega_entry.insert(tk.END, "0.") + omega_label.grid(row=i, column=j, sticky=tk.W, pady=2) + omega_entry.grid(row=i, column=j + 1, sticky=tk.W, pady=2) + i += 1 + # "Star Effective Temperature (K)": 6001.0, Teff_label = tk.Label(root, text="Star Effective Temperature (K)", justify=tk.LEFT) Teff_entry = tk.Entry(root, font="Helvetica 12", justify=tk.LEFT) @@ -1141,6 +1149,7 @@ def save_input(): input_data['inc'] = inc_entry.get() input_data['incUnc'] = incerr_entry.get() input_data['ecc'] = ecc_entry.get() + input_data['omega'] = omega_entry.get() input_data['teff'] = Teff_entry.get() input_data['teffUncPos'] = Tefferrpos_entry.get() input_data['teffUncNeg'] = Tefferrneg_entry.get() @@ -1451,6 +1460,7 @@ def save_input(): "Orbital Inclination (deg)": float(input_data['inc']), "Orbital Inclination (deg) Uncertainty": float(input_data['incUnc']), "Orbital Eccentricity (0 if null)": float(input_data['ecc']), + "Argument of Periastron (deg)": float(input_data['omega']), "Star Effective Temperature (K)": float(input_data['teff']), "Star Effective Temperature (+) Uncertainty": float(input_data['teffUncPos']), "Star Effective Temperature (-) Uncertainty": float(input_data['teffUncNeg']), diff --git a/exotic/version.py b/exotic/version.py index a44132de..22944760 100644 --- a/exotic/version.py +++ b/exotic/version.py @@ -1 +1 @@ -__version__ = "1.8.3" +__version__ = "1.8.4"