Fixed bug in rate_decline and rate_onset calculation, now matches Eric's
Problem was I was passing index_peak which is the index relative to the entire time series as "tt_peak" which is meant to be the peak index relative to the event.
Also fixe disque with intensity_max_abs and intensity_max_relThresh
Fixed bug in rate_decline and rate_onset calculation, now matches Eric's Problem was I was passing index_peak which is the index relative to the entire time series as "tt_peak" which is meant to be the peak index relative to the event. Also fixe disque with intensity_max_abs and intensity_max_relThresh