Downsample

These are the commits that implement downsampling when importing instrument data.
I updated this case.