Beispiel #1
0
 def _setup(self):
     self.observation = createObservation(self.config, self.lon, self.lat)
     self.source = createSource(self.config,
                                'scan',
                                lon=self.lon,
                                lat=self.lat)
     loglike = LogLikelihood(self.config, self.observation, self.source)
     self.grid = GridSearch(self.config, loglike)
Beispiel #2
0
def createGridSearch(config, lon, lat):
    config = Config(config)
    obs = createObservation(config, lon, lat)
    src = createSource(config, 'scan', lon=lon, lat=lat)
    loglike = LogLikelihood(config, obs, src)
    return GridSearch(config, loglike)
Beispiel #3
0
def createGridSearch(config,lon,lat):
    config = Config(config)
    obs = createObservation(config,lon,lat)
    src = createSource(config,'scan',lon=lon,lat=lat)
    loglike=LogLikelihood(config,obs,src)
    return GridSearch(config,loglike)
Beispiel #4
0
 def _setup(self):
     self.observation = createObservation(self.config,self.lon,self.lat)
     self.source = createSource(self.config,'scan',lon=self.lon,lat=self.lat)
     loglike=LogLikelihood(self.config,self.observation,self.source)
     self.grid = GridSearch(self.config,loglike)