Ejemplo n.º 1
0
 def __init__(self, model):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, True)
     self.model = model
     
Ejemplo n.º 2
0
 def __init__(self, file_string):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
     self.file_name = file_string
     self.file_sources = []
Ejemplo n.º 3
0
 def __init__(self, num_right_asc_lines, num_dec_lines):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
     self.num_RA_sources = num_right_asc_lines
     self.num_De_sources = num_dec_lines
Ejemplo n.º 4
0
 def __init__(self, file_string):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
     self.file_name = file_string
     self.file_sources = []
Ejemplo n.º 5
0
 def __init__(self, num_right_asc_lines, num_dec_lines):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
     self.num_RA_sources = num_right_asc_lines
     self.num_De_sources = num_dec_lines
     
Ejemplo n.º 6
0
    def __init__(self, model):
        '''
        Constructor
        '''
        SourceLayer.__init__(self, True)

        self.showers = []
        self.model = model
        self.initialize_showers()
Ejemplo n.º 7
0
 def __init__(self, model):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, True)
     
     self.showers = []
     self.model = model
     self.initialize_showers()
     
Ejemplo n.º 8
0
 def initialize(self):
     # Need to execute this in a background thread
     self.read_source_file(self.file_name)
     SourceLayer.initialize(self)
Ejemplo n.º 9
0
 def __init__(self):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
Ejemplo n.º 10
0
 def initialize(self):
     # Need to execute this in a background thread
     self.read_source_file(self.file_name)
     SourceLayer.initialize(self)
Ejemplo n.º 11
0
 def __init__(self):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)