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