tudatpy.util

Functions

result2array(result)[source]

Initial prototype function to convert dict result from DynamicsSimulator

Parameters

result (Dict[float, np.ndarray]) – Dictionary mapping the simulation time steps to the propagated state time series.

Returns

array – Array of converted results. First column is time.

Return type

numpy.ndarray