GWeasy v3.0.1
No code GW analysis interface
 
Loading...
Searching...
No Matches
GWeasy.FFT Class Reference

Public Member Functions

 __init__ (self, root)
 
 copy_url (self)
 
 prefetch_data (self)
 
 fetch_events (self, event=None)
 
 fetch_event_details (self, event=None)
 
 update_urls (self, event=None)
 
 toggle_mode (self)
 
 convert_time (self)
 
 save_params (self)
 
 fft (self, event_name, detectors, gps_start, gps_end)
 

Public Attributes

 root = root
 
 canvas = tk.Canvas(root)
 
 scroll_y = ttk.Scrollbar(root, orient="vertical", command=self.canvas.yview)
 
 scroll_x = ttk.Scrollbar(root, orient="horizontal", command=self.canvas.xview)
 
 frame = ttk.Frame(self.canvas)
 
 catalog_dropdown = ttk.Combobox(input_frame, state="readonly")
 
 fetch_events = "ew")
 
 event_dropdown = ttk.Combobox(input_frame, state="readonly")
 
 fetch_event_details = "ew")
 
 run_dropdown = ttk.Combobox(input_frame, state="readonly")
 
 detector_listbox = tk.Listbox(input_frame, selectmode="multiple", exportselection=False, height=3)
 
 gps_start_entry = ttk.Entry(input_frame, width=20)
 
 gps_end_entry = ttk.Entry(input_frame, width=20)
 
 mode = tk.StringVar(value="gps_to_utc")
 
 convert_entry = ttk.Entry(conversion_frame, width=20)
 
 convert_button = ttk.Button(conversion_frame, text="Convert", command=self.convert_time)
 
 result_label = ttk.Label(conversion_frame, text="Result: ")
 
 toggle_button = ttk.Button(conversion_frame, text="Switch to UTC → GPS", command=self.toggle_mode)
 
 url_dropdown = ttk.Combobox(url_frame, state="readonly")
 
 copy_button = ttk.Button(url_frame, text="Copy URL", command=self.copy_url)
 
 save_button = ttk.Button(input_frame, text="Save Parameters", command=self.save_params)
 
 plot_frame = ttk.Frame(self.frame)
 
 fft_button
 

Detailed Description

Definition at line 1515 of file GWeasy.py.

Constructor & Destructor Documentation

◆ __init__()

GWeasy.FFT.__init__ ( self,
root )

Definition at line 1516 of file GWeasy.py.

Member Function Documentation

◆ convert_time()

GWeasy.FFT.convert_time ( self)

Definition at line 1693 of file GWeasy.py.

◆ copy_url()

GWeasy.FFT.copy_url ( self)

Definition at line 1611 of file GWeasy.py.

◆ fetch_event_details()

GWeasy.FFT.fetch_event_details ( self,
event = None )

Definition at line 1654 of file GWeasy.py.

Here is the call graph for this function:

◆ fetch_events()

GWeasy.FFT.fetch_events ( self,
event = None )

Definition at line 1638 of file GWeasy.py.

◆ fft()

GWeasy.FFT.fft ( self,
event_name,
detectors,
gps_start,
gps_end )

Definition at line 1743 of file GWeasy.py.

◆ prefetch_data()

GWeasy.FFT.prefetch_data ( self)

Definition at line 1622 of file GWeasy.py.

◆ save_params()

GWeasy.FFT.save_params ( self)
Overwrite 'gwfparams.csv' with the latest input values, including headers.

Definition at line 1713 of file GWeasy.py.

◆ toggle_mode()

GWeasy.FFT.toggle_mode ( self)

Definition at line 1684 of file GWeasy.py.

◆ update_urls()

GWeasy.FFT.update_urls ( self,
event = None )

Definition at line 1669 of file GWeasy.py.

Here is the caller graph for this function:

Member Data Documentation

◆ canvas

GWeasy.FFT.canvas = tk.Canvas(root)

Definition at line 1522 of file GWeasy.py.

◆ catalog_dropdown

GWeasy.FFT.catalog_dropdown = ttk.Combobox(input_frame, state="readonly")

Definition at line 1542 of file GWeasy.py.

◆ convert_button

GWeasy.FFT.convert_button = ttk.Button(conversion_frame, text="Convert", command=self.convert_time)

Definition at line 1582 of file GWeasy.py.

◆ convert_entry

GWeasy.FFT.convert_entry = ttk.Entry(conversion_frame, width=20)

Definition at line 1579 of file GWeasy.py.

◆ copy_button

GWeasy.FFT.copy_button = ttk.Button(url_frame, text="Copy URL", command=self.copy_url)

Definition at line 1598 of file GWeasy.py.

◆ detector_listbox

GWeasy.FFT.detector_listbox = tk.Listbox(input_frame, selectmode="multiple", exportselection=False, height=3)

Definition at line 1559 of file GWeasy.py.

◆ event_dropdown

GWeasy.FFT.event_dropdown = ttk.Combobox(input_frame, state="readonly")

Definition at line 1548 of file GWeasy.py.

◆ fetch_event_details

GWeasy.FFT.fetch_event_details = "ew")

Definition at line 1550 of file GWeasy.py.

◆ fetch_events

GWeasy.FFT.fetch_events = "ew")

Definition at line 1544 of file GWeasy.py.

◆ fft_button

GWeasy.FFT.fft_button
Initial value:
= tk.Button(root, text="Run FFT", command=lambda: self.fft(
self.catalog_dropdown.get(),[self.detector_listbox.get(i) for i in self.detector_listbox.curselection()],float(self.gps_start_entry.get()),float(self.gps_end_entry.get())))

Definition at line 1607 of file GWeasy.py.

◆ frame

GWeasy.FFT.frame = ttk.Frame(self.canvas)

Definition at line 1528 of file GWeasy.py.

◆ gps_end_entry

GWeasy.FFT.gps_end_entry = ttk.Entry(input_frame, width=20)

Definition at line 1571 of file GWeasy.py.

◆ gps_start_entry

GWeasy.FFT.gps_start_entry = ttk.Entry(input_frame, width=20)

Definition at line 1567 of file GWeasy.py.

◆ mode

GWeasy.FFT.mode = tk.StringVar(value="gps_to_utc")

Definition at line 1575 of file GWeasy.py.

◆ plot_frame

GWeasy.FFT.plot_frame = ttk.Frame(self.frame)

Definition at line 1604 of file GWeasy.py.

◆ result_label

GWeasy.FFT.result_label = ttk.Label(conversion_frame, text="Result: ")

Definition at line 1585 of file GWeasy.py.

◆ root

GWeasy.FFT.root = root

Definition at line 1517 of file GWeasy.py.

◆ run_dropdown

GWeasy.FFT.run_dropdown = ttk.Combobox(input_frame, state="readonly")

Definition at line 1554 of file GWeasy.py.

◆ save_button

GWeasy.FFT.save_button = ttk.Button(input_frame, text="Save Parameters", command=self.save_params)

Definition at line 1602 of file GWeasy.py.

◆ scroll_x

GWeasy.FFT.scroll_x = ttk.Scrollbar(root, orient="horizontal", command=self.canvas.xview)

Definition at line 1524 of file GWeasy.py.

◆ scroll_y

GWeasy.FFT.scroll_y = ttk.Scrollbar(root, orient="vertical", command=self.canvas.yview)

Definition at line 1523 of file GWeasy.py.

◆ toggle_button

GWeasy.FFT.toggle_button = ttk.Button(conversion_frame, text="Switch to UTC → GPS", command=self.toggle_mode)

Definition at line 1588 of file GWeasy.py.

◆ url_dropdown

GWeasy.FFT.url_dropdown = ttk.Combobox(url_frame, state="readonly")

Definition at line 1595 of file GWeasy.py.


The documentation for this class was generated from the following file: