def dtfactor(dose, step_size, current, speed=6):
    """return the dwelltime factor (dt/dt0).
    dose in µC/cm²; step_size in nm; current in pA and speed in MHz."""
    return speed * step_size ** 2 * dose / current / 100
