Digital acquisition and processing of partial discharges during acceptance test of HV transformers