Downsample

These are the commits that implement downsampling when importing instrument data.
Dunno - fixed!