update: new table format (retrocompatible), bug correction and plotting ability

This commit is contained in:
Yael-II
2024-12-01 16:31:14 +01:00
parent d985b82d22
commit d5a01d2023
8 changed files with 540 additions and 192 deletions

View File

@@ -1,10 +1,14 @@
import SCOPE_v2_2
import EQUATOR_v1_1
import HPMS_v1
import NGC_v1
QUIT = ["QUIT", "EXIT", "Q"]
DONE = ["DONE", "OK"]
SCOPE = ["SCOPE", "S", "1"]
EQUATOR = ["EQUATOR", "E", "2"]
HPMS = ["HPMS", "H", "3"]
NGC = ["NGC", "N", "4"]
stop = False
first = True
@@ -28,6 +32,14 @@ while not stop:
+ "\tEQUATOR: "
+ "\033[0m"
+ "Equator Queries simbAd to create Tables of Objects")
print("\033[32m"
+ "\tHPMS: "
+ "\033[0m"
+ "High Proper Motion Stars (Simbad Extractor)")
print("\033[32m"
+ "\tNGC: "
+ "\033[0m"
+ "New General Catalogue (VizieR Extractor)")
choice = input("\033[32m" + "Choice: " + "\033[0m")
if choice.upper() in DONE + ["", " "]:
@@ -44,6 +56,18 @@ while not stop:
+"\033[0m")
first = True
EQUATOR_v1_1.main()
elif choice.upper() in HPMS:
print("\033[35m"
+ "{:^80}".format("=== [ HPMS (Simbad Extractor) ] ===")
+"\033[0m")
first = True
HPMS_v1.main()
elif choice.upper() in NGC:
print("\033[35m"
+ "{:^80}".format("=== [ NGC (VizieR Extractor) ] ===")
+"\033[0m")
first = True
NGC_v1.main()
elif choice.upper() in QUIT:
stop = True
else: