- property BaseTimeSimulation.time_steps#
The time steps for the time domain simulation.
You can set as an array of dt’s or as a list of tuples/floats. If it is set as a list, tuples are unpacked with discretize.utils.unpack_widths`.
For example, the following setters are the same:
>>> sim.time_steps = [(1e-6, 3), 1e-5, (1e-4, 2)] >>> sim.time_steps = np.r_[1e-6,1e-6,1e-6,1e-5,1e-4,1e-4]