I have a series of pulses which I have added a dashed line through the peak position. The indices of these peaks are in a list;
peaks = [13352, 53198, 93037,