Influence of the capillary on the ignition of the transient spark discharge