Apr-07-2022, 01:08 AM
Could somebody please tell me why the variable 'collapse_steps' is not returned in the variable 'collapse_times'?
collapse_duration = 60.0 collapse_steps = 2 # can be changed by USER collapse_starttime = 0.0 # in second; can be changed by USER collapse_times = np.linspace(0,collapse_duration,collapse_steps) print(collapse_duration) print(collapse_steps) print(collapse_times)
Error:60.0
2
[ 0. 60.]