예제 #1
0
 def xresample(self):
     """
     Resample all the x-particles according to their weights.
     """
     self.xparticles[...] = resample2D(self.xparticles, self.xweights,
                                       self.Nx, self.statedimension,
                                       self.Ntheta)
예제 #2
0
 def xresample(self):
     """
     Resample all the x-particles according to their weights.
     """
     self.xparticles[...] = resample2D(self.xparticles, self.xweights, self.Nx, self.statedimension, self.Ntheta)
예제 #3
0
 def xresample(self):
     self.xparticles[...] = resample2D(self.xparticles, self.xweights, self.Nx, self.statedimension, self.Ntheta)
예제 #4
0
 def xresample(self):
     self.xparticles[...] = resample2D(self.xparticles, self.xweights,
                                       self.Nx, self.statedimension,
                                       self.Ntheta)