Diagnosis of local demagnetization faults in PMSM based on CWT and radial leakage magnetic flux | Synapse