LMOptimizer
- class ssapy.rvsampler.LMOptimizer(probfn, initRV, fracstep=[1e-08, 1e-08, 1e-08, 1e-09, 1e-09, 1e-09], absstep=[1, 1, 1, 1e-06, 1e-06, 1e-06], orbitattr=None)[source][source]
Bases:
object
Optimizer that employs Levenberg-Marquardt least-squares fitting.
- Parameters:
probfn (RVProbability) – The RVProbability object that has both an epoch attribute to use for the orbit fitting model, and a chi method to use for the fit evaluation.
initRV (array_like (6,)) – Initial position and velocity. Essentially a single output from one of the initializers above.
- result[source]
Most recently run result object. Could be useful for inspecting error estimates or success/failure conditions.
- Type:
lmfit.MinimizerResult
Methods Summary
optimize
([usejac])Run the optimizer and return the resulting fit parameters.
Methods Documentation