orbithunter.core.Orbit.constrain

Orbit.constrain(*labels)[source]

Set self constraints based on labels provided.

Parameters
labelsstr or tuple of str
Returns
None

Notes

Does not maintain other constraints when constraining unless they are provided as labels. This is to avoid the requirement for an “unconstrain” method. If more constraints are to be maintained then just include them in labels.

Parameters not in the default constraints dict will always be assumed to be constrained. This is important for optimization methods, in the instance where you have constant parameters required to evaluation the governing equations.