Overwritting `peaks`
In extractGsrFeatures in gsr.py peaks
are first calculated using calcPeakFeatures
.
Some rows later, this object is reassigned to be one of the outputs of get_peak_intervals
.
More confusingly, this happens after some of the peak-related features had already been calculated.