def resample (   self  ) 

Take a new sample of the data for resampling/bootstrapping. can be put in the main arrays.

Definition at line 474 of file fitting_toolkit.py.

00474                       :
00475         "resample() randomly draws a set of points equal in size to the original set from the cached data for bootstrapping"
00476         assert hasattr(self, "saved_xarray"), "resampling not set up yet.  Call setup_resampling() first."
00477         ranlist=Numeric.floor(self.get_random_list(self.pointcount)*self.pointcount).astype(Numeric.Int)
00478         self.xarray=Numeric.take(self.saved_xarray, ranlist, -1) #take columns since vectors lie this way
00479         self.yarray=Numeric.take(self.saved_yarray, ranlist)
00480         self.firstpass=1
00481     
    ## 


Generated on Wed Nov 21 10:18:32 2007 for analysis by  doxygen 1.5.4