Esempio n. 1
0
    def __init__(self, options, title="Hydra Control GUI", **kwargs):
        # check for default options before continuing with constructor
        default_control_setup.check_options(options)
        self.verbose = options.verbose
        self.options = options

        self.phy = None
        self.mpif = None
        self.constellation = None
        self.channel = None
        window.__init__(self, title=title, **kwargs)
    def __init__(self, center, width, ref_center=None, ref_width=None, time=None, periodic_length = None, max_list_size=100, initial_conditions=[], initial_conditions_probability=0.0, a=0.0):
        """
        Create and instance of the pyramid at a center, given a width in each dimension.
        """

        # call parent constructor
        window.__init__(self, center, width, ref_center=ref_center, ref_width=ref_width, time=time, periodic_length = periodic_length, max_list_size=max_list_size, initial_conditions=initial_conditions, initial_conditions_probability=initial_conditions_probability, a=a)

        # We calculate the slope of the pyramid.
        self.slopes = 1.0/self.width

        return None
Esempio n. 3
0
 def __init__(self, title="Hydra Constellation", **kwargs):
     self.nplot = 0
     self.plot = []  # contains pointer to plot
     window.__init__(self, title=title, **kwargs)
Esempio n. 4
0
 def __init__(self, client, title="Address Client GUI", **kwargs):
     self.client = client
     self.addrlist = []
     window.__init__(self, title=title, **kwargs)