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)
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)
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)
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)