Compute rate between samples

Use a filter to format them.