I have the following code:
dt = .001 # simulation time step (seconds) T = 1.0 # total time to simulate (seconds) time = np.linspace(dt,T,dt/T)