orbithunter.OrbitKS.orbit_vector

OrbitKS.orbit_vector()

Vector representation of Orbit instance; constants all variables required to define the Orbit instance.

Returns
ndarray :

The state vector: the current state with parameters appended, returned as a (self.size + n_params , 1) axis of dimension 1 for scipy purposes.

Notes

Parameters only need to be bundled into a tuple. There is no requirement that elements must be scalars. Any type which can be cast as a numpy array and has numeric values is allowed, technically, but scalars are recommended. If non-scalar parameters are used, user will need to overwrite the Orbit.from_numpy_array() method.