SGP4LMOptimizer
- class ssapy.rvsampler.SGP4LMOptimizer(probfn, initel, fracstep=[1e-08, 1e-08, 1e-08, 1e-08, 1e-08, 1e-08], absstep=[100, 1e-05, 1e-05, 0.0001, 0.0001, 0.0001])[source][source]
Bases:
object
Optimizer that employs Levenberg-Marquardt least-squares fitting and fits in Kozai mean Keplerian element space.
- 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.
initel (array_like (6,)) – Initial Kozai mean Keplerian elements.
- result[source]
Most recently run result object. Could be useful for inspecting error estimates or success/failure conditions.
- Type:
lmfit.MinimizerResult
Methods Summary
optimize
(**fit_kws)Run the optimizer and return the resulting fit parameters.
Methods Documentation