示例#1
0
 def testAmoebaFitter2(self):
     options = {"temp": 10.0, "maxiter": 10000, "verbose": 1}
     stdFittertest(AmoebaFitter,
                   201,
                   errdis='gauss',
                   plot=self.doplot,
                   options=options)
示例#2
0
 def testAmoebaFitter2(self, plot=False):
     options = {"temp": 10.0, "maxiter": 10000, "verbose": 2}
     stdFittertest(AmoebaFitter,
                   201,
                   errdis='gauss',
                   plot=plot,
                   options=options)
     plt.show()
示例#3
0
 def testNewtonCgFitter(self, plot=False):
     stdFittertest(NewtonCgFitter, 201, plot=plot)
示例#4
0
 def testBfgsFitter(self, plot=False):
     stdFittertest(BfgsFitter, 201, plot=plot)
示例#5
0
 def testTrustNcgFitter(self):
     stdFittertest(TrustNcgFitter, 201, plot=self.doplot)
示例#6
0
 def testNelderMeadFitter(self, plot=False):
     stdFittertest(NelderMeadFitter,
                   201,
                   plot=plot,
                   options={"maxiter": 3000})
示例#7
0
 def testAmoebaFitter(self, plot=False):
     options = {"temp": 10.0, "maxiter": 10000}
     options = {"maxiter": 10000}
     stdFittertest(AmoebaFitter, 201, plot=plot, options=options)
示例#8
0
 def testDoglegFitter(self, plot=False):
     stdFittertest(DoglegFitter, 201, plot=plot)
示例#9
0
 def testCobylaFitter(self, plot=False):
     stdFittertest(CobylaFitter, 201, plot=plot)
示例#10
0
 def testNewtonCgFitter(self):
     stdFittertest(NewtonCgFitter, 201, plot=self.doplot)
示例#11
0
 def testBfgsFitter(self):
     stdFittertest(BfgsFitter, 201, plot=self.doplot)
示例#12
0
 def testConjugateGradientFitter(self):
     stdFittertest(ConjugateGradientFitter, 201, plot=self.doplot)
示例#13
0
 def testPowellFitter(self):
     stdFittertest(PowellFitter, 201, plot=self.doplot)
示例#14
0
 def testNelderMeadFitter(self):
     stdFittertest(NelderMeadFitter,
                   201,
                   plot=self.doplot,
                   options={"maxiter": 3000})
示例#15
0
 def testLbfgsbFitter(self, plot=False):
     stdFittertest(LbfgsbFitter, 201, plot=plot)
示例#16
0
 def testTncFitter(self, plot=False):
     stdFittertest(TncFitter, 201, plot=plot)
示例#17
0
 def testLbfgsbFitter(self):
     stdFittertest(LbfgsbFitter, 201, plot=self.doplot)
示例#18
0
 def testSlsqpFitter(self, plot=False):
     stdFittertest(SlsqpFitter, 201, plot=plot)
示例#19
0
 def testTncFitter(self):
     stdFittertest(TncFitter, 201, plot=self.doplot)
示例#20
0
 def testTrustNcgFitter(self, plot=False):
     stdFittertest(TrustNcgFitter, 201, plot=plot)
示例#21
0
 def testCobylaFitter(self):
     stdFittertest(CobylaFitter, 201, plot=self.doplot)
示例#22
0
 def testSlsqpFitter(self):
     stdFittertest(SlsqpFitter, 201, plot=self.doplot)
示例#23
0
 def testConjugateGradientFitter(self, plot=False):
     stdFittertest(ConjugateGradientFitter, 201, plot=plot)
示例#24
0
 def testPowellFitter(self, plot=False):
     stdFittertest(PowellFitter, 201, plot=plot)
示例#25
0
 def testDoglegFitter(self):
     stdFittertest(DoglegFitter, 201, plot=self.doplot)