Figure 2—Maximum and minimum samples are held for use when determining both the number of samples between maximum peaks (beats per minute) and the ratio of the AC count and the DC count.