コード例 #1
0
ファイル: HorizonLayer.py プロジェクト: NBor/SkyPython
 def __init__(self, model):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, True)
     self.model = model
     
コード例 #2
0
ファイル: FileBasedLayer.py プロジェクト: NBor/SkyPython
 def __init__(self, file_string):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
     self.file_name = file_string
     self.file_sources = []
コード例 #3
0
ファイル: GridLayer.py プロジェクト: NBor/SkyPython
 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
コード例 #4
0
ファイル: FileBasedLayer.py プロジェクト: NBor/SkyPython
 def __init__(self, file_string):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
     self.file_name = file_string
     self.file_sources = []
コード例 #5
0
ファイル: GridLayer.py プロジェクト: NBor/SkyPython
 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
     
コード例 #6
0
    def __init__(self, model):
        '''
        Constructor
        '''
        SourceLayer.__init__(self, True)

        self.showers = []
        self.model = model
        self.initialize_showers()
コード例 #7
0
ファイル: MeteorShowerLayer.py プロジェクト: NBor/SkyPython
 def __init__(self, model):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, True)
     
     self.showers = []
     self.model = model
     self.initialize_showers()
     
コード例 #8
0
ファイル: FileBasedLayer.py プロジェクト: NBor/SkyPython
 def initialize(self):
     # Need to execute this in a background thread
     self.read_source_file(self.file_name)
     SourceLayer.initialize(self)
コード例 #9
0
ファイル: EclipticLayer.py プロジェクト: NBor/SkyPython
 def __init__(self):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)
コード例 #10
0
ファイル: FileBasedLayer.py プロジェクト: NBor/SkyPython
 def initialize(self):
     # Need to execute this in a background thread
     self.read_source_file(self.file_name)
     SourceLayer.initialize(self)
コード例 #11
0
ファイル: EclipticLayer.py プロジェクト: NBor/SkyPython
 def __init__(self):
     '''
     Constructor
     '''
     SourceLayer.__init__(self, False)