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