The application of neutron spin echo on pulsed neutron sources