EthanJamesLew / AutoKoopman

AutoKoopman - automated Koopman operator methods for data-driven dynamical systems analysis and control.
GNU General Public License v3.0
53 stars 10 forks source link

question about how to generate the trajectory data with control input #91

Open Bing008 opened 1 month ago

Bing008 commented 1 month ago

Dear Ethan,

Thanks for your autokoopman tool. It is very helpful for my research.

I want to import the trajectory data simulated by Matlab/Simulink. However, I can not write the corresponding module like the fhn built-in autokoopman. I am trying to import the trajectory data by myself. I use the code as follows: training_data2_2 = ak.TrajectoriesData({key: ak.Trajectory(np.arange(1,101), np.random.rand(len(np.arange(1,101)), 3), np.random.rand( len(np.arange(1,101)), 3)) for key in range(10)}) # just an example

Compared with this code, I'd like to import the data with the function ".from_csv". But how to formulate the control input data in the CSV file?