modify fig_pulse function for multi-pulse
add KROTOV method