check_dt function

(Shortest import: from brian2.core.clocks import check_dt)

brian2.core.clocks.check_dt(new_dt, old_dt, target_t)[source]

Check that the target time can be represented equally well with the new dt.