heat_transfer_gui.py
def send_smoothing_option(self, option: str):
        """
        Moderating the connection between this GUI thread and calculation thread
            according the smoothing options after simulation finishes

        Args:
            option ... which supported command to send to a smoothing function
        """

        if option == "finish":
            # Sends the signal the smoothing has finished
            print("smoothing finished")
            self.queue.put("stop")
            # Hide the smoothing options
            self.clear_layout(self.smooth_layout_labels)
            self.clear_layout(self.smooth_layout_buttons)
            self.clear_layout(self.smooth_layout_radios)
        elif option == "back":
            self.queue.put("back")
        elif option == "smooth":
            # Including the window length and specific smoothing algorithm
            command = "smooth__{}__{}".format(self.window_length_input.text(),
                self.get_current_smoothing_algorithm())
            print("command", command)
            self.queue.put(command)

        Moderating the connection between this GUI thread and calculation thread
            according the smoothing options after simulation finishes

        Args:
            option ... which supported command to send to a smoothing function
        
Moderating the connection between this GUI thread and calculation thread
according the smoothing options after simulation finishes

option ... which supported command to send to a smoothing function
Moderating the connection between this GUI thread and calculation thread according the smoothing options after simulation finishes option ... which supported command to send to a smoothing function
def send_smoothing_option(self, option: str):
        if option == "finish":
            print("smoothing finished")
            self.queue.put("stop")
            self.clear_layout(self.smooth_layout_labels)
            self.clear_layout(self.smooth_layout_buttons)
            self.clear_layout(self.smooth_layout_radios)
        elif option == "back":
            self.queue.put("back")
        elif option == "smooth":
            command = "smooth__{}__{}".format(self.window_length_input.text(),
                self.get_current_smoothing_algorithm())
            print("command", command)
            self.queue.put(command)
def send_smoothing_option ( self , option : str ) : if option == "finish" : print ( "smoothing finished" ) self . queue . put ( "stop" ) self . clear_layout ( self . smooth_layout_labels ) self . clear_layout ( self . smooth_layout_buttons ) self . clear_layout ( self . smooth_layout_radios ) elif option == "back" : self . queue . put ( "back" ) elif option == "smooth" : command = "smooth__{}__{}" . format ( self . window_length_input . text ( ) , self . get_current_smoothing_algorithm ( ) ) print ( "command" , command ) self . queue . put ( command )
Moderating the connection between this GUI thread and calculation thread
according the smoothing options after simulation finishes
Moderating the connection between this GUI thread and calculation thread according the smoothing options after simulation finishes
"""
        Moderating the connection between this GUI thread and calculation thread
            according the smoothing options after simulation finishes

        Args:
            option ... which supported command to send to a smoothing function
        """ # Sends the signal the smoothing has finished # Hide the smoothing options # Including the window length and specific smoothing algorithm
self
option
str