differentiate the long pulse and short pulse