An arrangement comprising: an electrical pulse generating module configured to generate at least one electrical pulse; and a transformer electrically connected to the electrical pulse generating module and configured to receive the at least one electrical pulse generated by the at least one electrical pulse generating module; the electrical pulse generating module comprising: a power supply; an electrical energy storage module configured to be charged or discharged, the electrical energy storage module being electrically connected to the transformer; a switch unit configured to be controllably switchable between at least a conducting state and a non-conducting state, wherein the switch unit is electrically connected to the power supply and the electrical energy storage module, respectively, such that when the switch unit is switched into the non-conducting state, the power supply charges the electrical energy storage module by way of a charging current supplied by the power supply, and when the switch unit is switched into the conducting state, the electrical energy storage module is discharged so as to create an electrical pulse to be received by the transformer; and a flyback protection unit electrically connected to the switch unit and configured to protect the switch unit against flyback upon the switch unit being switched into the non-conducting state; wherein the flyback protection unit forms a current path that bypasses the transformer, and wherein the flyback protection unit is configured such that a relation between the voltage drop across the flyback protection unit for the charging current and the voltage drop across the transformer for the charging current is such so as to cause the charging current to be directed via the transformer at least to some extent; characterized in that the flyback protection unit comprises at least one series connection of diodes, and wherein the number of diodes in the at least one series connection of diodes is chosen such that the voltage drop across the at least one series connection of diodes for the charging current is larger than the voltage drop across the transformer for the charging current. an electrical pulse generating module configured to generate at least one electrical pulse; and a transformer electrically connected to the electrical pulse generating module and configured to receive the at least one electrical pulse generated by the at least one electrical pulse generating module; the electrical pulse generating module comprising: a power supply; an electrical energy storage module configured to be charged or discharged, the electrical energy storage module being electrically connected to the transformer; a switch unit configured to be controllably switchable between at least a conducting state and a non-conducting state, wherein the switch unit is electrically connected to the power supply and the electrical energy storage module, respectively, such that when the switch unit is switched into the non-conducting state, the power supply charges the electrical energy storage module by way of a charging current supplied by the power supply, and when the switch unit is switched into the conducting state, the electrical energy storage module is discharged so as to create an electrical pulse to be received by the transformer; and a flyback protection unit electrically connected to the switch unit and configured to protect the switch unit against flyback upon the switch unit being switched into the non-conducting state; a power supply; an electrical energy storage module configured to be charged or discharged, the electrical energy storage module being electrically connected to the transformer; a switch unit configured to be controllably switchable between at least a conducting state and a non-conducting state, wherein the switch unit is electrically connected to the power supply and the electrical energy storage module, respectively, such that when the switch unit is switched into the non-conducting state, the power supply charges the electrical energy storage module by way of a charging current supplied by the power supply, and when the switch unit is switched into the conducting state, the electrical energy storage module is discharged so as to create an electrical pulse to be received by the transformer; and a flyback protection unit electrically connected to the switch unit and configured to protect the switch unit against flyback upon the switch unit being switched into the non-conducting state; wherein the flyback protection unit forms a current path that bypasses the transformer, and wherein the flyback protection unit is configured such that a relation between the voltage drop across the flyback protection unit for the charging current and the voltage drop across the transformer for the charging current is such so as to cause the charging current to be directed via the transformer at least to some extent; characterized in that the flyback protection unit comprises at least one series connection of diodes, and wherein the number of diodes in the at least one series connection of diodes is chosen such that the voltage drop across the at least one series connection of diodes for the charging current is larger than the voltage drop across the transformer for the charging current.