passing dt to the python function micro_step