Esempio n. 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)
Esempio n. 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)
Esempio n. 3
0
 def xresample(self):
     self.xparticles[...] = resample2D(self.xparticles, self.xweights, self.Nx, self.statedimension, self.Ntheta)
Esempio n. 4
0
 def xresample(self):
     self.xparticles[...] = resample2D(self.xparticles, self.xweights,
                                       self.Nx, self.statedimension,
                                       self.Ntheta)