Motor excitability was assessed by measuring the frequency power magnitude of the EEG rhythmic activity associated with physical execution of wrist extension before and after the motor imagery-based mental practice training .