Text this: A fault diagnosis method for inter-turn short circuit based on magnetic field distribution